activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Posta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-304) Inconsistent documentation wrt connector buffer size options
Date Mon, 04 Mar 2013 03:31:15 GMT

    [ https://issues.apache.org/jira/browse/APLO-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591963#comment-13591963
] 

Christian Posta commented on APLO-304:
--------------------------------------

Setting them as an eponymous attribute will set the buffer size to a fixed value and auto-tuning
will not be used. From the docs:

{quote}
When the receive_buffer_size or send_buffer_size attributes are not set, then the broker will
'auto-tune' them to be between '64k' and '2k' based on the max number of connections established
against the broker in the last 5 minutes and the size of the JVM heap.
{quote}

Setting the value in the URI string will give the socket settings a value upon creation, where
the default is 64K.

I have updated the docs to be more clear about that. You should see the changes to the website
shortly.


                
> Inconsistent documentation wrt connector buffer size options
> ------------------------------------------------------------
>
>                 Key: APLO-304
>                 URL: https://issues.apache.org/jira/browse/APLO-304
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: 99-trunk-SNAPSHOT
>            Reporter: Lionel Cons
>
> The user manual has a "connectors" section describing the receive_buffer_size and send_buffer_size
options:
> http://activemq.apache.org/apollo/versions/99-trunk-SNAPSHOT/website/documentation/user-manual.html#Connectors
> They are described via "A connector element can be configured with the following attributes"
so one would expect to use:
> <connector id="tcp" bind="tcp://0.0.0.0:61613" receive_buffer_size="1024">
> but later in the manual we see:
> <connector id="tcp" bind="tcp://0.0.0.0:61613?receive_buffer_size=1024&amp;max_read_rate=65536"/>
> So, what is the correct way to specify these options: as eponymous attributes? as part
of the bind attribute URL? both?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message