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

Alexander Shigin commented on THRIFT-354:
-----------------------------------------

1. I've made some test with random query and answer length (up to 2 Mb). I 
think that 512 is too big value.

2. I'd like to specify the memory limit (i don't like the idea of cutting size 
of buffer with 1500 bytes to 1024).

> Tunable reset buffer behavior in TNonblockingServer
> ---------------------------------------------------
>
>                 Key: THRIFT-354
>                 URL: https://issues.apache.org/jira/browse/THRIFT-354
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (C++)
>            Reporter: Alexander Shigin
>
> THRIFT-265 introduce buffer reset every 512 calls.
> In some cases the behavior should be tuned in user code.

-- 
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