Bee-Queue
A simple, fast, robust job/task queue for Node.js, backed by Redis. (by bee-queue)
The gist
BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis (by taskforcesh)
Our great sponsors
Bee-Queue | The gist | |
---|---|---|
6 | 26 | |
3,619 | 5,212 | |
2.0% | 5.4% | |
8.5 | 9.7 | |
5 days ago | about 18 hours ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Bee-Queue
Posts with mentions or reviews of Bee-Queue.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
Node.js backend architecture question
You could use a Redis based job system like https://github.com/bee-queue/bee-queue for maintenance and email. The jobs could be populated by the API service, some cron scripts, and whatever else, while you'd have dedicated worker processes (written in Node.js?) pulling the jobs and running them.
-
Building a task queue, Part 1
The Node.js libraries BullMQ and Bee Queue are also infrastructure and interface. However, you typically have to use their interface.
-
Scaling synchronous microservices
I'm a fan of bee-queue for this when working in Node, but it's just a wrapper around reliable queue patterns in Redis; you might want to investigate how it works (the readme is quite good) for your own use case, or find an equivalent for your environment. The key is it's designed for short tasks (seconds long, not minutes or hours), and you can receive a result back from the task unlike some fire-and-forget queueing solutions.
-
[Question] API routes and worker_threads
I'd also consider something like bee-queue, which would enable you to scale across processes or even across multiple server machines.
-
NodeJS recommended job queue/message queue??
For NodeJS, there are BullMQ(successor of Bull), Bull and Bee Queue
-
[AskJS] How do you do JS on the backend?
bee-queue for offloading tasks onto non-web-server machines
The gist
Posts with mentions or reviews of The gist.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
Object Narrowing in Typescript with Graphile Worker
Graphile worker has been great for me because it's a library that works with Postgres that allows me to queue jobs and execute them on the server without adding too many additional layers of complexity for being able to accomplish async tasks. (I'm aware of how popular bull is, but I don't want to add another data-store only for async tasks)
-
Job Schedulers for Node: Bull or Agenda?
Bull is currently in maintenance mode, we are only fixing bugs. For new features check BullMQ, a modern rewritten implementation in Typescript. You are still very welcome to use Bull if it suits your needs, which is a safe, battle-tested library.
-
Are there any generally accepted standards for inter-microservice communication? Or does everyone just go it their own?
I use bullmq with node
-
Next.js background jobs
You might consider using a queue for processing the request. I've found bullMQ, which works with Redis, to be a nice developer experience.
-
What is a good background scheduler?
BullMQ is a pretty solid choice: https://github.com/taskforcesh/bullmq It's the successor of Bull: https://github.com/OptimalBits/bull
-
How to schedule tasks in a Node.js app 🕙
BullMQ
-
First time building microservice-based application
For Node.JS you can use something like BullMQ (https://github.com/taskforcesh/bullmq) and then dispatch jobs to the message queue with your worker handling the jobs. You can read about an example for Bull MQ here (https://deadsimplechat.com/blog/best-nodejs-schedulers/#2-bull)
-
Is my health check endpoint good enough?
bullmq seems like an open issue
-
Help implementing Heroku Data For Redis (+bull & throng) / `ioredis`
In order to try and mitigate the OOMs. I read the Background Jobs in Node.JS with Redis blog post and implemented Heroku Data For Redis with ioredis, BullMQ and Throng,
- BullMQ – fastest, most reliable, Redis-based distributed queue for Node
What are some alternatives?
When comparing Bee-Queue and The gist you can also consider the following projects:
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
kue - Kue is a priority job queue backed by redis, built for node.js.
better-queue - Better Queue for NodeJS
Qedis
RedisSMQ - A simple high-performance Redis message queue for Node.js.
node-resque - Node.js Background jobs backed by redis.
node-express-boilerplate - A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
bree - Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
piscina - A fast, efficient Node.js Worker Thread Pool implementation