You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/10/23 21:53:46 UTC

[jira] Assigned: (DIRSEDA-15) tune socket parameters in general

Message:

   The following issue has been re-assigned.

   Assignee: Trustin Lee (mailto:trustin@gmail.com)
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSEDA-15

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSEDA-15
    Summary: tune socket parameters in general
       Type: Improvement

     Status: Open
   Priority: Major

    Project: Seda Framework

   Assignee: Trustin Lee
   Reporter: Alex Karasulu

    Created: Thu, 19 Feb 2004 11:20 PM
    Updated: Sat, 23 Oct 2004 12:52 PM

Description:
Here are some settings we need to work with to prevent some problems and utilize resources more efficiently:

* Set send buffer size using setSendBufferSize(int size) this is less critical than the recieve buffer size but it might be worth tinkering with.  

* Set recieve buffer size using setReceiveBufferSize(int size) this perhaps has the most effect.  If we can propose a buffer size (note this does not definately set but proposes) that matches the buffer pool buffer size.

* Set keep-alives for client sockets to know when the client is down.  More on the use of keep alives can be found here:

http://www.unixguide.net/network/socketfaq/4.7.shtml
http://www.unixguide.net/network/socketfaq/2.8.shtml

* Set the timeout using setSoTimeout(int timeout) 

* Enable and set the socket linger settings using setSoLinger(boolean on, int linger) 

http://www.unixguide.net/network/socketfaq/4.6.shtml




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira