Question

I have very poor Redis performance

20$ Droplet: 2vcpu 4gb

$ redis-benchmark -q -n 100000 PING_INLINE: 8072.33 requests per second PING_BULK: 7193.21 requests per second SET: 7803.96 requests per second GET: 8082.11 requests per second INCR: 7913.27 requests per second LPUSH: 7950.39 requests per second RPUSH: 7481.67 requests per second LPOP: 8173.94 requests per second RPOP: 8316.70 requests per second SADD: 8107.01 requests per second HSET: 8387.85 requests per second SPOP: 8164.60 requests per second LPUSH (needed to benchmark LRANGE): 8971.02 requests per second LRANGE_100 (first 100 elements): 5461.50 requests per second LRANGE_300 (first 300 elements): 3261.90 requests per second LRANGE_500 (first 450 elements): 2454.11 requests per second LRANGE_600 (first 600 elements): 2073.96 requests per second MSET (10 keys): 7249.53 requests per second


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I resolved this by switching from ubuntu 18.04 to 16.04.