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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability

      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.

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: