RediSearch / RSCoordinator

RediSearch coordinator
Other
23 stars 10 forks source link

[perf] Using redis allocators on hiredis #306

Closed filipecosta90 closed 3 years ago

filipecosta90 commented 3 years ago

Fixes #303

filipecosta90 commented 3 years ago

@ashtul , @MeirShpilraien this PR bumps the achievable throughput by ~5%, as seen bellow, for the YCSB search query sample:

redis-benchmark -c 1 -n 50000 -e -p 30001 "FT.SEARCH" "index" "PAPER CUPS" "VERBATIM" "SORTBY" "productScore" "LIMIT" "0" "3"

============= master 
Summary:
  throughput summary: 2181.50 requests per second
  latency summary (msec):
          avg       min       p50       p95       p99       max
        0.451     0.424     0.447     0.487     0.511     0.991

============= perf-hiredis-alloc
Summary:
  throughput summary: 2304.47 requests per second
  latency summary (msec):
          avg       min       p50       p95       p99       max
        0.427     0.400     0.423     0.471     0.519     1.199
filipecosta90 commented 3 years ago

closing in favour of #307