Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我使用 Redis 作为缓存,建议的超时(空闲连接)和 maxclients(连接的客户端)设置是多少,它将如何影响性能或处理负载的能力?我什么时候会遇到瓶颈?
谢谢!
这些参数对您可以使用 Redis 实例维持的吞吐量没有影响。
您只需确保 maxclients 值高于您将在 Redis 上获得的预期连接数。
要了解使用 Redis 可能遇到的瓶颈,我建议从以下页面开始。
http://redis.io/topics/benchmarks