Redis Getting Started-redis is what and why to use Redis_redis

Source: Internet
Author: User
Redis is an open source high performance key value pair database.
Feature 1 storage structure

Redis is the abbreviation for Remote Dictionary server, which stores data in a dictionary structure and allows other applications to read the contents of the dictionary through the TCP protocol.

The storage mode of Redis dictionary structure and the support of many kinds of key value data types enable developers to map data directly in the program to Redis, and the data stored in Redis is very similar to how it is stored in the program.


Feature 2 memory storage and persistence

All the data in the Redis database is stored in memory, and performance contrasts with other hard disk storage-based databases with significant advantages.

Redis provides support for persistence in that the data in memory can be written asynchronously to the hard disk without affecting the continued provision of the service.


Feature 3 features Rich

Redis can set the lifetime for each key, the time expires after the key is automatically deleted, this feature with excellent performance so that Redis can be used as a caching system. As a caching system, Redis can also limit the maximum memory space occupied by data, and can automatically eliminate unwanted keys in accordance with certain rules after the data reaches space limit.

The Redis list type key can be used to implement queues and to support blocking reading, which makes it easy to implement a high performance priority queue. Redis also supports the "Publish/Subscribe" message mode.


Feature 4 Simple and stable
Redis intuitive storage structure makes it easy to interact with Redis through programs.
Using commands to read and write data in Redis, Redis command statements can be likened to the SQL language of relational databases.
Redis provides client libraries for dozens of different programming languages that encapsulate the Redis command, making it easier to interact with Redis in a program.



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.