https://github.com/sidekiq/sidekiq
Simple, efficient background processing for Ruby
https://github.com/sidekiq/sidekiq
Keywords
background-jobs jobs ruby sidekiq
Keywords from Contributors
activerecord activejob mvc rack rubygems crash-reporting sinatra rspec ruby-gem multithreading
Last synced: about 11 hours ago
JSON representation
Repository metadata
Simple, efficient background processing for Ruby
- Host: GitHub
- URL: https://github.com/sidekiq/sidekiq
- Owner: sidekiq
- License: other
- Created: 2012-01-16T23:17:27.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2026-02-21T15:46:33.000Z (10 days ago)
- Last Synced: 2026-02-23T00:00:26.624Z (8 days ago)
- Topics: background-jobs, jobs, ruby, sidekiq
- Language: Ruby
- Homepage: https://sidekiq.org
- Size: 14.3 MB
- Stars: 13,495
- Watchers: 206
- Forks: 2,474
- Open Issues: 30
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes.md
- Contributing: .github/contributing.md
- License: LICENSE.txt
- Code of conduct: docs/code_of_conduct.md
- Security: docs/SECURITY.md
README.md
Sidekiq
Simple, efficient background jobs for Ruby.
Sidekiq uses threads to handle many jobs at the same time in the
same process. Sidekiq can be used by any Ruby application.
Requirements
- Redis: Redis 7.0+, Valkey 7.2+ or Dragonfly 1.27+
- Ruby: MRI 3.2+ or JRuby 9.4+.
Sidekiq 8.0 supports Rails and Active Job 7.0+.
Sidekiq supports Valkey and Dragonfly as Redis alternatives.
Redis 7.2.4 is considered to be the canonical implementation.
Incompatibilities with that version are considered bugs.
Installation
bundle add sidekiq
Getting Started
See the Getting Started wiki page and follow the simple setup process.
You can watch this YouTube playlist to learn all about
Sidekiq and see its features in action. Here's the Web UI:

Performance
The benchmark in bin/sidekiqload creates 500,000 no-op jobs and drains them as fast as possible, assuming a fixed Redis network latency of 1ms.
This requires a lot of Redis network I/O and JSON parsing.
This benchmark is IO-bound so we increase the concurrency to 25.
If your application is sending lots of emails or performing other network-intensive work, you could see a similar benefit but be careful not to saturate the CPU.
Real world applications will rarely if ever need to use concurrency greater than 10.
| Version | Time to process 500k jobs | Throughput (jobs/sec) | Ruby | Concurrency | Job Type |
|---|---|---|---|---|---|
| Sidekiq 7.0.3 | 21.3 sec | 23,500 | 3.2.0+yjit | 30 | Sidekiq::Job |
| Sidekiq 7.0.3 | 33.8 sec | 14,700 | 3.2.0+yjit | 30 | ActiveJob 7.0.4 |
| Sidekiq 7.0.3 | 23.5 sec | 21,300 | 3.2.0 | 30 | Sidekiq::Job |
| Sidekiq 7.0.3 | 46.5 sec | 10,700 | 3.2.0 | 30 | ActiveJob 7.0.4 |
| Sidekiq 7.0.3 | 23.0 sec | 21,700 | 2.7.5 | 30 | Sidekiq::Job |
| Sidekiq 7.0.3 | 46.5 sec | 10,850 | 2.7.5 | 30 | ActiveJob 7.0.4 |
Most of Sidekiq's overhead is Redis network I/O.
ActiveJob adds a notable amount of CPU overhead due to argument deserialization and callbacks.
Concurrency of 30 was determined experimentally to maximize one CPU without saturating it.
Want to Upgrade?
Use bundle up sidekiq to upgrade Sidekiq and all its dependencies.
Upgrade notes between each major version can be found in the docs/ directory.
I also sell Sidekiq Pro and Sidekiq Enterprise, extensions to Sidekiq which provide more
features, a commercial-friendly license and allow you to support high
quality open source development all at the same time. Please see the
Sidekiq homepage for more detail.
Problems?
Do not directly email any Sidekiq committers with questions or problems.
A community is best served when discussions are held in public.
If you have a problem, please review the FAQ and Troubleshooting wiki pages.
Searching the issues for your problem is also a good idea.
Sidekiq Pro and Sidekiq Enterprise customers get private email support.
You can purchase at https://sidekiq.org; email support@contribsys.com for help.
Useful resources:
- Product documentation is in the wiki.
- Occasional announcements are made to the @sidekiq Mastodon account.
- The Sidekiq tag on Stack Overflow has lots of useful Q & A.
Every Thursday morning is Sidekiq Office Hour: I video chat and answer questions.
See the Sidekiq support page for details.
Contributing
See the contributing guidelines.
ERB Linting with HERB
This project uses HERB for ERB file linting and formatting. All ERB files have been renamed to use the .html.erb extension for better tooling support.
Local Development:
# Run HERB linting
bundle exec rake lint:herb
# or
bin/lint-herb
CI Integration:
HERB linting is automatically run in CI to ensure all ERB files are properly formatted and free of parse errors.
License
See LICENSE.txt for licensing details.
The license for Sidekiq Pro and Sidekiq Enterprise can be found in COMM-LICENSE.txt.
Author
Mike Perham, mastodon, https://www.mikeperham.com / https://www.contribsys.com
Owner metadata
- Name: Sidekiq
- Login: sidekiq
- Email: support@contribsys.com
- Kind: organization
- Description: Simple, efficient background jobs for Ruby
- Website: https://sidekiq.org
- Location: United States of America
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/124714131?v=4
- Repositories: 1
- Last ynced at: 2024-04-22T14:45:44.514Z
- Profile URL: https://github.com/sidekiq
GitHub Events
Total
- Delete event: 8
- Member event: 1
- Pull request event: 163
- Fork event: 95
- Discussion event: 1
- Issues event: 342
- Watch event: 316
- Issue comment event: 1039
- Push event: 266
- Pull request review comment event: 71
- Pull request review event: 72
- Gollum event: 84
- Create event: 29
- Commit comment event: 1
Last Year
- Delete event: 7
- Member event: 1
- Pull request event: 145
- Fork event: 86
- Discussion event: 3
- Issues event: 321
- Watch event: 292
- Issue comment event: 937
- Push event: 243
- Gollum event: 72
- Pull request review comment event: 69
- Pull request review event: 70
- Create event: 25
- Commit comment event: 1
Committers metadata
Last synced: 10 days ago
Total Commits: 4,402
Total Committers: 700
Avg Commits per committer: 6.289
Development Distribution Score (DDS): 0.376
Commits in past year: 262
Committers in past year: 43
Avg Commits per committer in past year: 6.093
Development Distribution Score (DDS) in past year: 0.286
| Name | Commits | |
|---|---|---|
| Mike Perham | m****m@g****m | 2749 |
| Brandon Hilkert | b****t@g****m | 96 |
| fatkodima | f****3@g****m | 78 |
| Jonathan Hyman | j****n@p****u | 46 |
| Abdelkader Boudih | t****e@g****m | 45 |
| jc00ke | j****e@j****m | 44 |
| Anton Davydov | a****o@g****m | 28 |
| Ryan LeCompte | l****e@g****m | 26 |
| Amadeus Folego | a****o@g****m | 17 |
| Justin Mazzi | j****i@g****m | 16 |
| Saidbek | s****v@g****m | 15 |
| Max Spransy | m****s@g****m | 15 |
| Adam Niedzielski | a****y@g****m | 15 |
| SamArdrey | s****y@g****m | 15 |
| Aaron Ackerman | t****7@g****m | 11 |
| Brian Goff | c****3@g****m | 11 |
| Jason Coene | j****e@g****m | 11 |
| dependabot[bot] | 4****] | 11 |
| Adam McCrea | a****m@a****m | 10 |
| grosser | m****l@g****t | 9 |
| Peter M. Goldstein | p****n@g****m | 8 |
| Thorsten Ball | m****t@g****m | 8 |
| Earlopain | 1****n | 8 |
| Andrew Babichev | a****v@g****m | 8 |
| awaw | a****w@n****w | 7 |
| Felipe Vogel | f****l@g****m | 7 |
| Ismael Abreu | i****a@g****m | 7 |
| Jake Mack | j****k@g****m | 7 |
| Philip Hallstrom | p****p@p****m | 7 |
| perldork | p****k@w****m | 7 |
| and 670 more... | ||
Committer domains:
- yandex.ru: 4
- mac.com: 2
- newrelic.com: 2
- shopify.com: 2
- joshsoftware.com: 2
- me.com: 2
- spoonflower.com: 1
- highgroove.com: 1
- remind101.com: 1
- tomanek.com.au: 1
- bluebox.net: 1
- vasfed.ru: 1
- seriousfox.co.uk: 1
- carbonfive.com: 1
- netguru.pl: 1
- phinary.ca: 1
- github.com: 1
- glassechidna.com.au: 1
- boedicker.org: 1
- franzkowiak.org: 1
- cantab.net: 1
- exomel.com: 1
- knejad.com: 1
- ideamarshal.com: 1
- sorentwo.com: 1
- virtkick.com: 1
- firedev.com: 1
- sxnlabs.com: 1
- doronin.org: 1
- embellishedvisions.com: 1
- agoragames.com: 1
- amcbridge.biz: 1
- pwkfg.org: 1
- pablocantero.com: 1
- verbasoftware.com: 1
- thenextweb.com: 1
- afurlan.org: 1
- insidesystems.net: 1
- perceptivesoftware.com: 1
- skookum.com: 1
- hooktstudios.com: 1
- thisishatch.co.uk: 1
- boundless.com: 1
- wafflestudio.com: 1
- eenews.net: 1
- digital.cabinet-office.gov.uk: 1
- gitlab.com: 1
- plentz.org: 1
- dishdigital.com: 1
- oracle.com: 1
- geoforce.com: 1
- qinnova.com.ar: 1
- pivotallabs.com: 1
- rackspace.com: 1
- zedge.net: 1
- dpogue.ca: 1
- dannyben.com: 1
- amireh.org: 1
- datadoghq.com: 1
- wllrd.com: 1
- tenharmsel.com: 1
- chrisseaton.com: 1
- tardis.com.uy: 1
- kensodev.com: 1
- tapmates.com: 1
- w3p.com.br: 1
- endil.de: 1
- live.ca: 1
- ombulabs.com: 1
- quipper.com: 1
- hudson.(none): 1
- teoljungberg.com: 1
- bitzesty.com: 1
- templ.in: 1
- hotmail.co.jp: 1
- kevinyank.com: 1
- cainlevy.net: 1
- lucianosousa.net: 1
- manheim.com: 1
- charliesomerville.com: 1
- extremist.digital: 1
- mariovisic.com: 1
- petteriraty.eu: 1
- sj26.com: 1
- aprescott.com: 1
- benubois.com: 1
- teambanjo.com: 1
- post.harvard.edu: 1
- jc00ke.com: 1
- adamlogic.com: 1
- grosser.it: 1
- nandalu.idv.tw: 1
- pjkh.com: 1
- webwizarddesign.com: 1
- tysontate.com: 1
- instanceinc.com: 1
- madebydna.com: 1
- unity.fr: 1
- lavabits.com: 1
- pobox.com: 1
- ffiller.com: 1
- autouncle.com: 1
- krasnoukhov.com: 1
- nordstrom.com: 1
- arko.net: 1
- jmdeldin.com: 1
- delstrother.com: 1
- loewenconsulting.ca: 1
- godfat.org: 1
- lmcavalle.com: 1
- frimin.fr: 1
- olszowka.de: 1
- papercavalier.com: 1
- revoc.net: 1
- selenight.nl: 1
- blacksquaremedia.com: 1
- tobiasmaier.info: 1
- bitcrowd.net: 1
- klarna.com: 1
- captive.fr: 1
- codingrhemes.com: 1
- griffinonline.org: 1
- develophp.org: 1
- inspired.no: 1
- informatik.uni-bremen.de: 1
- jboek.com: 1
- hey.com: 1
- abshere.net: 1
- salimane.com: 1
- rafaelss.com: 1
- ilkjar.com: 1
- mhfs.com.br: 1
- triggit.com: 1
- magplus.com: 1
- auctionedge.com: 1
- buytruckload.com: 1
- evilmartians.com: 1
- kurtisrainboltgreene.name: 1
- microsoft.com: 1
- zipcar.com: 1
- outoforder.cc: 1
- nilbus.com: 1
- dsander.de: 1
- kpumuk.info: 1
- unhooked.gr: 1
- yahoo.co.in: 1
- dennisreimann.de: 1
- freegoweb.it: 1
- jaredbeck.com: 1
- tcard.io: 1
- 9uelle.jp: 1
- lunenburg.org: 1
- zedroot.org: 1
- bookingexperts.com: 1
- readly.com: 1
- frederikspang.dk: 1
- fbergman.se: 1
- tonum.no: 1
- squareup.com: 1
- desire.sh: 1
- willcosgrove.com: 1
- guy.net.au: 1
- leadfeeder.com: 1
- ideasasylum.com: 1
- yakara.com: 1
- ivyevans.net: 1
- sensortower.com: 1
- ubuntu.com: 1
- quittheprogram.org: 1
- mrjoy.com: 1
- athayde.com: 1
- benfranklinlabs.com: 1
- petalmd.com: 1
- schito.me: 1
- cross.gg: 1
- kerricklong.com: 1
- keithpitt.com: 1
- downing.us: 1
- justinbull.ca: 1
- julik.nl: 1
- joseluistorres.me: 1
- jhass.eu: 1
- titanous.com: 1
- jroes.net: 1
- reinmiedl.com: 1
- shanked.me: 1
- lucaguidi.com: 1
- spkdev.net: 1
- korb.cz: 1
- krisquigley.co.uk: 1
- ilchenko.by: 1
- mattrobinson.net: 1
- fsinf.at: 1
- lico.nl: 1
- veldthuis.com: 1
- infogroup.com: 1
- without-brains.net: 1
- intercom.io: 1
- intergga.ch: 1
- foramnagaidhlig.net: 1
- magnusvk.com: 1
- mensfeld.pl: 1
- morad-edwar.com: 1
- mikeshop.net: 1
- jorhult.se: 1
- zoolutions.se: 1
- panoramaed.com: 1
- brightbits.co.uk: 1
- amasses.net: 1
- imdb.com: 1
- futurelearn.com: 1
- mynewsdesk.com: 1
- resa.net: 1
- plataformatec.com.br: 1
- seantheprogrammer.com: 1
- saschaeggenberger.com: 1
- rootstrap.com: 1
- rymai.me: 1
- mcgeary.org: 1
- zenspider.com: 1
- ssut.me: 1
- harmanly.com: 1
- kotiri.com: 1
- anti-pattern.com: 1
- ka.ag: 1
- t-online.de: 1
- woopasoft.com: 1
- validic.com: 1
- bebanjo.com: 1
- zapparov.com: 1
- buznik.net: 1
- siami.fr: 1
- risingsuntech.net: 1
- guder.ski: 1
- opscode.com: 1
- omadahealth.com: 1
- boxedup.com: 1
- bash.expert: 1
- fun-box.ru: 1
- sngtrkr.com: 1
- zweitag.de: 1
- thachchau.com: 1
- identified.com: 1
- cubyx.fr: 1
- kellys.org: 1
- icleversoft.com: 1
- humancopy.net: 1
- 45robots.com: 1
- hekki.info: 1
- sagafos.no: 1
- magiclabs.de: 1
- 163.com: 1
- shopvox.com: 1
- corlewsolutions.com: 1
- ojab.ru: 1
- tomify.me: 1
- timdorr.com: 1
- spork.in: 1
- yespark.fr: 1
- upstre.am: 1
- thibaud.me: 1
- petermccracken.com: 1
- quaran.to: 1
- setit.com: 1
- aol.com: 1
- zenpayroll.com: 1
- nicoladmin.fr: 1
- smith-stubbs.com: 1
- rodrigoramirez.com: 1
- stereointeractive.com: 1
- iddqd.su: 1
- r4s6.net: 1
- yahoo.com.br: 1
- moka.care: 1
- fili.pp.ru: 1
- maikan.com: 1
- goodlife.tw: 1
- xap.ie: 1
- burgestrand.se: 1
Issue and Pull Request metadata
Last synced: 10 days ago
Total issues: 725
Total pull requests: 432
Average time to close issues: 18 days
Average time to close pull requests: 5 days
Total issue authors: 524
Total pull request authors: 165
Average comments per issue: 4.5
Average comments per pull request: 2.18
Merged pull request: 286
Bot issues: 0
Bot pull requests: 8
Past year issues: 157
Past year pull requests: 120
Past year average time to close issues: 8 days
Past year average time to close pull requests: 8 days
Past year issue authors: 124
Past year pull request authors: 56
Past year average comments per issue: 2.41
Past year average comments per pull request: 1.93
Past year merged pull request: 62
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- mperham (61)
- sobrinho (13)
- kapso (9)
- fatkodima (7)
- eileen-jiang (7)
- OskarEichler (7)
- KieranP (5)
- pkopac (5)
- jjb (4)
- gstokkink (4)
- Earlopain (4)
- aliismayilov (4)
- jdelStrother (4)
- tomczak-mateusz (3)
- vvayngart1 (3)
Top Pull Request Authors
- fatkodima (54)
- mperham (45)
- Earlopain (16)
- fpsvogel (8)
- dependabot[bot] (8)
- mailbaoer (6)
- KNejad (6)
- joevandyk (5)
- tagliala (5)
- ruyrocha (5)
- kuajia (4)
- Uaitt (4)
- ryansch (4)
- seuros (4)
- rr3tt (4)
Top Issue Labels
- enterprise (6)
- pro (5)
Top Pull Request Labels
- dependencies (8)
- github_actions (2)
Package metadata
- Total packages: 3
-
Total downloads:
- rubygems: 603,960,316 total
- Total docker downloads: 929,027,990
- Total dependent packages: 689 (may contain duplicates)
- Total dependent repositories: 25,474 (may contain duplicates)
- Total versions: 673
- Total maintainers: 2
- Total advisories: 10
gem.coop: sidekiq
Simple, efficient background processing for Ruby.
- Homepage: https://sidekiq.org
- Documentation: http://www.rubydoc.info/gems/sidekiq/
- Licenses: LGPL-3.0
- Latest release: 8.1.1 (published 14 days ago)
- Last Synced: 2026-02-24T01:31:44.936Z (7 days ago)
- Versions: 236
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 301,980,158 Total
- Docker Downloads: 464,513,995
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.078%
- Downloads: 0.084%
- Docker downloads count: 0.229%
- Maintainers (1)
- Advisories:
rubygems.org: sidekiq
Simple, efficient background processing for Ruby.
- Homepage: https://sidekiq.org
- Documentation: http://www.rubydoc.info/gems/sidekiq/
- Licenses: LGPL-3.0
- Latest release: 8.1.1 (published 14 days ago)
- Last Synced: 2026-02-24T01:10:46.278Z (7 days ago)
- Versions: 236
- Dependent Packages: 689
- Dependent Repositories: 25,474
- Downloads: 301,980,158 Total
- Docker Downloads: 464,513,995
-
Rankings:
- Dependent packages count: 0.066%
- Downloads: 0.079%
- Stargazers count: 0.09%
- Forks count: 0.122%
- Average: 0.146%
- Dependent repos count: 0.224%
- Docker downloads count: 0.295%
- Maintainers (2)
- Advisories:
proxy.golang.org: github.com/sidekiq/sidekiq
- Homepage:
- Documentation: https://pkg.go.dev/github.com/sidekiq/sidekiq#section-documentation
- Licenses: other
- Latest release: v8.1.1+incompatible (published 14 days ago)
- Last Synced: 2026-02-22T21:02:04.595Z (9 days ago)
- Versions: 201
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.449%
- Average: 5.632%
- Dependent repos count: 5.815%
Dependencies
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- redis * docker
- actions/checkout v3 composite
- actions/dependency-review-action v3 composite
- maxitest >= 0 development
- pry >= 0 development
- ruby-prof >= 0 development
- simplecov >= 0 development
- standard >= 0 development
- toxiproxy >= 0 development
- activerecord-jdbcsqlite3-adapter >= 0
- after_commit_everywhere >= 0
- rake >= 0
- redis-client >= 0
- sqlite3 >= 0
- yard >= 0
- sidekiq >= 0
- after_commit_everywhere >= 0
- puma ~> 5.0
- sidekiq >= 0
- sqlite3 ~> 1.4
- concurrent-ruby < 2
- connection_pool >= 2.3.0
- rack >= 2.2.4
- redis-client >= 0.11.0
Score: 37.21387787097801