workflow-core
workflow-core copied to clipboard
CPU Spikes Up Exponentially For Workflow Core As The Number of Requests Increases Per Second
Hello,
I am running the workflow core with the latest version, and with the .NET Core 3.1 framework . I am loading the workflow from JSON definition. I am triggering multiple concurrent workflows in Pivotal Cloud Foundry (PCF) environment, with single instance with 512MB memory. The CPU utilization spikes up to 600% for more than 15 concurrent requests through JMeter load test. I have configured MaxConcurrentWoflows to 50, timeout for WaitForWorkflowCompletion = 120 seconds, ThreadSleep time = 100ms.
Are there any additional configurations to reduce the CPU utilization? Any other optimization recommendations, please specify.
Regards, Venu
What's the nature of the work your workflow steps are doing?
The each workflow step involves a REST call, and each workflow typically consist of 4-5 steps.
Hi @venugopalsjce
Have you found a solution for this?