Re:Heroku's Ugly Secret: The story of how the cloud-king tur...
by Cushman on Wednesday February 13, 2013 @06:55PM
(#5216589)
It's not exactly so, if you use a server that spawns child processes: http://michaelvanrooijen.com/articles/2011/06/01-more-concur... you can potentially handle 3-4 requests per dyno at a time. That doesn't fix the root problem, though.
[ Parent
| on HN ]
Re:Heroku's Ugly Secret: The story of how the cloud-king tur...
by toast76 on Wednesday February 13, 2013 @08:14PM
(#5216955)
Investigating this approach now. It won't fix the problem, but will certainly reduce the occurrence of blocked dynos. Thx!
EDIT: will need to look into our memory perf though, looks like we'll need to do some work to get more than a couple of workers.
Re:Heroku's Ugly Secret: The story of how the cloud-king tur...
by joeya on Wednesday February 13, 2013 @11:41PM
(#5217774)
I can confirm this. We experimented with Unicorn as a way to get some of the benefits of availability-based routing despite Heroku's random routing. Our medium-sized app (occupying ~230 MB on boot) would quickly exceed Heroku's 512 MB memory limit when forking just 2 unicorn workers, so we had to revert to thin and a greater number of dynos.