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

feat(channel): handle multiple subscribes partially in parallel #12280

Draft
wants to merge 8 commits into
base: release-55
Choose a base branch
from

Conversation

keynslug
Copy link
Contributor

@keynslug keynslug commented Jan 9, 2024

Fixes EMQX-11483.

Release version: v5.5

Summary

If a SUBSCRIBE packet from the Client contains multiple subscriptions EMQX will now attempt to process them in parallel, at lest partially. More precisely: as before, Client will get a reply once the cluster (well, the set of core nodes) knows about new subscriptions, but the propagation of routing table updates per each new subscription will now happen concurrently if possible, i.e. when the batch_sync is enabled.

Currently includes #12237, will be rebased once it's merged.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

@keynslug keynslug changed the base branch from master to release-55 January 15, 2024 17:51
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