编程知识 cdmana.com

Introduction to redis

Redis Introduce

Redis It's open source (BSD The license ) Of , Data structure storage system in memory , It can be used as a database 、 Caching and message middleware . It supports multiple types of data structures , Such as character string (strings), hash (hashes), list (lists), aggregate (sets), Ordered set (sorted sets) And scope query , bitmaps, hyperloglogs and Geographical space (geospatial) Index radius query . Redis Built in Copy (replication),LUA Script (Lua scripting), LRU Driving events (LRU eviction), Business (transactions) And different levels of Disk persistence (persistence), And pass Redis sentry (Sentinel) And automatic Partition (Cluster) Provide high availability (high availability).

Interview questions :Redis What data structures are supported ?

Redis install

#Linux install 
# decompression  tar -zxvf redis
make
make install

modify Redis The configuration file redis.conf

image.png
image.png
image.png

start-up Redis

start-up :server-redis redis.conf
image.png
Start state detection :
image.png

版权声明
本文为[A I. bear mushroom cold]所创,转载请带上原文链接,感谢

Scroll to Top