Hi, we implemented a business process where there is quite a few invoke workflow with Forms and Workflow passing variables back and forth, the workflow also makes quite a few database connection to the SQL server to run queries. In the UAT environment where everything is installed together except for the SQL server, this particular section of the business process takes around 19 seconds to run, but in the production environment with a more powerful VM and various LF modules are installed separately (internal forms routing service and workflow is installed on the same machine), the same section of business process took 34 seconds to run. The SQL server in production is also running SQL Always On so the workflow and Forms are connected through the AAG listener.
Does anyone have any advise on how we can tune the performance for Forms and Workflow, or improve the AAG connection speed to SQL server? Since from the client's perspective it doesn't really make sense for the production environment to be slower than UAT. Thanks.