Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

From Laravel Horizon to BullMQ: Build a Job Queue in TypeScript

DEV Community·Gabriel Anhaia·30 days ago
#Ayk0EHmj
#typescript#php#laravel#bullmq#queue#horizon
Reading 0:00
15s threshold

Book: PHP to TypeScript Also by me: The TypeScript Library — the 5-book collection My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub php artisan queue:work boots a long-running PHP process that pulls jobs out of Redis. Open /horizon in your browser and there it all is: throughput, runtime per queue, failures with the payload, retry button. The whole queue story is one Laravel package the framework already knew how to find. Open the TypeScript project next to it and the shape changes. There is no queue:work . There is a bullmq dependency, a worker.ts booted by node , and a producer.ts the HTTP server imports. There is no dashboard at /horizon because there is no framework owning a route called /horizon . Bull Board exists, but you mount it yourself, behind whatever auth you wire up. The reflex is to ask which package is "the same as Horizon." There isn't one. BullMQ is closer to Ruby's Sidekiq. Redis is the queue.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More