News for hackers. Stuff that matters.
Re:Subway Stories by pavel_lishin on Monday January 13, 2025 @10:44AM (#42684668)
Looks like we hugged it:

    https://subway-stories-sql-server.fly.dev/mapbox-load

    Error checking mapbox load: Error: HTTP error! status: 500
Re:Subway Stories by volkk on Monday January 13, 2025 @10:51AM (#42684763)
i don't get it. doesn't fly autoscale? i thought the point of services like these is that it makes it super easy to account for traffic spikes. or is this not fly.io?
Re:Subway Stories by tytho on Monday January 13, 2025 @10:55AM (#42684811)
Fly has a form of auto-scaling. You have to provision the max amount of machines then you configure them to auto-sleep. It's possible that the creator didn't anticipate this much traffic or didn't want to pre-pay for all those sleeping machines.
Re:Subway Stories by archy_ on Monday January 13, 2025 @12:07PM (#42685729)
That's just pre-provisioning by another name, auto-scaling implies on-the-fly provisioning

E: I can't even load the fly.dev website, it keeps timing out. I guess they forgot to pre-provision/under-provisioned it

Re:Subway Stories by nightpool on Monday January 13, 2025 @12:19PM (#42685853)
No, they have auto-scaling as well. Not sure what GP was talking about: https://fly.io/docs/reference/autoscaling/

However, it's understandable that some people wouldn't necessarily want to pay for high amounts of max machines.

Apparently it doesn't auto-scale automatically either, you have to opt into it.