Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to Redis

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Redis (remote dictionary server)

Redis is an open source, storage key value (key-Valus) database, in-memory data structure storage system, it can be used as database, cache and message middleware. It supports many types of data structures, such as string (strings), hash (hashes), list (lists), set (sets), ordered set (sorted sets) and range query, bitmaps, hyperloglogs and geospatial (geospatial) index radius query.

Redis has built-in replication (replication), LUA script (Lua scripting), LRU driven event (LRU eviction), transaction (transactions) and different levels of disk persistence (persistence), and provides high availability (high availability) through Redis Sentinel (Sentinel) and automatic partitioning (Cluster).

Features:

(1) Redis is completely open source and free, complies with the BSD protocol, and is a high-performance key-value database.

(2) Redis and other key-value cache products have the following three characteristics:

(3) Redis supports data persistence. You can save the data in memory on disk and load it again when you restart it.

(4) Redis not only supports simple key-value data, but also provides storage of data structures such as list,set,zset,hash.

(5) Redis supports data backup, that is, data backup in master-slave mode.

Advantages:

(1) extremely high performance-Redis can read at a speed of 110000 times per second and write at a speed of 81000 times per second.

(2) Rich data types-Redis supports Strings, Lists, Hashes, Sets and Ordered Sets data type operations for binary cases.

(3) all operations of Atomic-Redis are atomic, and Redis also supports the atomicity of several operations after full merging.

(4) Rich features-Redis also supports publish/subscribe, notification, key expiration and other features.

Nosql non-relational database

(1) key value (key-Valus) storage database

Typical products: Memcached, Redis, MemchacheDB, BerkeleyDB

Memcached: pure memory cache system to reduce database load. Due to the loss of database restart, Sina developed memcacheDB.

(2) column Storage (column-oriented) database

Typical products: Cassandra, HBase

(3) document oriented (Document-Oriented) database

Typical products: MongDB, CouchDB

(4) Graph-oriented database

The main reference link of this series of redis: http://www.runoob.com/redis/redis-tutorial.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report