[Redis] Introduction to Redis

Source: Internet
Author: User

MySQL database: Data is stored as "file" on the hard drive

The bottleneck of the website is the database access,mysql database is running on the hard disk, put the data in memory speed is much faster

Redis is a memory cache database, written in C, with data model key-value, supported data types , String list Hash set sorted set, which can be persisted to ensure data security

Two forms of caching:

Page caching, commonly used in CMS -Class Systems

Data caching, commonly used in page-specific data

Comparison of Redis and memcache

Redis not only supports key-value but also supports other data types list set Zset hash

Redis supports master-slave mode applications (master-slave)

Redis supports data persistence, can save in-memory data on the hard disk, restart the time to load the use of

the maximum limit for Redis to support a single value is 1GB, andmemcache only supports 1MB

Sun 's use of Redis up to

[Redis] Introduction to Redis

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.