Hi Tagir, that design is certainly possible (I would not qualify use-cases as correct or incorrect), although SignalR/Azure/DB are not a priori necessary components: you could also build the front-end using Play framework<http://www.playframework.com/>(for example), use Akka Cluster <http://doc.akka.io/docs/akka/2.3.0-RC2/scala/cluster-usage.html>and Distributed PubSub<http://doc.akka.io/docs/akka/2.3.0-RC2/contrib/distributed-pub-sub.html>for messaging and Akka Persistence <http://doc.akka.io/docs/akka/2.3.0-RC2/scala/persistence.html>for storing the game world's state. But any mix you might choose should work just fine. You can take a look at the Reactive Maps<http://typesafe.com/activator/template/reactive-maps>tutorial in Activator <http://typesafe.com/platform/getstarted> if you are interested in how it looks like to use the whole Typesafe Platform.
Regards, Roland On Tue, Feb 11, 2014 at 3:56 AM, Tagir Magomedov <[email protected]>wrote: > Hello everyone. I guess it's one of those "should I use Akka for this" > posts. > > I'm completely new to distributed application design and am trying to do > this test application to get some understanding on how it all works > together. Thus I would appreciate any feedback on the following application > design. > > *Problem:* > > Design a turn-based multiplayer game. > > *Possible implementation:* > > I'm thinking of the following high-level implementation/workflow: > > Client (Mobile/Web/etc) <-> SignalR ASP MVC website <-> Azure/AWS MQ <-> > Akka actors <-> DB > > Each connected client will have a corresponding Player actor in Akka > backend. > > All requests/responses for a client would go through SignalR ASP frontend > and delegated through message queue to appropriate backend actors. > > All moves/state queries to the game would be made by those Player actors > to corresponding Gameactor in backend which will handle updating game > state in DB. > > *Question:* > > Does that design make sense? Is it a correct use-case for Akka? > > Thanks, > Tagir. > > p.s. > > Copied from: > http://stackoverflow.com/questions/21691169/asp-net-to-akka-through-azure-aws-message-queue > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> 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/groups/opt_out. > -- Akka Team Typesafe - The software stack for applications that scale Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> 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/groups/opt_out.
