--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/408db90a-13e8-482e-9600-c4a9188ae6f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,I'm just evaluating whether play would be a good fit for a project that has major real-time/websocket part to it.
I like how the phoenix-framework is kind of 'real-time' as a first class citizen, whereas with play you have to go over these tutorials and most of them are fairly simple in nature.
Are there any case studies or high profile websites that you guys know of that use play's for real-time feature?
Has the move the actors in the backend versus netty changed things performance wise?
--Thanks!
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/408db90a-13e8-482e-9600-c4a9188ae6f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mon, Jul 31, 2017 at 1:56 PM, gitted <sahme...@gmail.com> wrote:Hi,I'm just evaluating whether play would be a good fit for a project that has major real-time/websocket part to it.
I like how the phoenix-framework is kind of 'real-time' as a first class citizen, whereas with play you have to go over these tutorials and most of them are fairly simple in nature.Phoenix is definitely pretty cool from what I've seen of it. The advantage of Play is you have access to the entire JVM ecosystem. You're also dealing with native threads on the JVM so you need to use slightly different abstractions than you do with the BEAM VM. Play tries to give you sensible defaults and conventions so you don't have to worry about that too much.Are there any case studies or high profile websites that you guys know of that use play's for real-time feature?Yes, there are many large companies using Play for websockets and realtime apps. I'd argue it's much more battle-tested in that respect. See this blog post from LinkedIn for example: https://engineering.linkedin.com/blog/2016/10/instant-messaging-at-linkedin--scaling-to-hundreds-of-thousands-Has the move the actors in the backend versus netty changed things performance wise?Play already was using Akka internally for handling requests when using Netty. The move to Akka HTTP just means we're using Akka at the low level for the HTTP server component as well. Performance-wise, we've found the performance of Akka HTTP and Netty to be about equal (about 75000 req/s for a simple app with no filters).
Thanks!
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/408db90a-13e8-482e-9600-c4a9188ae6f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Real-time is what Play is built on. You've got a stream in, and you can stream data out. Everything else is built on top of that:There are a number of major, well known companies that use Play for streaming and real time:You can see Play's performance results here -- they give you an idea of Akka HTTP vs Netty:
On Mon, Jul 31, 2017 at 1:56 PM, gitted <sahme...@gmail.com> wrote:
Hi,I'm just evaluating whether play would be a good fit for a project that has major real-time/websocket part to it.
I like how the phoenix-framework is kind of 'real-time' as a first class citizen, whereas with play you have to go over these tutorials and most of them are fairly simple in nature.Are there any case studies or high profile websites that you guys know of that use play's for real-time feature?Has the move the actors in the backend versus netty changed things performance wise?Thanks!
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e35fa2b7-1fd8-4fe5-80c7-e949973e5288%40googlegroups.com.
>>Phoenix is definitely pretty cool from what I've seen of it. The advantage of Play is you have access to the entire JVM ecosystem. You're also dealing with native threads on >>the JVM so you need to use slightly different abstractions than you do with the BEAM VM. Play tries to give you sensible defaults and conventions so you don't have to >>worry about that too much.The one thing I like is how they have their own client library for websockets etc.What web socket javascript client library is widely used in the play! world?
On Mon, Jul 31, 2017 at 1:56 PM, gitted <sahme...@gmail.com> wrote:Hi,I'm just evaluating whether play would be a good fit for a project that has major real-time/websocket part to it.
I like how the phoenix-framework is kind of 'real-time' as a first class citizen, whereas with play you have to go over these tutorials and most of them are fairly simple in nature.Phoenix is definitely pretty cool from what I've seen of it. The advantage of Play is you have access to the entire JVM ecosystem. You're also dealing with native threads on the JVM so you need to use slightly different abstractions than you do with the BEAM VM. Play tries to give you sensible defaults and conventions so you don't have to worry about that too much.