I am using a Java Driver and I see a lot of bulk get methods but I fail to see a bulk set. From the documentation I see that it is recommended that bulk loads my be more efficient and faster but I don't see how to implement such an operation.
You do not have a method in Java do to BulkLoad, we do BulkGet (that we also call multiget).
When we talk about Bulkload it is done using JSON file importer, here some pointer:
I will be curious to know on which kind of operation/application you may need bulk set. Have you done some tests with your Java application? usually on a well sized cluster Couchbase is very fast.
Since 'set' is an asynchronous operation can I issue a bunch of those operations before checking the status?
I see a lot of postings for a StoreHandler that uses an exponential backoff to wait for operations that fail. For this code the comment starts out with something like "With Bulk Load operations . . . . " What is the purpose of this code if it is not ties with a Bulk Load operation?
Yes you can use many set and check the status after the fact. (using the OperationFuture object)
Can you point me to the exact location where you see this kind of information?
I was specifically looking at
It does seem like quite a hole that bulk setting is not supported in the java API. The C API supports it well.
I have a pretty common use case for my cache loader java class. It has to process 100s K of xml records and transform them into json objects and store in Couchbase. At the moment its using set for every single json object. I think it will be great addtion to Java CouchbaseClient to have "bulkSet" operation (similar to "bulkGet").
© 2013 COUCHBASE All rights reserved.