Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-631

Add query service fast prepare support

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.0-beta.2
    • None
    • None
    • None
    • 1
    • SDK34: Verify,Retry,DSv2, SDK38: Redaction,Releases,Test, SDK40: Verif2,Bugs,Docs,Retry, SDK42: Verif2,Retr,RTO,Circuit, SDK44: βref(1),CombT,Migration, SDK48: βref(2),CombT,Migr., SDK50: βref(2),CombT,Migr., SDK52: B/GA, Doc:Migr/Stngs/Co

    Description

      As an update to sdk-rfc #38, add the improvement relating to fast prepare.

      From the email sent out on this:

      Long promised, finally here – the (hopefully) final update to the enhanced prepared statements RFC.

      The RFC has been updated, please re-read this chapter: https://docs.google.com/document/d/1JhprmvL2HwHzkg7GxouGJc67eAvKFJekgyOG23T8mVU/edit#heading=h.jyt1um891uu

      It covers the new fast-prepare support, you can find more about it here too: https://docs.google.com/document/d/11w93jq_a6sAYqcJG5roIKAYm7WGTBD-obr9hqQTe9Ck/edit

      TL;DR:

      Prepare and execute are replaced with a single operation, which works as described in the document
      This helps us to cut down to a single operation even in the case where the cache is not primed with the given statement

      The java implementation for reference can be found in this gerrit change: http://review.couchbase.org/#/c/113494/

      Thanks,
      Michael

      Attachments

        Activity

          People

            david.kelly David Kelly (Inactive)
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty