Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-66

Implement unacknowledged writes with async goroutines

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.1
    • None
    • CRUD
    • None

    Description

      Updated:

      In order to emulate legacy opcode latency with unacknowledged writes, the driver needs to process the database reply asynchronously in a goroutine before returning the connection to the pool.

      Originally:

      Traditionally, drivers have continued to implement w:0 writes with legacy opcodes to avoid performance regressions. We could skip doing so (as we'd have no previous performance to regress from) and avoid implementing legacy op codes completely which will be unneeded once OP_MSG supports fire and forget writes in 3.8.

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: