The best way to implement batch readings in aerospace

I have a scenario where for each request I have to make a packet access of 1000 keys.

I am currently receiving 2,000 requests per minute and it is expected to increase.

In addition, I read that a packet aerospace package inside makes an individual request to the server simultaneously / sequentially.

I use Aerospace as a cluster (runs on SSD). So it’s efficient to write UDF (custom method) in lua to create a batch request and aggregate the results at the server level instead of a few calls from the client

Feel free to suggest whether the efficiency of the default packet air navigation package will be effective, or should I do something else.

+4
source share
2

- . , . , , null. - ( , ) . , .

+3

UDF UDF?

-, UDF, , .

UDF. - UDF, . UDF, , . - UDF, . - . 1000 , UDF . , UDF , , Aerospike, .

, , batch-index. :

, 2000 , 1000 , , 2000 * 1000 = 2Mtps . , SSD 2 , .

+3

Source: https://habr.com/ru/post/1693189/


All Articles