You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redis DB
Hi - I recently did an experiment with REDIS to test it out as a queuing system. I modeled each queue as a list and setup a single sender to push a 2 KB message into a queue. I also setup receivers using BLOP. I monitored the CPU usage for various number of keys and I saw a linear relationship between number of keys on the BLPOP and the amount of CPU used. Effectively each addition of 25 keys resulted in another 6% increase in CPU on the redis server. For example, 100 keys added about 25% to REDIS CPU. However, adding 4 clients that perform BLPOP of only 25 keys results in only a 6% increase in CPU. Is this expected behavior ? It seems as if it would be desirable to have more connections and less keys.