{"id":13455034,"url":"https://github.com/taskforcesh/bullmq","last_synced_at":"2026-06-13T23:03:05.043Z","repository":{"id":37549998,"uuid":"162494199","full_name":"taskforcesh/bullmq","owner":"taskforcesh","description":"BullMQ - Message Queue and Batch processing for NodeJS, Python, Elixir and PHP based on Redis","archived":false,"fork":false,"pushed_at":"2026-04-25T02:37:05.000Z","size":157794,"stargazers_count":8770,"open_issues_count":409,"forks_count":603,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-04-25T03:30:18.773Z","etag":null,"topics":["background-jobs","elixir","nodejs","php","python","queue","redis","typescript"],"latest_commit_sha":null,"homepage":"https://bullmq.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taskforcesh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-12-19T21:46:28.000Z","updated_at":"2026-04-25T02:25:56.000Z","dependencies_parsed_at":"2023-09-26T10:34:29.992Z","dependency_job_id":"4f1252e4-d557-430b-9a38-2f9b3f242e88","html_url":"https://github.com/taskforcesh/bullmq","commit_stats":{"total_commits":2507,"total_committers":164,"mean_commits":"15.286585365853659","dds":0.6653370562425209,"last_synced_commit":"d0c473f90670b95fd98a63995dbb9481d0f6742d"},"previous_names":[],"tags_count":838,"template":false,"template_full_name":null,"purl":"pkg:github/taskforcesh/bullmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskforcesh%2Fbullmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskforcesh%2Fbullmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskforcesh%2Fbullmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskforcesh%2Fbullmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskforcesh","download_url":"https://codeload.github.com/taskforcesh/bullmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskforcesh%2Fbullmq/sbom","scorecard":{"id":698548,"data":{"date":"2025-08-11","repo":{"name":"github.com/taskforcesh/bullmq","commit":"8b2f29bd4ea6ecbe4c6210a769dce46d7d910585"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.1,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":7,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'packages' permission set to 'read': .github/workflows/codeql.yml:36","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:39","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:40","Warn: no topLevel permission defined: .github/workflows/api.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Info: topLevel 'actions' permission set to 'read': .github/workflows/osv-scanner.yml:13","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/osv-scanner.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/osv-scanner.yml:17","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yml:17","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/codeql.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/osv-scanner.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/osv-scanner.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:138: update your workflow using https://app.stepsecurity.io/secureworkflow/taskforcesh/bullmq/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:107","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:108","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:109","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:120","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:204","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:205","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:206","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:258","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:259","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:260","Info:  21 out of  26 GitHub-owned GitHubAction dependencies pinned","Info:   5 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of  10 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":1,"reason":"branch protection is not maximal on development and all release branches","details":["Warn: branch protection not enabled for branch 'v4.x'","Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Info: 'stale review dismissal' is required to merge on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is required - but no codeowners file found in repo","Info: 'last push approval' is required to merge on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:11"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T04:28:57.889Z","repository_id":37549998,"created_at":"2025-08-22T04:28:57.890Z","updated_at":"2025-08-22T04:28:57.890Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32249492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T03:17:44.950Z","status":"ssl_error","status_checked_at":"2026-04-25T03:16:45.208Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["background-jobs","elixir","nodejs","php","python","queue","redis","typescript"],"created_at":"2024-07-31T08:01:00.517Z","updated_at":"2026-06-13T23:03:05.015Z","avatar_url":"https://github.com/taskforcesh.png","language":"TypeScript","funding_links":["https://github.com/sponsors/taskforcesh"],"categories":["Packages","Uncategorized","TypeScript","Repository","Caching \u0026 Queues","目录","包"],"sub_categories":["Job queues","Uncategorized","Job Queues","Java","工作队列"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr/\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/95200/143832033-32e868df-f3b0-4251-97fb-c64809a43d36.png\" width=\"800\" /\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cp\u003e\n    The fastest, most reliable, Redis-based distributed queue for Node.js, Python, Rust, and more. \u003cbr/\u003e\n    Carefully written for rock solid stability and atomicity.\n  \u003c/p\u003e\n  Read the \u003ca href=\"https://docs.bullmq.io\"\u003edocumentation\u003c/a\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://join.slack.com/t/bullmq/shared_invite/zt-1nbtpk6mv-TItWpF9jf3k4yrCaS0PPZA\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/Slack-4A154B\"/\u003e\n    \u003c/a\u003e    \n    \u003ca href=\"https://badge.fury.io/js/bullmq\"\u003e\n      \u003cimg src=\"https://badge.fury.io/js/bullmq.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/taskforcesh/bullmq?branch=master\"\u003e\n      \u003cimg src=\"https://coveralls.io/repos/github/taskforcesh/bullmq/badge.svg?branch=master\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/semantic-release/semantic-release\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/sponsors/taskforcesh\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/sponsor-30363D?style=flat\u0026logo=GitHub-Sponsors\u0026logoColor=EA4AAA\"/\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003cem\u003e\u003ca href=\"https://x.com/bullmqhq\"\u003eFollow Us\u003c/a\u003e for *important* Bull/BullMQ/BullMQ-Pro news and updates!\u003c/em\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# 🛠 Tutorials\n\nYou can find tutorials and news in this blog: https://blog.taskforce.sh/\n\n# News 🚀\n\n## 🌐 Language agnostic BullMQ\n\nBullMQ is available natively in multiple languages:\n\n- **Node.js / Bun** — This repository (`npm install bullmq`)\n- **Python** — [`python/`](./python) directory (`pip install bullmq`)\n- **Rust** — [`rust/`](./rust) directory (`cargo add bullmq`)\n- **Elixir** — [`elixir/`](./elixir) directory (`{:bullmq, \"~\u003e x.x\"}`)\n- **PHP** — [`php/`](./php) directory\n\nFor other platforms, check out the [BullMQ Proxy](https://github.com/taskforcesh/bullmq-proxy).\n\n# Official FrontEnd\n\n[\u003cimg src=\"https://taskforce.sh/assets/logo_square.png\" width=\"150\" alt=\"Taskforce.sh, Inc\" style=\"padding: 200px\"/\u003e](https://taskforce.sh)\n\nSupercharge your queues with a professional front end:\n\n- Get a complete overview of all your queues.\n- Inspect jobs, search, retry, or promote delayed jobs.\n- Metrics and statistics.\n- and many more features.\n\nSign up at [Taskforce.sh](https://taskforce.sh)\n\n# 🚀 Sponsors 🚀\n\n\u003ctable cellspacing=\"0\" cellpadding=\"0\" border=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://www.dragonflydb.io/\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/dragonflydb/dragonfly/main/.github/images/logo-full.svg\" width=550 alt=\"Dragonfly\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      Dragonfly is a new Redis™ drop-in replacement that is fully compatible with BullMQ and brings some important advantages over Redis™ such as massive\n      better performance by utilizing all CPU cores available and faster and more memory efficient data structures. Read more \u003ca href=\"https://www.dragonflydb.io/docs/integrations/bullmq\"\u003ehere\u003c/a\u003e on how to use it with BullMQ.\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# Used by\n\nSome notable organizations using BullMQ:\n\n\u003ctable cellspacing=\"0\" cellpadding=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://github.com/microsoft/lage\"\u003e\n        \u003cimg\n          src=\"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LUuDmt_xXMfG66Rn1GA%2Fuploads%2FUvwInTAmk7hxAViDwJzU%2Fclipart1565701.png?alt=media\"\n          width=\"150\"\n          alt=\"Microsoft\"\n        /\u003e\n       \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://github.com/vendure-ecommerce/vendure\"\u003e\n        \u003cimg\n          src=\"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LUuDmt_xXMfG66Rn1GA%2Fuploads%2FvT30DUqsi61gL8edn3R2%2Fwordmark-logo.png?alt=media\"\n          width=\"150\"\n          alt=\"Vendure\"\n        /\u003e\n       \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://github.com/datawrapper/datawrapper\"\u003e\n        \u003cimg\n          src=\"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LUuDmt_xXMfG66Rn1GA%2Fuploads%2FCJ5XmotpBBsuSgD8CilC%2Fdatawrapper-logo.png?alt=media\"\n          width=\"150\"\n          alt=\"Datawrapper\"\n        /\u003e\n       \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd valign=\"center\"\u003e\n      \u003ca href=\"https://github.com/nestjs/bull/tree/master/packages/bullmq\"\u003e\n        \u003cimg\n          src=\"https://876297641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LUuDmt_xXMfG66Rn1GA%2Fuploads%2FfAcGye182utFUtPKdLqJ%2FScreenshot%202022-02-15%20at%2011.32.39.png?alt=media\u0026token=29feb550-f0bc-467d-a290-f700701d7d15\"\n          width=\"150\"\n          alt=\"Nest\"\n        /\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd valign=\"center\"\u003e\n      \u003ca href=\"https://langfuse.com\"\u003e\n        \u003cimg\n          src=\"https://langfuse.com/langfuse_logo.svg\"\n          width=\"150\"\n          alt=\"Langfuse\"\n        /\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://github.com/teamcurri\"\u003e\n        \u003cimg\n          src=\"https://user-images.githubusercontent.com/659829/161662129-ae645bc4-c1e9-48ff-997e-4cee281a964a.png\"\n          width=\"150\"\n          alt=\"Curri\"\n        /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n      \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://novu.co\"\u003e\n        \u003cimg\n          src=\"https://assets.super.so/1e9f5a51-c4c6-4fca-b6e8-25fa0186f139/images/0f550019-16db-4a65-90d1-1bdb7d3c5f20/novu-logo-gradient-light-background2x.png\"\n          width=\"150\"\n          alt=\"Novu\"\n        /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003c/td\u003e\n      \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://www.nocodb.com\"\u003e\n        \u003cimg\n          src=\"https://github.com/nocodb/nocodb/raw/develop/packages/nc-gui/assets/img/icons/512x512.png\"\n          width=\"50\"\n          alt=\"NoCodeDB\"\n        /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003c/td\u003e\n      \u003ctd valign=\"center\"\u003e\n       \u003ca href=\"https://infisical.com/\"\u003e\n         \u003cpicture\u003e\n          \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://mintlify.s3-us-west-1.amazonaws.com/infisical/logo/dark.svg\"\u003e\n          \u003cimg\n          src=\"https://mintlify.s3-us-west-1.amazonaws.com/infisical/logo/light.svg\"\n          width=\"150\"\n          alt=\"Infisical\"\n        /\u003e\n          \u003c/picture\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n# The gist\n\nInstall:\n\n```\n$ yarn add bullmq\n```\n\nIf you use the node-redis adapter (`createNodeRedisClient`), install `redis` v5 or newer (`redis \u003e= 5.0.0`).\n\nAdd jobs to the queue:\n\n```ts\nimport { Queue } from 'bullmq';\n\nconst queue = new Queue('Paint');\n\nqueue.add('cars', { color: 'blue' });\n```\n\nProcess the jobs in your workers:\n\n```ts\nimport { Worker } from 'bullmq';\n\nconst worker = new Worker('Paint', async job =\u003e {\n  if (job.name === 'cars') {\n    await paintCar(job.data.color);\n  }\n});\n```\n\nListen to jobs for completion:\n\n```ts\nimport { QueueEvents } from 'bullmq';\n\nconst queueEvents = new QueueEvents('Paint');\n\nqueueEvents.on('completed', ({ jobId }) =\u003e {\n  console.log('done painting');\n});\n\nqueueEvents.on(\n  'failed',\n  ({ jobId, failedReason }: { jobId: string; failedReason: string }) =\u003e {\n    console.error('error painting', failedReason);\n  },\n);\n```\n\nAdds jobs with parent-child relationship:\n\n```ts\nimport { FlowProducer } from 'bullmq';\n\nconst flow = new FlowProducer();\n\nconst originalTree = await flow.add({\n  name: 'root-job',\n  queueName: 'topQueueName',\n  data: {},\n  children: [\n    {\n      name: 'child-job',\n      data: { idx: 0, foo: 'bar' },\n      queueName: 'childrenQueueName',\n      children: [\n        {\n          name: 'grandchild-job',\n          data: { idx: 1, foo: 'bah' },\n          queueName: 'grandChildrenQueueName',\n        },\n        {\n          name: 'grandchild-job',\n          data: { idx: 2, foo: 'baz' },\n          queueName: 'grandChildrenQueueName',\n        },\n      ],\n    },\n    {\n      name: 'child-job',\n      data: { idx: 3, foo: 'foo' },\n      queueName: 'childrenQueueName',\n    },\n  ],\n});\n```\n\nThis is just scratching the surface, check all the features and more in the official \u003ca href=\"https://docs.bullmq.io\"\u003edocumentation\u003c/a\u003e\n\n# Feature Comparison\n\nSince there are a few job queue solutions, here is a table comparing them:\n\n| Feature                    | [BullMQ-Pro](https://bullmq.io/#bullmq-pro) | [BullMQ](https://bullmq.io) |      Bull       |  Kue  | Bee      | Agenda |\n| :------------------------- | :-----------------------------------------: | :-------------------------: | :-------------: | :---: | -------- | ------ |\n| Backend                    |                    redis                    |            redis            |      redis      | redis | redis    | mongo  |\n| Observables                |                      ✓                      |                             |                 |       |          |        |\n| Group Rate Limit           |                      ✓                      |                             |                 |       |          |        |\n| Group Support              |                      ✓                      |                             |                 |       |          |        |\n| Batches Support            |                      ✓                      |                             |                 |       |          |        |\n| Parent/Child Dependencies  |                      ✓                      |              ✓              |                 |       |          |        |\n| Deduplication (Debouncing) |                      ✓                      |              ✓              |        ✓        |       |          |        |\n| Deduplication (Throttling) |                      ✓                      |              ✓              |        ✓        |       |          |        |\n| Priorities                 |                      ✓                      |              ✓              |        ✓        |   ✓   |          | ✓      |\n| Concurrency                |                      ✓                      |              ✓              |        ✓        |   ✓   | ✓        | ✓      |\n| Delayed jobs               |                      ✓                      |              ✓              |        ✓        |   ✓   |          | ✓      |\n| Global events              |                      ✓                      |              ✓              |        ✓        |   ✓   |          |        |\n| Rate Limiter               |                      ✓                      |              ✓              |        ✓        |       |          |        |\n| Pause/Resume               |                      ✓                      |              ✓              |        ✓        |   ✓   |          |        |\n| Sandboxed worker           |                      ✓                      |              ✓              |        ✓        |       |          |        |\n| Repeatable jobs            |                      ✓                      |              ✓              |        ✓        |       |          | ✓      |\n| Atomic ops                 |                      ✓                      |              ✓              |        ✓        |       | ✓        |        |\n| Persistence                |                      ✓                      |              ✓              |        ✓        |   ✓   | ✓        | ✓      |\n| UI                         |                      ✓                      |              ✓              |        ✓        |   ✓   |          | ✓      |\n| Optimized for              |               Jobs / Messages               |       Jobs / Messages       | Jobs / Messages | Jobs  | Messages | Jobs   |\n\n## Contributing\n\nFork the repo, make some changes, submit a pull-request! Here is the [contributing](https://github.com/taskforcesh/bullmq/blob/master/contributing.md) doc that has more details.\n\n# Thanks\n\nThanks for all the contributors that made this library possible,\nalso a special mention to Leon van Kammen that kindly donated\nhis npm bullmq repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskforcesh%2Fbullmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskforcesh%2Fbullmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskforcesh%2Fbullmq/lists"}