Tuesday 11 April 2017

Couchbase NodeJS bulk upsert

I'm facing problems while upserting many documents in a Couchbase 3 server with nodejs.

I launch processes in parallel and I can see a hudge RAM usage. It seems for each upsert, couchbase updates the views. Because I'm upserting 2 types of documents, I have 11 views that need to be updated.

Is there a way to block views update and flush everything in one shot at the end of the process?

Thanks!



via rekam

No comments:

Post a Comment