cycling in and out of the load balancer is standard, you can also do
this: 
http://samsaffron.com/archive/2013/11/13/live-restarts-of-a-supervised-unicorn-process

On Sat, Jan 4, 2014 at 6:15 AM, Jonathan del Strother
<[email protected]> wrote:
> Hi there,
> I recently ran into a problem where I had to update bundler from 1.3
> to 1.5 so that it recognised the "platforms:[ruby_21]" option in my
> Gemfile.  However, Unicorn continued to use Bundler 1.3 when I
> re-exec'd it via USR2 (perhaps unsurprisingly), and so couldn't load
> my new gemfile until I completely restarted it.
>
> I ended up tweaking our balancers to funnel all our traffic to half
> our backend machines, restarted unicorn on the other half, then
> flipped the traffic to the first half and repeat.  Is that the
> standard way of doing it, or is there a better way?
> _______________________________________________
> Unicorn mailing list - [email protected]
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
> Do not quote signatures (like this one) or top post when replying
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to