Deep understanding of the Redis series

Source: Internet
Author: User

Redis Basic Tutorial Details Reference: http://www.yiibai.com/redis/redis_quick_guide.html

Basic knowledge:

0. Redis Features: Redis is the abbreviation for Remote Dictionary Server (Redis). The Redis database is completely in memory and uses disk for persistence only. All Redis operations are atomic, which ensures that Redis servers accessed by two clients at the same time will get the updated values.

1. Redis Five types of data: string, hash, list, collection, ordered collection.

2. Jedis is a Java version of the client implementation of Redis, and each operation sends a request to redis-server. The Redis-server end is a single thread to handle client-side requests. To ensure efficiency, REDIS data is cached in memory. At the same time, Redis periodically writes the updated data to disk or writes the modified operation to the appended record file, and implements the Master-slave (master-Slave) synchronization on this basis. Redis supports master-slave synchronization. Data can be synchronized from the primary server to any number of slave servers, from the server to the primary server that is associated with other slave servers.


Problem: Comparison of Redis and Memcache

A: Redis has a persistence mechanism that can periodically persist the in-memory data to the hard disk, while the memcache is out of power.

Reference list:

1. Easy Tutorial Redis:http://www.yiibai.com/redis/redis_quick_guide.html

2.Jedis Operation Redis Use: http://www.cnblogs.com/liuling/p/2014-4-19-04.html

3.http://www.redis.cn/

Deep understanding of the Redis series

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.