Thanks for the pointers Patrik. Already read through most of them before, but the distributed pub/sub one was new to me :)
I'm thinking as always there isn't necessarily going to be an 'easy solution', just read the docs and play around to see what works best :p Cheers - Glenn / devalias Cheers, Glenn 'devalias' Grant White Label Personal Clouds / Welcomer ___________________________________________________ [email protected] LinkedIn <http://au.linkedin.com/in/glenndevaliasgrant> | Twitter <http://twitter.com/_devalias> On 15 August 2014 17:27, Patrik Nordwall <[email protected]> wrote: > Some pointers into the documentation... > > > On Thu, Aug 14, 2014 at 4:46 AM, Greg Flanagan <[email protected]> > wrote: > >> I'm not qualified to address your questions directly but I find a good >> place to start when looking for akka patterns is the typesafe activator. >> Here <http://typesafe.com/activator/template/akka-clustering> is one on >> a clustered subpub. might be interesting for you. >> >> On Wednesday, August 13, 2014 4:07:15 PM UTC-7, Glenn / devalias wrote: >>> >>> 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) >>> >> > > http://doc.akka.io/docs/akka/2.3.5/java/remoting.html#Secure_Cookie_Handshake > > >> * 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? >>> >> > trusted-selection-paths > http://doc.akka.io/docs/akka/2.3.5/java/remoting.html#Untrusted_Mode > > >> >>> 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? >>> >> > http://doc.akka.io/docs/akka/2.3.5/contrib/distributed-pub-sub.html > > >> >>> 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) >>> >> > http://doc.akka.io/docs/akka/2.3.5/additional/books.html > > Regards, > Patrik > > >> >>> 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. >> > > > > -- > > Patrik Nordwall > Typesafe <http://typesafe.com/> - Reactive apps on the JVM > Twitter: @patriknw > > -- > >>>>>>>>>> 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 a topic in the > Google Groups "Akka User List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/akka-user/tEVpMg0xJlg/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- >>>>>>>>>> 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.
