Bulk load to Couchbase


#1

Hey,

We use Couchbase Client in version 1.4.5, and have a performance question.

Currently we put 3200 keys with data to the database one by one (just iterate over all possible keys, and then use of OperationFuture net.spy.memcached.MemcachedClient.set(String key, int exp, Object o) method for every entry. This approach works, hovewer times are bad (many small writes to Couchbase).

Can we use something a’la bulk load to pack all the keys/data in just one request, and send it to the couchbase? Something similar like bulkGet? How can it be done with Client 1.4.5 and in Java?

Thanks in advance for any help.

Regards,

Maciek