RediSearch / RSCoordinator

RediSearch coordinator
Other
23 stars 10 forks source link

[PERF] RSCoordinator background thread parses N times the same command, with N as shard number #302

Open filipecosta90 opened 2 years ago

filipecosta90 commented 2 years ago

Currently, the RSCoordinator background thread parses N times the same command, with N as shard number, making it waste a significant portion of CPU cycles on it. On the bellow example ( with 25 shards ) it took 8.5% of the total background thread CPU cycles.

image