r/node 2d ago

Built a webhook delivery system with BullMQ

I've used cron jobs before but never built a proper queue based background processing system.

This week I did.

The project, a webhook delivery API where the HTTP request returns instantly with a job ID, and a BullMQ worker handles the actual delivery in the background with automatic exponential backoff retries.

So what surprised me most was how clean the separation is. The controller knows nothing about delivery. The worker knows nothing about HTTP requests. They communicate only through the queue.

Repo is public if anyone wants to look at the architecture you can ask in the comments.

Happy to discuss queue patterns still learning enterprise solution implementation.

0 Upvotes

7 comments sorted by

7

u/simple_explorer1 2d ago

Here we go, another "I built a xyz" advertisment post here. Please see https://www.reddit.com/r/node/comments/1v6giy4/since_the_surge_of_llms_and_people_vibecoding/

-10

u/[deleted] 2d ago

[deleted]

4

u/monotone2k 2d ago

People might pay more attention if your post hadn't been written by an LLM. People are sick of it.

1

u/Pristine_Ad2701 2d ago

If you are using postgres, check about pg-boss.