Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53557

Increase connection pool idle timeout

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • 2

    Description

      We currently set the connection pool host timeout to 5min here. On the scale of some patterns of work (notably, mirrored reads), this may cause us to unnecessarily drop and recreate pools, which can be an expensive operation when the minimum pool size is set. Pool expiry also emits a mildly concerning message when seen in logs. We should set this host timeout to a larger value ala an hour.

      Acceptance Criteria: 

      Determine if the existing configurability is sufficient or if we need to change the default timeout (and change if needed). If new grad picks up this ticket, reach out in a team channel for a current answer.

       

       

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: