15,000-word summary Redis common interview questions & knowledge points

The following content comes from my open source JavaGuide (Java Learning & Interview Guide, Github 130k stars, 370 people participated in love perfection), 40000 word summary, quality is guaranteed!

Redis Basics

What is Redis?

Redis is an open source database (BSD license) developed based on C language. Unlike traditional databases, Redis data is stored in memory (memory database), with very fast read and write speeds, and is widely used in caching. Moreover, Redis stores KV key-value pair data.

In order to meet different business scenarios, Redis has built-in multiple data type implementations (such as String, Hash, Sorted Set, Bitmap). Moreover, Redis also supports transactions, persistence, Lua scripts, and a variety of out-of-the-box cluster solutions (Redis Sentinel, Redis Cluster).

Redis has no external dependencies. Linux and OS X are the two most developed and tested operating systems for Redis. The official recommendation is to use Linux to deploy Redis in the production environment.

For personal learning, you can install Redis on your own machine or experience Redis through the online Redis environment provided by the Redis official website .

Guess you like

Origin blog.csdn.net/qq_34337272/article/details/128641899