个人简介

Echo Blog


江湖无名 安心练剑
  • Redis Learn-25-二级索引 Secondary index
    Secondary indexing with Redis Redis is not exactly a key-value store, since values can be complex data structures. However it has an external key-value shell: at API level data is addressed by th...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-24-partion 分区
    Partitioning: how to split data among multiple Redis instances. Partitioning is the process of splitting your data into multiple Redis instances, so that every instance will only contain a subset ...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-23-keyspace notify
    Redis Keyspace Notifications IMPORTANT Keyspace notifications is a feature available since 2.8.0 Feature overview Keyspace notifications allows clients to subscribe to Pub/Sub channels in order ...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-22-mass data insert 大量数据插入
    Redis Mass Insertion Sometimes Redis instances need to be loaded with a big amount of preexisting(已经存在的) or user generated data in a short amount of time, so that millions of keys will be created ...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-21-LRU Cache
    Using Redis as an LRU cache When Redis is used as a cache, often it is handy to let it automatically evict(淘汰) old data as you add new one. This behavior is very well known in the community of de...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-20-Memory Optimize 内存优化续
    内存优化 Redis所有的数据都在内存中,而内存又是非常宝贵的资源。 如何优化内存的使用一直是Redis用户非常关注的问题。 本节深入到Redis细节中,探索内存优化的技巧。 redisObject对象 Redis存储的所有值对象在内部定义为redisObject结构体。 Redis存储的数据都使用redisObject来封装,包括string、hash、list、set、zse...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-20-Memory Optimize 内存优化
    Special encoding of small aggregate data types Since Redis 2.2 many data types are optimized to use less space up to a certain size. Hashes, Lists, Sets composed of just integers, and Sorted Sets...
    2018-12-12 03:35:23 | Redis
  • Redis Learn-20-Memory Expire redis 过期策略
    内存管理 Redis主要通过控制内存上限和回收策略实现内存管理,本节将围绕这两个方面来介绍Redis如何管理内存。 设置内存上限 Redis使用maxmemory参数限制最大可用内存。 限制内存的目的主要有: 用于缓存场景,当超出内存上限maxmemory时使用LRU等删除策略释放空间。 防止所用内存超过服务器物理内存。 需要注意,ma...
    2018-12-12 03:35:23 | Redis