Hacker News new | ask | show | jobs
by alexjarvis 4219 days ago
Could you please explain how PubSub in a cluster "Just Works"? How does it share subscriptions/channels between nodes?

I created a distributed PubSub for the Scala/Akka/Play toolchain a while ago so just wondering how it compares: https://github.com/alexanderjarvis/dubsub

1 comments

We use Erlang's pg2 module internally to handle the distributed process groups and build a layer on top to handle broadcasts and node failover.
It would be awesome if you could publish the pubsub stuff as a separate library, for apps that don't need/want Phoenix. Possible?