GitHub user VIVALXH edited a comment on the discussion: 内存中的数据量是否会影响性能?
@git-hulk 谢谢,那时的内存下降可能是内存溢出docker重启了,这个表现确实和内存没关系。 在控制内存大小的情况下,我们简化了测试命令并重新测试,应该是lrange的时间复杂度问题。 kvrocks 中 lrange的时间复杂度应该是和redis类似的 O(S+N)?  测试命令: redis-benchmark -h 192.168.1.115 -p 6666 -c 30 -n 10000000 eval ' local key="key:" .. math.random(100000, 200000) local value=string.rep("a", 512) redis.call("lpush",key,value) return redis.call("lrange",key,0,10) ' 0 测试结果为:  GitHub link: https://github.com/apache/kvrocks/discussions/2695#discussioncomment-11625549 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
