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

Implement caching cursor in driver

    • Fully Compatible

      Currently the query cache, as implemented by Mongoid, duplicates a portion of driver's cursor code plus adds the query caching on top. This has two issues:

      1. The code that was copied is by now outdated. It uses legacy read retries, performs server selection in an outdated way, etc.
      2. Changes to the driver can break the query cache, due to the query cache's reliance on driver internals.

      Since the query cache operates on collection/operation/cursor level, it can be implemented in the driver, with Mongoid only exposing the implementation using a (more) convenient API.

            Assignee:
            grace.chong@mongodb.com Grace Chong (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: