zlacker

[parent] [thread] 1 comments
1. dutchb+(OP)[view] [source] 2021-06-12 11:47:48
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..

replies(1): >>brentj+g5
2. brentj+g5[view] [source] 2021-06-12 12:56:56
>>dutchb+(OP)
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]