Sql

A collection of 1 post

Architecture diagram for async service. It shows a service communicating to async service with an HTTP call. Async service stores that data in a postgres database, and then sends out messages to rabbitmq. There are 3 queues in the diagram, one for each job type. An arrow from the queue indicates that a worker listens to the queue to process the job item. Finally, there is an arrow from the worker back to async service to claim the job, as well as to store the results

Introducing Async Service

Technology

Distributed tasks with Postgres & Rabbitmq TL;DR: Check out the code here At my workplace, we needed a mechanism to: Have service A tell service B to start executing long-running tasks, with notifications upon completion ...

Read more ⟶
Architecture diagram for async service. It shows a service communicating to async service with an HTTP call. Async service stores that data in a postgres database, and then sends out messages to rabbitmq. There are 3 queues in the diagram, one for each job type. An arrow from the queue indicates that a worker listens to the queue to process the job item. Finally, there is an arrow from the worker back to async service to claim the job, as well as to store the results

Introducing Async Service

Technology

Distributed tasks with Postgres & Rabbitmq TL;DR: Check out the code here At my workplace, we needed a mechanism to: Have service A tell service B to start executing long-running tasks, with notifications upon completion ...

Read more ⟶
Architecture diagram for async service. It shows a service communicating to async service with an HTTP call. Async service stores that data in a postgres database, and then sends out messages to rabbitmq. There are 3 queues in the diagram, one for each job type. An arrow from the queue indicates that a worker listens to the queue to process the job item. Finally, there is an arrow from the worker back to async service to claim the job, as well as to store the results

Introducing Async Service

Technology

Distributed tasks with Postgres & Rabbitmq TL;DR: Check out the code here At my workplace, we needed a mechanism to: Have service A tell service B to start executing long-running tasks, with notifications upon completion ...

Read more ⟶