Comment

Ozz Nixon

Ridiculous Comparison!

REDIS is RAM based... PG or most every other SQL server is DISK based.

Replies

Peter Bengtsson

Not really. Redis is disk persistent too. Nothing is lost of your turn it off and restart the server.

Ozz Nixon

Redis transactions are not fully ACID compliant ( Atomicity, Consistency, Isolation, and Durability). If ACID transactions are expected, Redis is not the perfect fit and should not be used. An RDBMS or another database system should be used in those scenarios.
Feb 25, 2019

Just because REDIS can "Flush to disk" in the background - does not make it an RDBMS system. This technique is how they can say "Disk persistent"... but, if you add to the DB and pull the power - at the exact moment the data parser acknowledges the add - REDIS will lose the data period. This is now to say REDIS sucks, just that you are comparing a RAM DB vs a DISK DB.