[aerogear-dev] [SimplePush] Sockjs support

Daniel Bevenius daniel.bevenius at gmail.com
Mon May 27 10:59:37 EDT 2013


Hi,

I've been working on adding support for Sockjs to the SimplePush server.
There is a project named socksj-netty [1] which is an external project
written for Netty 3.x.
We are using Netty 4 and there have been quite a few changes between these
two versions. I've spent some time already trying to upgrade to Netty 4 but
I have not been completely successful. Testing has been hard as there is
only an external test suite [2], so it's been a matter of getting the code
base to compile and trying to change as little as possible to work with
Netty 4.
Perhaps due to my lack of understanding the sockjs-protocol I've found this
to be somewhat of guess work. There are also parts of the sockjs-protocol
that I'm not sure are implemented, like heartbeats.

I'm now considering rewriting the sockjs-netty and use the "Netty 4 way".
This will take some time which was not planned for.
Another option that Matthias brought up was to instead use Vert.x. It was
discussed previously what we should base our implementation on and I got
the impression that we "should" stick with Netty. I've been very happy with
Netty and would like to continue with it, but this might be that I'm more
familiar with it compared to Vert.x.

So I'd like to hear what people think:
1. Implement Netty Sockjs
2. Switch to Vert.x instead

thanks,

/Dan

[1] https://github.com/cgbystrom/sockjs-netty
[2] https://github.com/sockjs/sockjs-protocol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130527/df73d7e0/attachment.html 


More information about the aerogear-dev mailing list