elsa-core
elsa-core copied to clipboard
Slow worflow definitions and instances
Hi,
when we enter the definition of a flow, the endpoint of v1/activities is consulted but it takes a long time to respond. Adding the times of the assets makes everything too slow.

we are working with version 2.3
do you know how we can improve performance?
thank you
Hi @Juandavi1
It's hard to say what makes it so slow, but given that it is also slow to download static assets would lead me to believe something's not right with the network connection. Also make sure that your F12 Developer tools isn't emulating slow connectivity:

If you can tell a bit more about your infrastructure, then that might help.
hello,
it seems that the assets are loading fast but the activites endpoint is still taking a long time.
currently we have the project running in a container inside kubernetes but in terms of resources it has no cpu or memory limitation.
we are currently running version 2.4.1


I did a small load test to that endpoint and these were the results

Hello, the problem was that the option providers were called multiple times and made a request that took a couple of seconds. We added a cache and now times are much better.
Question, is this number of invocations to a provider normal?
thank youu
Good question. Will need to be investigated 👍🏻
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.