Unicorn on shared apps platform

Amol Dev devamol at yahoo.com
Tue Feb 26 18:15:46 UTC 2013


> I'm the author of alicorn; I've tried it :). I only know of one team
> that's currently running it in production, but they've been using it
> with no difficulties for about six months now. It's meant to solve
> exactly the problem you have, dynamically scaling unicorn workers,
> though it can't idle an app at zero workers (I think it technically
> could; but the results would be bad). Happy to help you with it if
> needed.

Thanks. Looked at https://github.com/bensomers/alicorn/blob/master/lib/alicorn/scaler.rb nice use of TTIN and TTOU. It is good out of band scaling option. Will surely need your help for zero worker if I end up using alicorn. 

> won't need enough memory for running all the apps twice, just enough
> to run everything once + one app twice.
Agree.

--Amit

----- Original Message -----
> From: Ben Somers <somers.ben at gmail.com>
> To: unicorn list <mongrel-unicorn at rubyforge.org>
> Cc: 
> Sent: Tuesday, February 26, 2013 8:55 AM
> Subject: Re: Unicorn on shared apps platform
> 
>>  Can one signal unicorn to increase workers or just spin new set of workers. 
> Any one tried alicorn? https://github.com/bensomers/alicorn.
> 
> I'm the author of alicorn; I've tried it :). I only know of one team
> that's currently running it in production, but they've been using it
> with no difficulties for about six months now. It's meant to solve
> exactly the problem you have, dynamically scaling unicorn workers,
> though it can't idle an app at zero workers (I think it technically
> could; but the results would be bad). Happy to help you with it if
> needed.
> 
>>  Provisioning double memory on deploy can be solved differently by spinning 
> new server that has upgrade and moving load balancer to divert trafic, the 
> netflix way.
> 
> I don't like doing that just because of the time it takes to spin up
> new servers (even on EC2, it's not instant). If you're running
> multiple apps on one box, then you can cheat a little bit, because you
> won't need enough memory for running all the apps twice, just enough
> to run everything once + one app twice.
> 
> -ben
> _______________________________________________
> Unicorn mailing list - mongrel-unicorn at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
> Do not quote signatures (like this one) or top post when replying
> 


More information about the mongrel-unicorn mailing list