couchbaselabs / cbft

*THIS PROJECT HAS MOVED* from couchbaselabs TO: https://github.com/couchbase/cbft -- no further development will be done here on couchbaselabs/cbft
Other
27 stars 5 forks source link

incoming documents should be grouped into batches #4

Closed mschoch closed 9 years ago

mschoch commented 10 years ago

Currently each operation is executed individually. It will perform better to group operations by size and time.

Something like, place up to 1000 ops into a batch, or flush the batch every 0.5 seconds, whichever happens first.