Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-428

c++ driver should support prefetching (pipelining) of data

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Internal Client
    • None

    Description

      the C++ driver should have an option to asynchronously fire off a getMore mesage before the client consumes the current batch of data, and then wait for the response when the client asks for more data than has so far been received.

      this would improve replication and cloning performance as client and server can then work concurrently – replication code (repl.cpp) should use this flag.

      some care must be taken that the asynchronous more result is waited for if the client decides not to consume all the data from the query (as this would be an option, perhaps one must consume it all and this is simply an assert check that this is done)

      the same pipelining feature would make sense in other drivers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwight@mongodb.com Dwight Merriman
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: