Since Fly is controlling the networking layer, scaling, etc, are you planning on adding some rate limiting features in the future?
We’re not planning rate limiting features, per se. However, I know of a few people who’ve deployed rate limiting with nginx or Envoy on Fly and it works very well. They were mostly using it to throttle API access, I believe.
We definitely plan to have example/demo apps that implement rate limiting though! What are you trying to solve with it?
Nothing special, just regular throttling for an API and some public facing application.
Obviously I will implement it on the application, but was wondering what would happen with scaling on Fly in case of a DDOS or something.
Oh I see what you’re asking.
We have a bunch of network level DDoS protection in place. Our general feeling is that app level DDoS protection that involves capchtas kind of sucks, and most apps just need some of what nginx offers (if they need anything at all).
That said, our policy is to not charge for usage resulting from an attack. You can limit how much your app scales as well, but we’ll wave charges if things go bonkers even without that.