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

Make client pool a LIFO

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: