You manage a Premium tier Azure Cache for Redis instance that supports a high-throughput session state and lookup service. The cache stores two classes of data: user session tokens configured with an explicit Time-To-Live (TTL) of 20 minutes, and static configuration metadata configured without a TTL. During peak traffic events, the cache experiences high memory pressure and latency spikes due to replication synchronization overhead between the primary and replica nodes. You must configure the cache so that under memory pressure, only the user session tokens that have not been accessed recently are evicted, the static configuration metadata is never evicted automatically, and sufficient memory is reserved to accommodate replication and failover overhead. Which combination of configuration settings should you apply?
- Set the maxmemory-policy to volatile-lru and configure maxmemory-reserved to allocate memory for replication overhead.Cevap
- BSet the maxmemory-policy to allkeys-lru and configure maxmemory-reserved to allocate memory for replication overhead.
- CSet the maxmemory-policy to volatile-ttl and configure maxfragmentationmemory-reserved to allocate memory for replication overhead.
- DSet the maxmemory-policy to noeviction and configure maxmemory-reserved to allocate memory for replication overhead.