Re: [akka-user] Re: Akka WebSocket as an Api

2016-07-19 Thread Konrad Malawski
Wanted to ask about your considerations for tradeoffs for using Play vs straight Akka-Http-Stream and Websockets? Akka is a toolkit. Play is a framework. If it's a "web app" Play would be better. If it's "raw api" I would recommend Akka HTTP though quite honestly it's a personal preference thing

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
Hello! Wanted to ask about your considerations for tradeoffs for using Play vs straight Akka-Http-Stream and Websockets? Is this the best forum for such a question; or Quora, or elsewhere? Thanks! D On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7, ani...@egnaroinc.com wrote: > > I have a chat

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
Hello! Wanted to as what your considerations were on tradeoffs for going for the Play approach as opposed to straight Akka-Http-Stream and Websockets approach? Or, perhaps suggest the best forum to get such info -- Quora maybe? On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7,

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7, ani...@egnaroinc.com wrote: > > I have a chat application developed in Akka and Scala using Play framework > WebSockets. > I want to make it as an Api based service. For connection , i have used > the similar block from official documentaton as: >

[akka-user] Re: Akka WebSocket as an Api

2016-07-13 Thread Johan Andrén
Any interaction with the "out" actor should probably be inside your HandlerClass actor, I'd call that ChatConnection or something more descriptive. If more actors wants to interact with it you should create protocol for those actions and keep the actual interaction with "out" inside that