Hi, I posted the following on SO, but it hasn't got much love. I'm reposting it here in the hopes someone will be able to answer the question:
Using DistributedPubSub, say an actor can subscribe to a publisher which publishes tweets with a certain hashtag. Obviously publishers would have to be created on demand of subscribers: you can't have a publisher for every possible hashtag. Similarly, you want to be able to shutdown publishers who no longer have any subscribers: you don't want the number of publishers to grow indefinitely. Which brings us onto my question: *in a distributed system, how do you determine whether a publisher no longer has any subscribers (so you can shut it down)*? Cheers, Guy -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
