Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1447

Cache topology information rather than creating new clients

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Performance

      The tests create a lot of TestClient instances to check the topology type. We should instead do this once and cache the results so that all tests can access them, similar to what we do for CLIENT_OPTIONS. This will greatly cut down on the number of clients / connections we use during the test runs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: