Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild cache when executing query requests to improve latency for query workflow #1132

Open
longquanzheng opened this issue Sep 27, 2021 · 0 comments

Comments

@longquanzheng
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Right now only executing sticky decision task can build sticky cache. But the sticky decision timeout is very short(only 5s by default). It can't be too large otherwise would cause potential workflow stuck during worker deployment.

Therefore, when workflow is waiting for something, e.g. large timer, the sticky cache would be invalid as there is no sticky cache to be used. Hence query workflow will have to replay the whole history.

Proposed Solution
Let executing query request to make some sticky choice on worker and build the cache.

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants