I use nodejs client for Aerospike, and I would like to create for example 4 child processes and have each one query 1/4 of the database. I have proved with my own custom script that doing this increases up to 2x the speed of the full scan.
Is there I can achieve this with scan method?
For example, I would like to execute the following scan:
var scan = asd_client.query(“namespace”, “set”, options); var stream = scan.execute();
But once per child, and they scan different documents, complementing each other and getting 100% of the set. Is this possible?