DEV Community

Discussion on: Preparing your Postgres data for scale-out

Collapse
 
gr3kidd3r profile image
Masked Man

You mentioned Redis in the final section, but how come? Should I queue every write operation and feed it to the database in a constant speed?

Collapse
 
nexovec profile image
nexovec • Edited

I suspect that referred mainly to caching and batching read queries, as opposed to writes, because with writes you'd lose ACID - some of the operations might fail. With reads, your cache may be outdated, but it won't break your data