You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Todd Baldwin (JIRA)" <ji...@apache.org> on 2015/08/06 15:46:05 UTC

[jira] [Created] (AVRO-1712) NettyAvroRpcClient.configure() prevents timeouts less than one second

Todd Baldwin created AVRO-1712:
----------------------------------

             Summary: NettyAvroRpcClient.configure() prevents timeouts less than one second
                 Key: AVRO-1712
                 URL: https://issues.apache.org/jira/browse/AVRO-1712
             Project: Avro
          Issue Type: Improvement
          Components: java
    Affects Versions: 1.7.7
            Reporter: Todd Baldwin
            Priority: Minor


The NettyAvroRpcClient prevents connection or request timeouts less than one second.  I would like to remove this restriction.  I'm hoping to specify values down to around the tens-of-millisecond ranges.

My actual use case is log4j/Flume with Load-Balancing Log4jAppender using Avro.  I have 50 clients hosts sending to 70 Flume collectors.  Under high load, log4j/Flume can spend a long time in timeouts to multiple destinations with the 1 second request/connect timeouts.  I would like to bring the NettyAvroRpcClient timeouts down into the 50 millisecond-or-so range to help avoid buffer overflows when one or more destinations are down.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)