Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 611189A5E for ; Thu, 12 Apr 2012 12:11:44 +0000 (UTC) Received: (qmail 39291 invoked by uid 500); 12 Apr 2012 12:11:44 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 39240 invoked by uid 500); 12 Apr 2012 12:11:44 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 39232 invoked by uid 99); 12 Apr 2012 12:11:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 12:11:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_FRT_STOCK2,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 12:11:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 865CF3676E4 for ; Thu, 12 Apr 2012 12:11:20 +0000 (UTC) Date: Thu, 12 Apr 2012 12:11:20 +0000 (UTC) From: "Hiram Chirino (Commented) (JIRA)" To: commits@activemq.apache.org Message-ID: <234944955.16958.1334232680559.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <767390269.16282.1334213064971.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (APLO-190) Add support for socket level tuning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252366#comment-13252366 ] Hiram Chirino commented on APLO-190: ------------------------------------ Apollo always sets SO_LINGER to 0, so that it can control when the TCP connection is finally reset. It also always enables TCP_NODELAY since apollo handles optimally buffering multiple writes into bigger IP packets. The SO_RCVBUF and SO_SNDBUF are configured via the tcp transport's 'receive_buffer_size' and 'send_buffer_size' (I'll update the docs so that's more clear). I'll shortly add an option for configuring the listen backlock. > Add support for socket level tuning > ----------------------------------- > > Key: APLO-190 > URL: https://issues.apache.org/jira/browse/APLO-190 > Project: ActiveMQ Apollo > Issue Type: Improvement > Reporter: Lionel Cons > > In order to better control Apollo's network behavior, it would be very good to be able to configure some socket parameters via Apollo's configuration file. The ones that come to my mind now are: > listen()'s backlog > setsockopt()'s SO_LINGER, SO_RCVBUF and SO_SNDBUF > FWIW, SO_KEEPALIVE is already tunable in Apollo and ActiveMQ has these already (see http://activemq.apache.org/tcp-transport-reference.html). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira