Basic Redis Concepts

Source: Internet
Author: User

1. What is Redis

First, Redis is a key-value storage system that provides 5 types of data storage structure, including List,set,sortset,string,hash, which makes it possible to better describe the structure of the data than the relational database.

Then Redis is a memory-based caching system, and there is a persistence mechanism.

2. Why Redis is present

First, Redis is more flexible; second, reading a DB in a highly concurrent scenario triggers an IO operation, and performance becomes a bottleneck; Redis is memory-based and reads more efficiently.

3. What are the drawbacks of Redis

Redis cannot differentiate hot and cold data by itself, and when no expiration time is set, all data is kept in memory, resulting in memory waste.

Redis has the potential to lose part of the data when it is persisted, and it can cause the response to become slower.

If your application requires more data than is available for memory, Redis is not competent because data in Redis is loaded into memory.


This article is from the "heavy Shoulder" blog, please be sure to keep this source http://527026.blog.51cto.com/517026/1710687

Basic Redis Concepts

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.