[ 
https://issues.apache.org/jira/browse/THRIFT-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836501#action_12836501
 ] 

Aron Sogor commented on THRIFT-669:
-----------------------------------

I wrote up some more explonation 
:http://hungariannotation.blogspot.com/2010/02/no-rpc-for-async-io-case-for-flash-as3.html
also sent a patch for JAva and As3 in 
https://issues.apache.org/jira/browse/THRIFT-518

> Use Http chunk encoding to do full duplex transfer in a single post
> -------------------------------------------------------------------
>
>                 Key: THRIFT-669
>                 URL: https://issues.apache.org/jira/browse/THRIFT-669
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.2
>            Reporter: Aron Sogor
>         Attachments: TFullDuplexHttpClient.java
>
>
> Instead of each method call being a separate post, use chunk-encoded request. 
> If you look at the traffic in wireshark many times the payload is much 
> smaller than the HTTP header. Using chunk encoding, the per method overhead 
> of the http header is gone. Running a simple test of getting a time as i32, 
> using http post vs chunk encoding I got from 100+ms to ~40ms per request as 
> the servlet container did not have to process the overhead of a "new request".
> More I think with jetty and continuation the long running connections could 
> actually scale and perform a lot better than the current HttpClient.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to