Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2375

More efficient query cache invalidation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None

      The driver currently invalidates the query cache on every write. This is inefficient because users can only read or write from one collection at a time, so it doesn't make sense to invalidate ALL cached cursors on a single write. To fix this, let's restructure the query cache to key first by collection, and then only invalidate the cache for the collection that's being written to.

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: