09 Jan 2023 03:16 PM - last edited on 02 May 2023 02:46 PM by educampver
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)?
Solved! Go to Solution.
09 Jan 2023 03:19 PM - last edited on 02 May 2023 02:17 PM by educampver
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
10 Jan 2023 07:45 AM
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