Servlet adapter and Netty

Nicholas Hagen nicholas.hagen at znetdevelopment.com
Wed Mar 17 21:55:39 EDT 2010


Why not just front everything with Apache and its proxy capabilities.  I use this often and it has good performance as far as I can tell.  Then, you can run whatever app server you want, whatever websocket server you want, and Netty.  HTTP will make sure, depending on the path or other criteria you specify, to forward to the proper server.  Servlets are very complicated entities, especially to shoehorn into an NIO environment where you do not use one thread per connection.

Nick

=================================
Nicholas Hagen
Z|NET Development, LLC
www.znetdevelopment.com
=================================
Now Available:  Push RSS
RSS Viewer for iPhone OS 3
www.znetdevelopment.com/znet/iphone.html
=================================

On Mar 17, 2010, at 3:31 PM, ChickenPants wrote:

> 
> Grizzly has webapp/servlet adapter to shoehorn an existing webapp without
> using Tomcat or bigger.
> 
> Is there such a thing for Netty?
> 
> I'm deeply interested in port unification (WebSocket, HTTP, and a custom
> protocol) all running happily together but I don't see a good way other than
> to try and proxy the HTTP/WS after sniffing for the custom which seems to
> defeat the performance advantage.
> 
> Pointers?
> -- 
> View this message in context: http://n2.nabble.com/Servlet-adapter-and-Netty-tp4752485p4752485.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users




More information about the netty-users mailing list