关于Redis的基础数据类型,在前面已经做了介绍,那么Redis能做什么呢?这一节中,我们从Redis的全局角度重新认识一下Redis,并讨论Redis在生产业务系统中的应用场景和某些场景的解决方案
一、回顾Redis定义
官方文档中定义:[Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries 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. Learn more →] - Redis是一个开源(BSD许可)内存数据库,可用作数据库,缓存和消息代理使用。 它支持如字符串,散列,列表,集合,带有范围查询的排序集,位图