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

Make DailyPartitionCreator use the blocking IO dispatcher #476

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

cwbriones
Copy link
Contributor

Followup to #475.

This makes the DailyPartitionCreator offload its Ebean calls to a dedicated threadpool, which at runtime is the same used by the execution repository itself so as to not block the actor thread.

The actor behavior is slightly more complicated, since it needs to send a message back to itself before replying to the caller. This is because the caching operation is mutating and should only ever happen within the actor thread.

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

Successfully merging this pull request may close these issues.

1 participant