How to reduce workflow method invocation delay

During our performance testing we found that, It is taking a lot of time to start workflows (ie : invoke the workflow method). Sometimes takes a couple of minutes.

Any suggestions on what needs to be scaled to ensure the worklfow starts within a couple of seconds?

You need to set up sdk and server metrics for this.
We have a PR that will end up in docs soon that focuses on using sdk metrics and configurations for your workers. Until thats merged, see this forum post as well.

For server metrics, see all exposed metrics here, and this docs page to get you started.

1 Like