You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Some users experience issues with replays of long workflow histories.
Describe the solution you'd like
While this process will always inherently has O(n) complexity and there is not much that we can do with that, there is one low hanging fruit to improve it.
Currently ServiceWorkflowHistoryIterator requests the next page only when the worker is already blocked and finished processing the previous page. It may be optimized by requesting the next page immediately.
Additional context
See io.temporal.client.EagerPaginator and it's implementations where such an approach and logic are already implemented.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Some users experience issues with replays of long workflow histories.
Describe the solution you'd like
While this process will always inherently has O(n) complexity and there is not much that we can do with that, there is one low hanging fruit to improve it.
Currently
ServiceWorkflowHistoryIterator
requests the next page only when the worker is already blocked and finished processing the previous page. It may be optimized by requesting the next page immediately.Additional context
See
io.temporal.client.EagerPaginator
and it's implementations where such an approach and logic are already implemented.The text was updated successfully, but these errors were encountered: