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. (by breejs)
The gist
BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis (by taskforcesh)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
bree | The gist | |
---|---|---|
11 | 26 | |
2,872 | 5,233 | |
0.8% | 3.5% | |
6.8 | 9.7 | |
7 days ago | 5 days ago | |
JavaScript | TypeScript | |
MIT License | 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.
bree
Posts with mentions or reviews of bree.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-04.
-
Can I make NodeJS app loop forever?
If you only need a single instance, you can use Bree to handle your cron jobs without blocking your main thread.
- What is a good background scheduler?
-
Review: node-cron
Been using https://github.com/hexagon/croner and https://github.com/breejs/bree depending on the use case, both are currently being maintained.
- How are you doing recurring jobs & queued jobs in Node?
- Looking for know how on managing Cron Jobs
-
Scheduling tasks in NodeJS with cron job
Bree is another package with support for workers threads and cron syntax. But for the purpose of this article, we will stick to node-cron. So let's run a simple example:
-
Beware of Promise.all
For more advanced use cases, you might want to look into using a full-featured job queue instead like bree, bull, or agenda.
- What software could be used for scheduling and monitoring routine workflows?
-
What can I use to schedule e-mails after a given date?
An impressive scheduling package I use is called Bree: https://github.com/breejs/bree
-
Alternative to setInterval?
Bree is a super cool cron like scheduler that uses workers to run jobs https://github.com/breejs/bree
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 bree and The gist you can also consider the following projects:
node-cron - A simple cron-like job scheduler for Node.js
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
node-cron - Cron for NodeJS.
Bee-Queue - A simple, fast, robust job/task queue for Node.js, backed by Redis.
piscina - A fast, efficient Node.js Worker Thread Pool implementation
better-queue - Better Queue for NodeJS
RedisSMQ - A simple high-performance Redis message queue for Node.js.
agenda - Lightweight job scheduling for Node.js
kue - Kue is a priority job queue backed by redis, built for node.js.
mongodb-cron - MongoDB collection as crontab
node-resque - Node.js Background jobs backed by redis.