zlacker

[return to "Do you really need Redis? How to get away with just PostgreSQL"]
1. dutchb+kp[view] [source] 2021-06-12 11:47:48
>>hyzyla+(OP)
Why use Redis when you have more suitable solutions like RabbitMQ or Kafka?

Obviously depends on the scale and needs of a project, Postgres etc is fine for simple queues.

I often see people waste unnecessary time by writing their own complex solutions, resulting in increasing technical debt, when you already have perfectly suitable open source options available that do a better job..

◧◩
2. brentj+Au[view] [source] 2021-06-12 12:56:56
>>dutchb+kp
I have had two separate benefits from using just Postgres in apps:

1. It’s one tool to learn. No need to upskill on topics, partitions, consumer groups, routers, brokers, etc. 2. It’s one transaction boundary. You get a lot of “magic” for free when you know that a rollback will not only revert application state but also NOTIFY events published and queue jobs in flight. This alone makes Postgres a powerful option.

[go to top]