cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a limit of parallel requests/queries from inside an app function?

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Do you know if calling multiple app functions in parallel will run multithread on the serverless side (will we auto-scale) or will it be a single lambda with 2 CPUs (to allow for a OneAgent to run on it)?

Senior Product Manager,
Dynatrace Managed expert
2 REPLIES 2

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Ooo found an answer from @LukasPlogmacher  :

The functionproxy enforces a limit of 20 parallel app-backend/adhoc executions per tenant per functionproxy instance (the exact number of replicas will still need to be decided on). If you hit that limit, you'll get a 429 response. If you get a 429, you can be sure that there was no side-effect, and you may implement retry logic in your app. The app from which the execution comes does not affect the limit. These limits are not meant to be configurable, but if they become an issue for you, please let us know. There is also a recursion depth limit (in case a function calls another function) of 5

 

More limits can be found at: https://developer.dynatrace.com/develop/functions/#runtime-limitations

Senior Product Manager,
Dynatrace Managed expert

stefan_baumgart
Dynatrace Advocate
Dynatrace Advocate

Furthermore: Every invocation is handled by its own instance (no matter if it runs on Lambda or not), and you usually work on a fraction of a CPU (~1/6). So be certain about CPU-intense tasks

Featured Posts