acoustic-carpenter-78188
10/29/2023, 12:06 AMGet function that retrieves status and is called in the background to populate a global cache, and a Status call which is called by FlytePropeller to check the status of that cache. We can use goroutines to effectively execute synchronous web api calls in the background and check the status of those calls with a lightweight lookup into a cache. This will ensure FlytePropeller workers maintain their lightweight design and reduce starvation under heavy load.
Describe alternatives you've considered
Restricting the maximum number of nodes processed in a FlytePropeller round has been proposed. However, this still means that execution of the web api sync plugin is in the critical path. Additionally, a worker is unable to parallelize these operations, meaning that workflow evaluation is essentially time-division multiplexing.
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
10/29/2023, 12:06 AMcuddly-jelly-27016
11/02/2023, 8:36 PM