Memcached and Redis Performance test summary

Source: Internet
Author: User

Memcached and Redis Performance test summary

– The same data model, memcached can save more heat data than redis, such as memcached in 13G of limited memory can save 100 million data, and Redis probably saved 80 million

– the same server environment, memcached write performance is higher than Redis, the former about 100,000 per second, the latter about 70,000 seconds

– When the memory limit is reached, the memcached insertion performance is somewhat jitter at the critical point, probably down to 70,000 per second, after performance is the same as before the critical point, and redis performance drops sharply, once down to 396 per second, The performance is degraded by the sub-process dump data and the large number of page faults per second produced by 栺.

–memcached average consumption of a single CPU percentage, in addition to the memory limit of 300%, the other has been stable around 150%, Redis before reaching the memory limit has been stable at around 90%, and then by the child process dump data and 栺 per second produced a large number of page errors affected, CPU usage is not high, once dropped to 1%

–redis single-threaded operation with low CPU utilization, it is recommended to deploy multiple Redis on the same machine to improve CPU utilization

– Both memory consumption increases as the write data grows, where memcached no longer changes when the memory limit is reached, and the Redis memory footprint is continuously degraded by the sub-process dump data competition

–memcached because it is pure memory operation, so there is no production 栺 page error, and Redis after reaching the upper memory limit, due to the need to transfer part of the data to virtual memory, and then by its sub-process dump data Competition system resources impact will produce 栺 a large number of page errors

– the same server environment, memcached read performance is higher than Redis, the former about 100,000 per second, the latter about 80,000 seconds

– When the memory limit is reached, the memcached read performance does not change, and redis performance drops sharply, once down to 1,100 per second, and its performance is highly unstable by the sub-process dump data and the 栺 of a large number of page faults per second

From the test, Redis is not the king of performance, but its performance is still very strong, for most of the performance requirements are fully satisfied, but its function of the perfect degree, can win over memcached, easier business support, lower development costs


This article is from "Effort!" Struggle! "Blog, be sure to keep this provenance http://026mm.blog.51cto.com/8783374/1775763

Memcached and Redis Performance test summary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.