Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1196

Make client pool a LIFO

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The mongoc_client_pool_t is currently a FIFO queue: mongoc_client_pool_push stores the pushed client at the tail of the queue, while mongoc_client_pool_pop removes and returns a client from the head. For cache coherence, transform the pool to a LIFO.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: