cyOriginal post
Rank 1: Thread
I used the Python SDK and set xasync=True in create_execution, expecting it to execute quickly on another worker. However, the execution ended up taking several seconds to complete, whereas synchronous execution only takes milliseconds. From get_execution, I can also see that the duration between createdAt and updatedAt itself took several seconds.
How should this issue be understood, and what modifications are needed to achieve the intended logic?
Summary
The function runs slower when executed asynchronously compared to synchronously, even with more workers. The developer used the Python SDK with `xasync=True` in `create_execution`. To resolve the issue, they need to understand why the execution is taking longer, modify the logic accordingly, and ensure proper synchronization between `createdAt` and `updatedAt` timestamps.