Microflow only takes a few hundred ms, but running it via Nanoflow exceeds 10 seconds

0
I’m encountering a puzzling performance issue. In my Mendix app, I have a list widget whose data source is a nanoflow. That nanoflow calls a microflow to retrieve a list of objects. When I run the microflow directly, it completes in just a few hundred milliseconds. However, when the same microflow is triggered via the nanoflow, the overall operation takes more than ten seconds. I added time logs before and after the microflow call within the nanoflow, and the timestamps suggest the microflow itself ends up taking around 10 seconds, even though direct testing shows it should only need a fraction of that time. I suspect it might be related to network or data transfer issues, but I’m not entirely sure. Has anyone experienced a similar discrepancy between standalone microflow execution time and nanoflow-triggered execution time? What are some best practices or steps to diagnose and fix this kind of delay? Any advice or tips would be greatly appreciated. Thank you in advance!
asked
0 answers