I tried to put a lot of stress on my Redis for testing purposes and find out any upper limits. First, I downloaded it with 50,000 and 100,000 keys of 32 characters in size with values ββof about 32 characters. For both sizes of keys it took no more than 8-15 seconds. Now I'm trying to put 4kb of data as a value for each key. The first 10,000 keys take 800 milliseconds. But from that moment on, it slowly slows down and installs as many as 50,000 keys, which takes 40 minutes. I am loading a database using NodeJs with node_redis (Mranney) . Is there some kind of error I'm making, or is it Redis only slow with large 4K sizes?
Another thing I found now is when I start another client parallel to the current one and update the keys, this second client finishes downloading the 50,000 keys with 4K values ββin 8 seconds, while the first client still does its thing forever . Is this a bug in node or in the redis library? This is alarming and unacceptable for production.
source share