OptimalBits /bull

Premium Queue package for handling distributed jobs and messages in NodeJS.

★ 16,266⑂ 1,391👁 108⑃ 760● 1,854▤ 87
JavaScriptNOASSERTIONCreated 2013-06-27
下载:v4.16.5v4.16.5 ↓4.16.52024-12-18
+1
日增长
16,266
stars
1,391
forks
108
watchers
760
prs
1,854
issues
87
releases

README

The fastest, most reliable, Redis-based queue for Node. 
    Carefully written for rock solid stability and atomicity.
  
  
  
    Sponsors ·
    Features ·
    UIs ·
    Install ·
    Quick Guide ·
    Documentation
  
  Check the new Guide!
  
  
    
      
    
    
      
    
    
      
    
    
      
    
    
      
    
    
      
    
        
      
    
  


 🚀 Sponsors 🚀


  
    
      
        
      
    
    
      Dragonfly is a new Redis™ drop-in replacement that is fully compatible with BullMQ and brings some important advantages over Redis™ such as massive
      better performance by utilizing all CPU cores available and faster and more memory efficient data structures. Read more here on how to use it with BullMQ.
    
  


 📻 News and updates

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.

Follow me on Twitter for other important news and updates.

 🛠 Tutorials

You can find tutorials and news in this blog: https://blog.taskforce.sh/

---

 Used by

Bull is popular among large and small organizations, like the following ones:


  
    
      
        
    
    
      
        
    
    
      
        
    
    
      
        
    
    
      
        
    

  


---

---

 Official FrontEnd



Supercharge your queues with a professional front end:
- Get a complete overview of all your queues.
- Inspect jobs, search, retry, or promote delayed jobs.
- Metrics and statistics.
- and many more features.

Sign up at Taskforce.sh

---

 Bull Features

- [x] Minimal CPU usage due to a polling-free design.
- [x] Robust design based on Redis.
- [x] Delayed jobs.
- [x] Schedule and repeat jobs according to a cron specification.
- [x] Rate limiter for jobs.
- [x] Retries.
- [x] Priority.
- [x] Concurrency.
- [x] Pause/resume—globally or locally.
- [x] Multiple job types per queue.
- [x] Threaded (sandboxed) processing functions.
- [x] Automatic recovery from process crashes.

And coming up on the roadmap...

- [ ] Job completion acknowledgement (you can use the message queue pattern in the meantime).
- [ ] Parent-child jobs relationships.

---

 UIs

There are a few third-party UIs that you can use for monitoring:

BullMQ

- Taskforce

Bull v3

- Taskforce
- bull-board
- bull-repl
- bull-monitor
- Monitoro

Bull <= v2

- Matador
- react-bull
- Toureiro

---

 Monitoring & Alerting

- With Prometheus Bull Queue Exporter

---

 Feature Comparison

Since there are a few job queue solutions, here is a table comparing them:

| Feature                   |   BullMQ-Pro    |     BullMQ      |      Bull       |  Kue  | Bee      | Agenda |
| :------------------------ | :-------------: | :-------------: | :-------------: | :---: | -------- | ------ |
| Backend                   |      redis      |      redis      |      redis      | redis | re

Top issues

Discussions

Latest release

v4.16.5 v4.16.5 2024-12-18
4.16.5 (2024-12-18)


 Bug Fixes

 upgrade cron-parser dependency for Luxon CVE-2023-22467 (e45698e)

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON