Redis 基础知识
Redis 是 Remote Dictionary Server(远程数据服务)的缩写,由意大利人 antirez(Salvatore Sanfilippo) 开发的一款 内存高速缓存数据库,该软件使用 C 语言编写,它的数据模型为 key-value。
官方介绍:
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions, and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.
Redis是一个开源(BSD许可)的内存数据结构存储,被用作数据库、缓存和消息代理。Redis提供的数据结构包括:字符串、哈希值、列表、集合、带范围查询的排序集合、位图、超日志、地理空间索引和流。Redis有内置的复制、Lua脚本、LRU驱逐、事务和不同级别的磁盘持久性,并通过Redis Sentinel和Redis Cluster的自动分区提供高可用性。
关键点: 开源、基于内存的数据结构存储、可以作为数据库、缓存、消息代理 提供了 九种+ 的数据结构。
支持各种功能
- 复制、内部检测、事务操作、数据持久化、高可用功能(高可用、高扩展)
趋势: