optimize bulk api ----------------- Key: COUCHDB-1264 URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira