In this article, we will be discussing the performance benchmarks of Redis and MySQL. To begin with, we will start with the introduction and installation of Redis on an Ubuntu machine. Then we will move towards the benchmarking between these two.
Introduction to Redis
According to the official website, Redis is an open source (BSD licensed), in-memory data structure store that's used as a database, cache, and message broker. Actually, Redis is an advanced key-value store. It is super fast with amazingly high throughput as it can perform approximately 110000 SETs per second, about 81000 GETs per second. It also supports a very rich set of data types to store. As a matter of fact, Redis keeps the data in-memory every time but is also a persistent on-disk database. So, it comes with a trade-off: Amazing speed with the size limit on datasets (as per memory). In this article, to have some benchmarks in comparison to MySQL, we would be using Redis as a caching engine only.
from DZone.com Feed http://bit.ly/2PiHUbY
No comments:
Post a Comment