I'd like to insert millions of records as a batch process from MongoDB to Aerospike. I follow the documentation and found this doc: http://www.aerospike.com/docs/client/nodejs/usage/kvs/write.html but with this only one record can we inserted at a time.
Please help me how I can perform insert over millions of key values at a single time. Any suggestion to optimize write operation
Every record write into Aerospike will be a single record write since Aerospike has a record level lock. Don't see how you can write a million records in one operation. Records for a given namespace are distributed evenly across the Aerospike cluster based on a hash of their set name and record key. So writes to the Aerospike cluster from the client side have to be individual record writes.