Re: Auto scaling workers with unicorn

2017-12-04 Thread Ben Somers
On Mon, Dec 4, 2017 at 5:51 PM, Eric Wong wrote: > Also, digging through the archives, Ben Somers came up with > alicorn a while back and it might be up your alley: > > https://bogomips.org/unicorn-public/CAO1NZApo0TLJY2KgSg+Fjt1jEcuPfq=ucc0scvvnugdnr39...@mail.gmail.com/ AFAIK alicorn still work

Re: Auto scaling workers with unicorn

2017-12-04 Thread Eric Wong
Sam Saffron wrote: > I would like to amend Discourse so we "automatically" absorb certain > traffic spikes. As it stands we can only configure unicorn with > num_workers and use TTIN and TTOUT to tune the number on the fly. > > I was wondering if you would be open to patching unicorn to allow it

Auto scaling workers with unicorn

2017-12-04 Thread Sam Saffron
I would like to amend Discourse so we "automatically" absorb certain traffic spikes. As it stands we can only configure unicorn with num_workers and use TTIN and TTOUT to tune the number on the fly. I was wondering if you would be open to patching unicorn to allow it to perform auto-tuning based o