What is the max amount of TLS handshakes per app?

I migrated one of our apps over the weekend, and I have been experiencing issues due to TLS handshake limits. My app receives a significant amount of requests per minute just from a specific client, and after a few tweaks on the number of machines and vCPUd, for the most part it has been able to run properly. The only issue right now seems to be hitting the TLS handshake limit per IP block.

Any help is appreciated as I attempt to migrate the rest of my apps to fly.

Hi Rodolfo,

TLS handshakes have limits because they are resource-costly. These are per edge and app:

  • Max concurrent per SNI: 150
  • Max concurrent per IP (per small-ish block): 100
  • Rate limit per second: 60

Let me know if this helps!

Okay, I think that explains what I am seeing.

For reference:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.