Jump to content

Sidekiq

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Citation bot (talk | contribs) at 13:10, 6 December 2019 (Alter: template type. | You can use this bot yourself. Report bugs here.| Activated by User:Nemo bis | via #UCB_webform). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Sidekiq
Original author(s)Mike Perham
Initial releaseFebruary 5, 2012; 12 years ago (2012-02-05)[1]
Stable release
5.1.3 / April 2, 2018; 6 years ago (2018-04-02)
Repository
Written inRuby
Operating systemCross-platform
Available inEnglish
TypeWorking queue
LicenseLGPLv3[2]
Websitesidekiq.org Edit this at Wikidata

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.

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.[5]

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,[6] GitLab and Discourse. Sidekiq is also used to submit threads to the PHASTER phage search tool.[7]

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. ^ a b c Cukier, Daniel (2013). DevOps patterns to scale web applications using cloud services. SPLASH '13. doi:10.1145/2508075.2508432.
  5. ^ "Remote System Applications Access" (PDF). IJISET - International Journal of Innovative Science, Engineering & Technology. 2 (4). April 2012. ISSN 2348-7968.
  6. ^ Diaspora Project (19 May 2013). "diaspora* 0.1.0.0". Retrieved 20 January 2014.
  7. ^ 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.