webfrank commented on issue #2766:
URL: https://github.com/apache/kvrocks/issues/2766#issuecomment-2644997876

   @aleksraiden 
   
   HSET is around 5kB, some simple keys and one or two binary data (args of the 
task and result if available) this multiplied by the number of tasks, around 
300k
   
   redis-benchmark output:
   
   ```
   kvrocks@bb0374854df0:/$ redis-benchmark -h 127.0.0.1 -p 6666 -q
   WARNING: Could not fetch server CONFIG
   PING_INLINE: 21285.65 requests per second, p50=1.103 msec                   
   PING_MBULK: 23820.87 requests per second, p50=1.079 msec                   
   SET: 6615.94 requests per second, p50=5.215 msec                   
   GET: 23534.95 requests per second, p50=1.087 msec                   
   INCR: 6045.22 requests per second, p50=5.879 msec                   
   LPUSH: 5730.99 requests per second, p50=6.143 msec                   
   RPUSH: 5877.86 requests per second, p50=5.215 msec                   
   LPOP: 5724.43 requests per second, p50=5.727 msec                   
   RPOP: 5462.99 requests per second, p50=6.423 msec                   
   SADD: 5952.03 requests per second, p50=5.031 msec                   
   HSET: 6454.11 requests per second, p50=5.471 msec                   
   SPOP: 22946.31 requests per second, p50=1.135 msec                   
   ZADD: 6343.97 requests per second, p50=6.015 msec                   
   ZPOPMIN: 23153.51 requests per second, p50=1.127 msec                   
   LPUSH (needed to benchmark LRANGE): 5858.57 requests per second, p50=5.567 
msec                   
   LRANGE_100 (first 100 elements): 18011.53 requests per second, p50=1.439 
msec                   
   LRANGE_300 (first 300 elements): 11579.44 requests per second, p50=2.271 
msec                   
   LRANGE_500 (first 500 elements): 8394.19 requests per second, p50=3.047 msec 
                  
   LRANGE_600 (first 600 elements): 7510.33 requests per second, p50=3.479 msec 
                 
   MSET (10 keys): 5357.05 requests per second, p50=7.431 msec  
   ```
   
   @git-hulk I tried to reproduce it with a script but it only happens using RQ 
in a random way, usually the first batch of tasks works, the second not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to