getLastError should piggy back on the insert/update/upsert operations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      All operations to save data to mongodb should also let the getLastError parameters on the original request. This will prevent an extra network roundtrip to fetch the GLE results.

      This is extremely important to improve the latency of the save operations by 10s/100s of microseconds.

        1. loadtest.tgz
          3.49 MB
          Inder Sabharwal

            Assignee:
            Unassigned
            Reporter:
            Inder Sabharwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: