This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis-benchmark -n 10000 georadius {global}:z:locations:u1 51.0500000 3.7166700 10 km withdistance ascending | |
==> 16672.22 requests per second | |
lua script & loaded with script load, (beb7db091bbce8bf94167b02e8f136f1fcbc0889) | |
return redis.call('georadius', '{global}:z:locations:'..ARGV[1], ARGV[2], ARGV[3], 10, 'km', 'withdistance', 'ascending') | |
redis-benchmark -n 10000 evalsha beb7db091bbce8bf94167b02e8f136f1fcbc0889 0 u1 51.0500000 3.7166700 | |
==> 4277.16 requests per second | |