Project

General

Profile

Feature #1809

msgr: limit simultaneous connections

Added by Greg Farnum about 11 years ago. Updated almost 4 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

Related to Ceph - Feature #1808: filestore: gracefully handle EMFILE Rejected 12/09/2011

History

#1 Updated by Sage Weil about 11 years ago

  • Subject changed from SimpleMessenger should be able to limit simultaneous connections to msgr: limit simultaneous connections
  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 1079

#2 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_position deleted (1086)
  • translation missing: en.field_position set to 64

#3 Updated by Sage Weil about 11 years ago

  • Target version changed from v0.40 to v0.41
  • translation missing: en.field_position deleted (71)
  • translation missing: en.field_position set to 11

#4 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_position deleted (23)
  • translation missing: en.field_position set to 103

#5 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_story_points set to 13
  • translation missing: en.field_position deleted (101)
  • translation missing: en.field_position set to 26

#6 Updated by Sage Weil about 11 years ago

  • Target version deleted (v0.41)
  • translation missing: en.field_position deleted (30)
  • translation missing: en.field_position set to 1

#7 Updated by Sage Weil about 11 years ago

  • Target version set to v0.41
  • translation missing: en.field_position deleted (1)
  • translation missing: en.field_position set to 29

#8 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_position deleted (29)
  • translation missing: en.field_position set to 30

#9 Updated by Sage Weil about 11 years ago

  • Target version deleted (v0.41)
  • translation missing: en.field_position deleted (30)
  • translation missing: en.field_position set to 1

#10 Updated by Greg Farnum almost 4 years ago

  • Project changed from Ceph to Messengers
  • Category deleted (msgr)

Also available in: Atom PDF