# 您的 Redis 实例将在高负载下驱逐 Sidekiq 数据

**URL:** https://meta.discourse.org/t/your-redis-instance-will-evict-sidekiq-data-under-heavy-load/274660
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [2023年八月10日 14:47 UTC](https://meta.discourse.org/t/your-redis-instance-will-evict-sidekiq-data-under-heavy-load/274660 "2023-08-10T14:47:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2023年八月10日 14:47 UTC](https://meta.discourse.org/t/your-redis-instance-will-evict-sidekiq-data-under-heavy-load/274660/1 "2023-08-10T14:47:37Z")

</div>

我有一个运行在 ECS 上的大型网站（每天 50 万次页面浏览量），用户抱怨收不到关于 flag 的通知。我在日志中看到这个：

> [@](#):
>
> 警告：您的 Redis 实例将在重负载下驱逐 Sidekiq 数据。建议使用“noeviction”maxmemory 策略（当前策略：“volatile-lru”）。请参阅：[Home · sidekiq/sidekiq Wiki · GitHub](https://github.com/mperham/sidekiq/wiki)

这意味着我需要增加 Elasticache 的资源吗？它是一个 `cache.t4g.medium`，指标显示 CPU 利用率低于 5%，所以 Sidekiq 可能需要更多内存？

或者我应该按照它说的做，更改 maxmemory 策略？
