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

Add delivery thread per async subscriber #27

Merged
merged 4 commits into from
Mar 15, 2018
Merged

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented Mar 14, 2018

Current implementation means that multiple subscribers are not able to process messages in parallel so causing head of line blocking issues among each other.

Now each async subscriber has its own thread and a sized queue for message delivery in order to avoid this, following similar usage as in the Go client where a goroutine is used per Subscription.

Current implementation means that multiple subscribers
are not able to process messages in parallel so causing
head of line blocking issues among each other.

Now each async subscriber has its own thread for message
delivery in order to avoid this and follow similar usage
as in the Go client.
@wallyqs wallyqs changed the title Add delivery per thread for async subscribers Add delivery thread per async subscriber Mar 15, 2018
@wallyqs wallyqs merged commit 580ea5a into master Mar 15, 2018
@wallyqs wallyqs deleted the thread-per-async-sub branch March 15, 2018 18:19
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.

None yet

1 participant