Sidekiq

Sidekiq is an open source job scheduler written in Ruby.[3] It's important to be aware that Sidekiq by default doesn't do scheduling, it only executes jobs. The Enterprise version comes with scheduling out of the box.

Sidekiq
Original author(s)Mike Perham
Initial releaseFebruary 5, 2012 (2012-02-05)[1]
Stable release
6.1.2 / September 6, 2020 (2020-09-06)
Repository
Written inRuby
Operating systemCross-platform
Available inEnglish
TypeWorking queue
LicenseLGPLv3[2]
Websitesidekiq.org

Architecture

Sidekiq uses Redis as an in-memory data structure store and is written in Ruby.[4] It also supports Java clients.[4] It can be used with Resque, another Redis based job scheduler, or more commonly as a standalone product.

Sidekiq reads jobs from a Redis queue, using the First In First Out (FIFO) model, to process jobs. Job processing is asynchronous and allows a web thread serve requests, rather than process heavy tasks.

Reception and use

Sidekiq is described as “well-known queue processing software”.[4]

It's used by Ruby applications needing to run tasks in the background, and not in the web requests handling time, like Mastodon, Diaspora,[5] GitLab and Discourse. Sidekiq is also used to submit threads to the PHASTER phage search tool.[6]

References

  1. v0.5.0
  2. Sidekiq license
  3. Unruh, Ian; Bardas, Alexandru G.; Zhuang, Rui (November 2014). Compiling Abstract Specifications into Concrete Systems—Bringing Order to the Cloud. 28th Large Installation System Administration Conference (LISA14). ISBN 978-1-931971-17-1.
  4. Cukier, Daniel (2013). DevOps patterns to scale web applications using cloud services. SPLASH '13. doi:10.1145/2508075.2508432.
  5. Diaspora Project (19 May 2013). "diaspora* 0.1.0.0". Retrieved 20 January 2014.
  6. Arndt, David; Grant, Jason R.; Marcu, Ana; Sajed, Tanvir; Pon, Allison; Liang, Yongjie; Wishart, David S. (8 July 2016). "PHASTER: a better, faster version of the PHAST phage search tool". Nucleic Acids Research. 44 (W1): W16–W21. doi:10.1093/nar/gkw387. ISSN 0305-1048. PMC 4987931. PMID 27141966. Retrieved 26 March 2018.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.