Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
21–30 of 437 posts
Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#22i don't think some details of the argument hold. it alleges that you need more dynos to get the same throughput. but that's not true once you have sufficient demand to keep a queue of about sqrt(n) (i think - someone who knows more theory than me can correct me) in size on the dyno (where you have n dynos). because at that point all dynos will be running continuously, and the throughput will be the same with either r…
If you have 10 dynos and 1000 simultaneous requests, the difference between naive and intelligent might well be reduced, but that's also a scenario in which your end user response times would be horrendously slow and so you'd need more dynos either way
Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#23Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#24So the issue here is two-fold: - It's very hard to do 'intelligent routing' at scale. - Random routing plays poorly with request times with a really bad tail (median is 50ms, 99th is 3 seconds) The solution here is to figure out why your 99th is 3 seconds. Once you solve that, randomized routing won't hurt you anymore. You hit this exact same problem in a non-preemptive multi-tasking system (like gevent or golang).
Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#25Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#26This reminds me of the excellent 5 stages of hosting story shared on here from a while back:
Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#27Wow. I suspect Rap Genius has the dollars now where it's totally feasible for them to go beyond Heroku, but it still might not be the best use of their time. But if they have to do it, they have to do it. OTOH, having a customer have a serious problem like this AND still say "we love your product! We want to remain on your platform", just asking you to fix something, is a pretty ringing endorsement. If you had a marg…
Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#28Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#29Re: Heroku's Ugly Secret: The story of how the cloud-king turned its back on Rails
#30I am only going to suggest a small edit -> s/Postgres can’t/Heroku's Postgres can't/ PG can scale up pretty well on a single box, but scaling PG on AWS can be problematic due to the disk io issue, so I suspect they just don't do it. I'd love to be corrected :)