Socket.IO and Play Framework

415 views
Skip to first unread message

Drew

unread,
Jul 11, 2011, 2:28:07 PM7/11/11
to play-framework
Hey guys,

Has anyone in this group successfully integrated Socket.IO with Play
Framework? I am planning on using https://github.com/ibdknox/socket.io-netty
to write a module for Play, but figured to ask on this group to make
sure I'm not reinventing the wheel.

Thanks,

Drew

Kyle Mathews

unread,
Oct 10, 2011, 2:04:55 PM10/10/11
to play-fr...@googlegroups.com
Hey Drew,
Did you ever complete your Socket.io integration with Play?

Kyle

Drew

unread,
Oct 14, 2011, 8:09:14 PM10/14/11
to play-framework
No, after some more research, we figured Web Sockets or Long-Polling
weren't good fits for our app. We decided to do good ol' ajax refresh.
The issue is that once you use Web Sockets, then you lose stateless-
ness since there is a persistent connection between the client and the
server. In addition, you really have to think twice before going down
that path since you're going to end up with servers with A LOT of
connections.

mbaroukh

unread,
Nov 27, 2011, 5:38:24 AM11/27/11
to play-framework
Hi.

If you have any experience to share, I would love to heard it.
Having a lot or connections is what asynchronous programming is made
for : using await I thought wecould then handle thousands of
connections without many cpu usage. Isn't this right ?

Reply all
Reply to author
Forward
0 new messages