Improve bulk doc saving, retrieval

Bug #1019961 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Microfiber
Fix Released
High
Jason Gerard DeRose

Bug Description

Although CouchDB doesn't have the greatest serial performance, it's generally been fast enough for Dmedia/Novacut so far. Certainly fast enough for how we use it from the UI, and generally fast enough for how we use it in the backend.

However, there are some recent Dmedia features that require us to retrieve and (possibly) update many docs in rapid succession, and the serial CouchDB performance just isn't good enough for this.

This bug is to track the change, which:

 * Changes Database.bulksave() to use "non-atomic" semantics and raise the new BulkConflict exception when there are conflicts

 * Adds experimental Database.get_many() method to make it easier to retrieve many documents at once

Related branches

Changed in microfiber:
status: In Progress → Fix Committed
Changed in microfiber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.