Project

General

Profile

Actions

Feature #1809

open

msgr: limit simultaneous connections

Added by Greg Farnum over 12 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Right now SimpleMessenger has no mechanism for limiting the number of simultaneous connections it holds open. This is a facility it will need for handling large numbers of clients.

Probably the best mechanism is to keep the sockets on an LRU and when we need to open a new one that exceeds our limit, we close the oldest one. I think we have enough reconnect smarts at other layers that we can do this while still guaranteeing forward progress.


Related issues 1 (0 open1 closed)

Related to Ceph - Feature #1808: filestore: gracefully handle EMFILERejected12/09/2011

Actions
Actions

Also available in: Atom PDF