Hello,
We have a performance issue on our app using oidc.
Our analysis has concluded that the problem lies in the use of a service action instead of a server action. We found that the data action DoLogin takes approximately 17 seconds to execute with a default service action (Custom_UserCheck), while it takes about 2 seconds if we convert that to a server action.
Do you have any clue what is causing this?
Hey @Joao Marques ,
It appears to be delayed because service actions are performed for performed and network costs, while server actions are run within the same transaction on the server, causing them to occur quickly. Actually service actions call external services which add delays and service actions are run in a separate transaction as opposed to server actions.
You can do some improvement like adapt the service action by reducing the conversation or filtering the data effectively or If it calls the outer API, check the response time and evaluate the time.
Thanks,
Sriyamini J