zoukankan      html  css  js  c++  java
  • redis Database Eviction Policies Redis on Flash

    Database Eviction Policies - Redis Enterprise Software | Redis Labs https://redislabs.com/redis-enterprise-documentation/administering/database-operations/eviction-policy/

    Eviction policies

    The eviction policy designates a data eviction method for Redis Enterprise Software (RS) to use when the database size reaches its limit. You can select any of the following:

    Policy Description
     noeviction Returns an error if the memory limit has been reached when trying to insert more data
     allkeys-lru Evicts the least recently used keys out of all keys
     allkeys-random Randomly evicts keys out of all keys
     volatile-lru Evicts the least recently used keys out of all keys with an “expire” field set
     volatile-ttl Evicts the shortest time-to-live and least recently used keys out of all keys with an “expire” field set.
     volatile-random Randomly evicts keys with an “expire” field set

    One mechanism to avoid this, but still keep performance is to use Redis on Flash. It can span your database across RAM + Flash Memory and intelligently manage what data is hot and should be in RAM and what data is not and can be on Flash memory (SSD).

    热点数据

    冷数据

    逐出策略

  • 相关阅读:
    P2610 [ZJOI2012]旅游
    P2323 [HNOI2006]公路修建问题
    P3629 [APIO2010]巡逻
    ARC059F
    AGC004D Teleporter
    p3203 弹飞绵羊
    bzoj5450 轰炸
    bzoj4313 三维积木
    cf123E Maze
    bzoj4423 [AMPPZ2013]Bytehattan
  • 原文地址:https://www.cnblogs.com/rsapaper/p/9052123.html
Copyright © 2011-2022 走看看