Re:Redis Turns 10 – How it started with a single post on Hac...
by techie128 on Wednesday February 27, 2019 @12:53AM
(#19261181)
You clearly haven't used it at scale with sorted sets.
Re:Redis Turns 10 – How it started with a single post on Hac...
by lessclue on Wednesday February 27, 2019 @01:05AM
(#19261230)
Can you elaborate on that please?
Re:Redis Turns 10 – How it started with a single post on Hac...
by techie128 on Wednesday February 27, 2019 @02:07AM
(#19261480)
Try inserting more that 30K elements in a key which is a sorted set and watch the insertion time, memory & cpu usage. Now try doing this to millions of keys simultaneously.
Re:Redis Turns 10 – How it started with a single post on Hac...
by darkr on Wednesday February 27, 2019 @02:46AM
(#19261653)
We run several million sorted sets, but they are all short sets (100s), but do thousands of writes/sorts per second without issue.
From memory - there was a setting to turn on/off gzip compression for a list once it went beyond a certain size - do you have this enabled?
It also helped me earn a lot of praise for using redis-cli --pipe to bulk insert data which bringed down a data import job to a few minutes from 4 hours. I eventually built a wrapper around redis-cli --pipe for using it with a cluster.