【发布时间】:2020-04-17 09:44:29
【问题描述】:
我的应用程序正在使用 Spring Boot 2.2.5-RELEASE。
应用程序正在使用 Spring Data Redis 读取和写入 Redis 单实例。 应用程序正在使用带有默认弹簧池配置的生菜驱动程序(默认 Spring Data Redis)。
//default-config values
spring.redis.lettuce.pool.max-active=8
spring.redis.lettuce.pool.max-idle=8
spring.redis.lettuce.pool.max-wait=-1ms
spring.redis.lettuce.pool.min-idle=0
如何优化池值以提高 Redis 的性能。 或任何建议。
【问题讨论】:
标签: spring performance spring-boot redis spring-data-redis