Giter Site home page Giter Site logo

Comments (2)

Mic92 avatar Mic92 commented on August 22, 2024

Before every upgrade the old sidekiq instance is told to no longer accept new jobs and only finish the remaining one sidekiq has already started processing: https://github.com/Mic92/mina-sidekiq/blob/master/lib/mina_sidekiq/tasks.rb#L76
The rest of the upgrade process will takes place (deploying the new rails application)
After that the old sidekiq master will be stopped gracefully.
The new sidekiq master will be started and start processing jobs.
Unprocessed jobs will stay in Redis. There is a chapter in documentation explaining the safety levels Redis provide: https://redis.io/topics/persistence
It could be that jobs get lost, if sidekiq crashes during loading a job. This message will be lost then. There is a payed version of sidekiq, called sidekiq pro which counter measure this case: http://sidekiq.org/products/pro
But this is out of the scope what my library does.

from mina-sidekiq.

zulhfreelancer avatar zulhfreelancer commented on August 22, 2024

Thanks!

from mina-sidekiq.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.