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

Add test to check performance of cancelling many client connections in mongo executable

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Cluster Scalability

    Description

      SERVER-78409 modified removing (erasing) a cancelled client from _outstandingQueries by query instead of an iterator (which can be invalid). New behavior is to traverse the linked list to find query and remove. Since the list should be small, there should be no performance impact, however we need to add a test to measure the performance. It may be especially important if we have to cancel many client connections at the same time, thus performing a linear lookup in the list for every client entry. If it turns out that there is a performance issue, we should consider replacing the list with a map.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: