Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-307

Investigate replacing select

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1
    • Affects Version/s: None
    • Component/s: None
    • None

      On Unix select only supports file descriptors with values <= 1023. This limit exists because a call to select.select() is O(highest file descriptor). PyMongo sometimes has to deal with many more open sockets. We could potentially replace select with poll but this isn't as portable. Maybe fall back to select on platforms that don't support poll?

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: