Greenstand / treetracker-infrastructure

Our cloud infrastructure.
GNU General Public License v2.0
20 stars 26 forks source link

Use Postgresql to replace rabbitMQ #229

Closed dadiorchen closed 3 months ago

dadiorchen commented 9 months ago

We planned to use rabbitMQ as our message queue, but it is too heavy for our case and requires extra tech learning and maintaince and cloud engineering for us. So we decide to use a more lightweight solution, use postgresql to handle the message queue

References: https://news.ycombinator.com/item?id=35526846 https://github.com/timgit/pg-boss?tab=readme-ov-file https://www.prequel.co/blog/sql-maxis-why-we-ditched-rabbitmq-and-replaced-it-with-a-postgres-queue