workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

CPU Spikes Up Exponentially For Workflow Core As The Number of Requests Increases Per Second

Open venugopalsjce opened this issue 4 years ago • 4 comments

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

venugopalsjce avatar Aug 13 '20 13:08 venugopalsjce

What's the nature of the work your workflow steps are doing?

danielgerlag avatar Aug 16 '20 15:08 danielgerlag

The each workflow step involves a REST call, and each workflow typically consist of 4-5 steps.

venugopalsjce avatar Aug 18 '20 12:08 venugopalsjce

Hi @venugopalsjce

Have you found a solution for this?

ersenbasaransen avatar May 26 '23 06:05 ersenbasaransen