top | item 22620288

(no title)

ar0b | 6 years 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.

discuss

order

nine_k|6 years ago

Unless your popularity pays your bills, it's the most graceful degradation you can have.

michaeldwan|6 years ago

This 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!

capableweb|6 years 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|6 years ago

Packet 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|6 years ago

But your server going down because of high load instead of being shut down by a bill breaker doesn't make that much difference.

Sebb767|6 years ago

The 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.

ericlewis|6 years ago

maybe if you go over, you automatically add ads to the page or something.

tr33house|6 years ago

This would be terrible

nine_k|6 years ago

A "donate" button when the current remaining budget would last for less than 100 minutes.