3 ms·
> PG works really well as a message queue It's also worth noting that by using PG as a message queue, you can do something that's nearly impossible with other
by stickfigure 3y ago
> PG works really well as a message queue
It's also worth noting that by using PG as a message queue, you can do something that's nearly impossible with other queues - transactionally enqueue tasks with your database operations. This can dramatically simplify failure logic.
On the other hand, it also means replacing your message queue with something more scalable is no longer a simple drop-in solution. But that's work you might never have to do.
- johnthescott 3y agoyep.