You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2007/08/02 03:55:52 UTC

[jira] Created: (RIVER-177) Support configurable concurrency limits on processing of connections and requests

Support configurable concurrency limits on processing of connections and requests
---------------------------------------------------------------------------------

                 Key: RIVER-177
                 URL: https://issues.apache.org/jira/browse/RIVER-177
             Project: River
          Issue Type: Bug
          Components: net_jini_jeri
            Reporter: Phil Steitz
            Priority: Minor


Bugtraq ID [6313634|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6313634]

The JERI transport implementations generally attempt to process incoming client communication-- either new connections, or new requests-- with unlimited concurrency, until it is impossible to create more concurrent threads (and the VM throws an OutOfMemoryError because of that).

In order to allow for more controlled management of system behavior in the face of incoming requests beyond the intended concurrency scale, it would be useful to be able to specify limits on both the number of connections that are accepted and the number of requests dispatched-- when such a limit is exceeded, a new connection attempt or request attempt is actively rejected.  Note that according to the JERI specification, dispatching of a request must not be queued indefinitely behind requests already in  customer ; for related discussion, see this JINI-USERS post:

http://archives.java.sun.com/cgi-bin/wa?A2=ind0504&L=jini-users&P=33490

Such limits could be specified using system properties.  One question would be whether or not the limits are shared across all the standard transport provider implementations (instead of per transport provider implementation).
Posted Date : 2005-08-19 20:13:57.0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.