by andrewstuart · 2y ago · 0 comments
Postgres or SQLite for example.
What does a car do that you can't trivially do with something else ? Like a boat or an airplane ?
You simply cannot compare an in-memory Key-Value store, to a RDBS. And that's on a conceptual level. If you then consider performance, network latency and the guarantees, we're absolutely comparing airplanes to donkeys: You wouldn't use an airplane to climb up a rough mountain, and you certainly wouldn't prefer a donkey to travel to the other side of the world.
On the other hand Redis is a bad database so I would say the use cases don't overlap.
SQLite supports atomic operations - the key requirement of a message queue.