Big key
Last updated
Was this helpful?
Last updated
Was this helpful?
Star's follower list
Comments under hot topic
Value stores too many items(e.g. redis Hash/List/Set/SortedSet)
The upper limit size is 2^32
As long as number of items inside collection >= 1 million, the latency is roughly 1s.
Using redis as example
Using redis as example
When cache value is bigger than a certain size, use compression.
Under the same key, limit the size of buckets.
https://mp.weixin.qq.com/s?__biz=MjM5ODYxMDA5OQ==&mid=404202261&idx=1&sn=1b8254ba5013952923bdc21e0579108e&scene=21#wechat_redirect
Extension read: Facebook lease get problem "Scaling Memcache at Facebook"