Giter Club home page Giter Club logo

Comments (5)

seuros avatar seuros commented on May 28, 2024

The next version will have this option, i'm working on it.
Phased-restart will work only if you have puma set in cluster mode.
preload_app! is usefull only when puma is set in single mode.

from capistrano-puma.

alpracka avatar alpracka commented on May 28, 2024

Thumbs up. My understandig (regarding to this: https://github.com/puma/puma#clustered-mode) was preload_app! is usefull in cluster mode. There is benefit from lower memory consumption, but it excludes phased restart (but puma docs are not absolutely clear about this).

from capistrano-puma.

crhan avatar crhan commented on May 28, 2024

@alpracka What problem do you have with the preload_app! option?

from capistrano-puma.

allaire avatar allaire commented on May 28, 2024

I am also really confused with all the restart and modes of puma.

I'm also wondering when should we use preload_app versus when we shouldn't. My ultimate goal is to have zero downtime on deploy. Is cluster mode the only mode that support 0 downtime?

Any guidance is welcome!

from capistrano-puma.

seuros avatar seuros commented on May 28, 2024

@allaire i pushed a new version of the gem.

from capistrano-puma.

Related Issues (20)

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.