couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1264) optimize bulk api
Date Sun, 28 Aug 2011 18:14:37 GMT
optimize bulk api

                 Key: COUCHDB-1264
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
    Affects Versions: 2.0
            Reporter: Benoit Chesneau

Actually, we pas bulk operations inside a json documents, {"docs", ...  } which make it difficult
to parse or at least require more cpu uses to do it.

I propose instead to send one line per bulk operations  :

{"_id": "someid", "_rev": "somerev", "_deleted": true}\n
{"_id": "someid", "_rev": "somerev", "field": "value"}\n

Which would aloows the client and couchdb to stream each operations more easilu. We could
also maybe handle continuous bulk updates etc. What do you think about it? I could work on
an implementation that does that.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message