Getting Sidekiq to play nicely with auto-scaling

This page summarizes the projects mentioned and recommended in the original post on /r/rails

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Sidekiq

    Simple, efficient background processing for Ruby

  • Has anyone had trouble with Sidekiq jobs disappearing when servers shutdown? We're on Heroku and when we tried to use Rails Autoscale, we would frequently see jobs just evaporate. The logs for a job would stop mid-processing. Sidekiq would not push the job back onto the queue and retry it. We upgraded to Enterprise and tried out SuperFetch, but then found that instead jobs were frequently getting duplicated. The Sidekiq docs mention support for rolling restarts, but it doesn't appear that works on Heroku. It's pretty important for us that jobs run once and only once, but I'm not sure how to accomplish that without using a database backed queuing system for locking.

  • job-iteration

    Makes your background jobs interruptible and resumable by design.

  • If that's the case, https://github.com/Shopify/job-iteration could help by making all your jobs easily interruptible.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • sidekiq-unique-jobs

    Prevents duplicate Sidekiq jobs

  • That's an interesting suggestion. We're relying on ActiveJob and sidekiq-unique-jobs doesn't explicitly support it, unfortunately. We'll have to test it out, though, and see if it just happens to work.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • 3 one-person million dollar online businesses

    2 projects | /r/Business_Ideas | 4 Dec 2023
  • Exploring concurrent rate limiters, mutexes, semaphores

    2 projects | dev.to | 11 Sep 2023
  • Sidekiq and managing resumable jobs?

    2 projects | /r/rails | 24 May 2023
  • How to mitigate being rate limited by a third party API?

    1 project | /r/rails | 5 May 2023
  • How to use Sidekiq in Rails 7: Background Jobs

    1 project | dev.to | 22 Apr 2023