|
|
|
|
|
by dpedu
838 days ago
|
|
How would the architecture in the OP mesh with master-slave postgres setups? If I write a cache item how can I be certain the freshest entry is read back from the read-only slave? Can/do I pay a performance penalty on writes waiting for it to be synchronized? Is it better, when it comes to caching, to ignore the slave and send all read/write cache related queries to the master? All of these questions go away or are greatly simplified with redis. |
|
Similarly to Postgres, Redis replication is also async, which means that replicas can be out-of-sync for a brief period of time.