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

Fetching saga instances from the saga store should be optimized #100

Open
rhinof opened this issue Jul 15, 2019 · 0 comments
Open

Fetching saga instances from the saga store should be optimized #100

rhinof opened this issue Jul 15, 2019 · 0 comments
Assignees
Labels
tech debt technical debt that should be payed off

Comments

@rhinof
Copy link
Contributor

rhinof commented Jul 15, 2019

The current implementation of the mysql saga store, when fetching saga instances by sage type, fetches all saved instances in one round trip which may cause a performance issue when there are large amounts of saga instances that need to be fetched.

In order to prevent a potential performance hit the fetching logic should be optimized to include paging and potentially parallel the fetching using a set of goroutines

@rhinof rhinof added the tech debt technical debt that should be payed off label Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt technical debt that should be payed off
Projects
None yet
Development

No branches or pull requests

2 participants