News for hackers. Stuff that matters.
Re:Ask HN: So you moved off Heroku, where did you go? by jamie_ca on Tuesday October 04, 2022 @12:01PM (#33082319)
The big one as a layman is they've invested in tooling for "edge" compute - similar to CloudFlare distributing your static assets worldwide for faster responses, Fly gives you the tools to do the same for your app servers.

If you've got a worldwide audience you can set up your app in Dallas, Paris, Chennai, and Tokyo, have it auto-scale (and re-balance) instances based on which regions are the most in demand (eg, minimum 2 app servers per region, max 20 app servers, and it'll auto drift them throughout the day as needed). It also puts all your servers on a common VPN for communication, and they've got some tooling in place to help manage things like db replicas, replaying write requests back to the primary db env, etc.

It's not necessarily trivial to port any old app over (if you're doing writes every request for logging etc, that's something you'd want to change up backgrounding the writes) but it really can make a huge impact in responsiveness once you're set up.

Re:Ask HN: So you moved off Heroku, where did you go? by 4khilles on Tuesday October 04, 2022 @04:58PM (#33086748)
I think their auto-scaling is somewhat broken currently. I set up auto-scaling with min=2 and max=6, and my VMs aren't scaling down from 3 to 2 even though there are 0 active connections on all the VMs.
Re:Ask HN: So you moved off Heroku, where did you go? by noneeeed on Tuesday October 04, 2022 @02:20PM (#33084517)
That all sounds pretty cool. Nice to see people trying something new.