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

Distributed pub sub for typed #26338

Closed
johanandren opened this issue Feb 6, 2019 · 1 comment
Closed

Distributed pub sub for typed #26338

johanandren opened this issue Feb 6, 2019 · 1 comment

Comments

@johanandren
Copy link
Member

@johanandren johanandren commented Feb 6, 2019

The receptionist allows something like distributed pub sub by seing the receptionist registration as a subscription to a topic, it does however not do deduplication, when there are multiple "subscribers" on one node a message for that "topic" will go to all of them.

Could it be worth it to introduce an inbetween-topic-actor that does what distributed pub sub does for a single topic (registering to the receptionist when there are any subscribers, forwarding incoming messages to the subscribers).

@chbatey

This comment has been minimized.

Copy link
Member

@chbatey chbatey commented Nov 15, 2019

Descoping typed pubsub compared to untyped, what's left:

  • Service key describing the topic
  • An single topic-actor running on each node (that should take part in the pub-sub) that handles subscriptions to topics and sending to all the other topic-actors that have subscribed to the topic
  • actors taking part in pub-sub registers locally to the topic actor
  • Depends on de-register as agent should de-register when there are no local subscribers for the topic (in progress) #28123
  • Can use the group router internally for sending to get that logic "for free"
@chbatey chbatey assigned chbatey, helena and johanandren and unassigned chbatey Nov 15, 2019
@helena helena moved this from Backlog to Sprint backlog in Akka 2.6.x Nov 19, 2019
@helena helena moved this from Sprint backlog to Backlog in Akka 2.6.x Nov 20, 2019
@helena helena removed the 3 - in progress label Nov 20, 2019
@helena helena moved this from Backlog to Sprint backlog in Akka 2.6.x Dec 9, 2019
@helena helena moved this from Sprint backlog to Backlog in Akka 2.6.x Dec 9, 2019
@helena helena moved this from Backlog to Sprint backlog in Akka 2.6.x Dec 9, 2019
@patriknw patriknw mentioned this issue Dec 9, 2019
7 of 11 tasks complete
@helena helena moved this from Sprint backlog to In progress in Akka 2.6.x Dec 12, 2019
@helena helena moved this from In progress to Sprint backlog in Akka 2.6.x Dec 17, 2019
@helena helena moved this from Sprint backlog to Backlog in Akka 2.6.x Dec 17, 2019
@patriknw patriknw moved this from Backlog to Sprint backlog in Akka 2.6.x Jan 8, 2020
@patriknw patriknw mentioned this issue Jan 8, 2020
13 of 15 tasks complete
@helena helena moved this from Sprint backlog to In progress in Akka 2.6.x Jan 10, 2020
@helena helena removed their assignment Feb 25, 2020
@helena helena moved this from In progress to Reviewing in Akka 2.6.x Feb 25, 2020
@chbatey chbatey added this to the 2.6.4 milestone Mar 10, 2020
@chbatey chbatey closed this Mar 10, 2020
Akka 2.6.x automation moved this from Reviewing to Done Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Akka 2.6.x
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.