Fwd: Patch update: netty-242

rzo rzo at gmx.de
Thu Jan 14 13:28:08 EST 2010


PS

as an alternative you may integrate an http tunnel.
here a java open source project

http://www.jumperz.net/index.php?i=2&a=0&b=0

-- Ron

On 14.01.2010 08:08, rzo wrote:
> Hi,
>
> just an idea, for those behind a firewall:
>
> you may write a reverse proxy which will receive http and convert it to
> asynch remote rpc and forward it
> to the rpc server.
> generally if going through the internet it is good to have some proxy
> inbetween the client and the server.
> the netty http proxy could be used as as starting point for this.
> this is the reason behind the WAF i mentioned in a previous post on this
> list.
>
> advantage of this would be:
> high performance for clients which connect per tcp
> a buffer between server and client so slow clients do not slow down the
> rpc server
> higher security, proxy will allow only http hessian rpc requests.
> reduce the number of concurrent open connections on the rpc server.
> use https over the internet, but not internally
> etc..
>
> BTW: tomcat supports cometd
> http://tomcat.apache.org/tomcat-6.0-doc/aio.html
>
> -- ron
>
> On 13.01.2010 22:21, fatbatman wrote:
>    
>> Hi Ron,
>>
>> We need an Http mechanism just because there a few users behind firewalls
>> that don't allow outgoing raw TCP connections, but admittedly they're not
>> many.
>> Async RPC can be done over Http by pulling messages from the server using
>> http 1.1 keep alive long polling, JBoss remoting 2.x does this but because
>> it's not nio it requires 1 thread per server ->   client callback connection.
>> I believe JBoss remoting 3 will be nio but I'm not sure when this is
>> expected to be available.
>>
>> You're probably right though, the Hessian servlet on JBossWeb or Tomcat may
>> be better for what we need.  They have the
>> com.caucho.servlet.comet.GenericCometServlet which I believe provides the
>> http callback stuff on nio and BAM API.
>>
>> I'm going to play around some more, thanks for your thoughts
>>
>> best wishes
>>
>> James
>>
>>      
> _______________________________________________
> 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