Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to only duplicate unicorn master, while retaining old master #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yashBiz
Copy link

@yashBiz yashBiz commented May 21, 2021

Problem statement: Currently, unicorn:restart always kills the old master in a definite( but configurable) time interval, viz unicorn_restart_sleep_time. But If the new master has not booted up and ready to accept requests before this time, it can lead to service downtime.

Exposing the unicorn:duplicate allows clients to only duplicate the unicorn, creating a new master with updated code. The onus to make sure old master is killed later, falls on the client with this. A cool client level solution for the same is found here - https://yhbt.net/unicorn/examples/unicorn.conf.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant