Hello Community,
I am facing a performance issue with an API‑triggered Process Model that writes data to a MySQL database using the Write to Data Store Entity smart service.
"Successful"
Discussion posts and replies are publicly visible
I suggest you take a look to this https://docs.appian.com/suite/help/26.3/understanding-the-health-check-report.html#slow-web-apis. As first method for improving responsiveness, make sure the a!startProcess() that is used from a Web API with isSynchronous set to false.
a!startProcess()
false.
1. If network round-trip time to the database is high, even 25+ single-row writes can add noticeable latency, even for a single table.
2. The Write to Data Store Entity smart service writes one row at a time; bulk inserts/updates are not supported.[Write DSE]
3. If yours is a high latency network, consider using Execute Stored Procedure, as this will most likely improve performance.
4. Yes, make the DB inserts asynchronous and check the Health Check report, as this flags slow web APIs and points to which expressions/rules are taking the most time.