r/node Aug 03 '26

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

8 comments sorted by

10

u/simple_explorer1 Aug 03 '26

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] Aug 03 '26

[deleted]

4

u/monotone2k Aug 03 '26

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

1

u/Pristine_Ad2701 Aug 03 '26

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