Fwd: Patch update: netty-242

"Trustin Lee (이희승)" trustin at gmail.com
Mon Jan 25 04:34:14 EST 2010


Very true.  I just hope someone is working on a similar library which
uses Netty as a backend. ;)

rzo wrote:
> Hello,
> 
> Netty does not (yet ?) have an implementation of an asynchronous http
> client, as provided by asynchweb.
> Sure, this could be easily implemented with netty. But, this requires
> some programming.
> 
> However, I will be happy to know if I am wrong.
> 
> -- Ron
> 
> On 14.01.2010 01:35, "Trustin Lee (이희승)" wrote:
>> Why AsyncWeb instead of Netty? :)
>>
>> rzo wrote:
>>   
>>> Hello,
>>>
>>> The idea of this patch is to avoid the http overhead, thus reducing
>>> communicaiton to a minimum.
>>> You could extend this patch to run over http, but for that I would
>>> recommend using the hessian servlet with tomcat.
>>> I have not done benchmarks tomcat vs netty HttpDecoder, but tomcat is
>>> very efficient, it supports NIO and APR
>>> and implements all you need concerning security and authentication. With
>>> netty you will have to implement it on your own.
>>> A few years ago I benchmarked hessian rpc on jetty and tomcat and
>>> decided to
>>> go with tomcat.
>>>
>>> Maybe dumb question: why http ? If you want asynchronous RPC you will
>>> either need some asyncrhonous http on the
>>> client side (for example:
>>> http://docs.safehaus.org/display/ASYNCWEB/Home) you will need support
>>> for asynchronous http,
>>> which requires non-standard framework.
>>>
>>> regards
>>>
>>> -- Ron
>>>
>>>
>>> On 13.01.2010 00:47, fatbatman wrote:
>>>     
>>>> Hi Ron,
>>>>
>>>> I just had a quick look and it seems very nice.  I'll have a quick
>>>> play over
>>>> the next few days and get back to you with some feedback.
>>>>
>>>> Could it be run over Http(s) by making HessianRPCReplyDecoder extend
>>>> HttpMessageEncoder? etc I believe in that case a second connection
>>>> would be
>>>> needed to handle the continuations.
>>>>
>>>> regards
>>>>
>>>> James
>>>>
>>>>        
>>> _______________________________________________
>>> netty-users mailing list
>>> netty-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/netty-users
>>>      
>>   
>>
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>>    
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100125/c40c545e/attachment.bin 


More information about the netty-users mailing list