eduardotang

Results 5 comments of eduardotang

@tidwall , have you been able to find a clue? i am noticing similar problem even with only 1 or 2 fences 12:16:18 -send 3 SETs 13:12:55 -send 16 SETs...

your code snippet was what i did but i actually haven't noticed ordering problem yet within 1 batch ( 1 call to Promise.all) the problem was among different batches i.e....

below is the code snippet ``` typescript async function cmd_to_tile38(client, cmds) { await Promise.all ( cmds.map((c) => client.sendCommand(c)) ) } async function process_points(.....) { const commands = [] for (...

> Please correct me if I am wrong, but I am pretty sure `Promise.all` does not guarantee that commands resolve in order. It only attempts to send both at the...

I just realized that auto pipelining from https://github.com/redis/node-redis is not that pipelining of redis anyways, i turn to use https://github.com/luin/ioredis which supports redis pipelining , the problem seem resolved..... thx