Heya,

I was wondering if someone on the list might be able to help me out. Trying 
to figure out what the best 'design pattern' would be to approach the 
following (and with my currently limited akka knowledge it'd bending my 
mind a little :p) :

* A 'container' (actor system?). Initially there will be one, but this 
concept will likely expand to multiple disparate containers, not 
necessarily controlled by the same person (so secret cookie stuff wouldn't 
be useful between them)
* Inside the container there are unique nodes (actors?). Each node needs to 
be addressable directly (routed from it's container?), but will handle 
entirely different things.
* Ideally the nodes will be able to be communicated with directly (actor 
selection or akka http?)
* For each node, there should be a guardian/receptionist as the single 
'channel of contact'. This will consume the messages, check any required 
auth, and then send them into a protected internal system (second actor 
system running inside the guardian actor? or is there a better pattern?) I 
don't think there is a need for the internal 'protected' actors to reply 
directly (as they could just send a new fire/forget event to the guardian 
on the other node), but if they wanted to, how would that fit in with the 
'guardian' pattern?

Essentially i'm trying to conceptualise a distributed event network, where 
any node is capable of sending events to any other node, and each node can 
process those received events as it deems necessary (or ignore them if it 
so chooses)

Also, does akka support a 'distributed' Pub/Sub (across disparate actor 
systems), or does it only work locally to a single actor system?

As an aside, are there any good books/sites that have a bunch of different 
akka design patterns? (aside from the ones scattered through the docs/etc)

Thanks heaps!!

- Glenn / devalias

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to