4 ms·
I don't think I like the failure mode of your app getting slower (losing your ApplicationDN) right at the time it's really popular. I don't have a better solut
by ar0b 7y ago
I don't think I like the failure mode of your app getting slower (losing your ApplicationDN) right at the time it's really popular. I don't have a better solution though.
- deleted 7y ago[deleted]
- michaeldwan 7y agoThis is tricky since every app has different performance and budget constraints. We try to minimize footguns by starting with sensible defaults. Over time we'll provide more options so you can tune scaling and placement yourself. We're also happy to help if you need!
- ericlewis 7y agomaybe if you go over, you automatically add ads to the page or something.
- tr33house 7y agoThis would be terrible
- mrkurt 7y agoAds would be terrible but I'm really interested in the whole idea of "do something else when an app os over budget". I hadn't considered much except a 402 status code, which seems kinda mean: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402
- nine_k 7y agoA "donate" button when the current remaining budget would last for less than 100 minutes.
- capableweb 7y ago> I don't have a better solution though Don't host in such a way that you're paying for traffic... Hetzner, OVH and Packet all have dedicated servers where you don't pay for the traffic, inbound or outbound. Edit: judging by other comments here, it might seem like US zone of Fly.io is in fact hosted in Packet so they are probably themselves not paying for the traffic. Maybe they are using Hetzner for the EU zone (or OVH for that matter).
- mrkurt 7y agoPacket charges for outbound bandwidth. The places you can get close to free on outbound bandwidth don’t give you the ability to do anycast and tend to over subscribe their networks. We’d like to grt network prices down but we can’t run our service on ovh or Hetzner.
- Sebb767 7y agoBut your server going down because of high load instead of being shut down by a bill breaker doesn't make that much difference.
- nine_k 7y agoUnless your popularity pays your bills, it's the most graceful degradation you can have.
- Sebb767 7y agoThe solution is to set your limit pretty high (100 times your average or so) or, alternatively, have shorter limit intervals - 100 times your daily bill is still a lot less harmful than 100 times your monthly bill. The only 'real' solution is proper alerting, but even then it's pretty easy to rack up a bill of several thousand dollar before anyone realizes what's going on.