06 2021 档案

摘要:最近在生产环境发现一个问题,使用redisson-3.9.1分布锁,来做加减库存,测试环境啥问题,一道生产问题就暴露了。 系统异常:Redis server response timeout (10000 ms) occured for command: (EVAL) with params: [i 阅读全文
posted @ 2021-06-17 17:25 午火39 阅读(8004) 评论(0) 推荐(1)
摘要:问题 在开发的时候,使用到Lettuce连接redis,一段时间后不操作,再去操作redis,会报连接超时错误,在其重连后又可使用。 原因是:Lettuce 自适应拓扑刷新(Adaptive updates)与定时拓扑刷新(Periodic updates) 是默认关闭的导致问题的出现 解决的方案 阅读全文
posted @ 2021-06-16 17:36 午火39 阅读(3837) 评论(0) 推荐(1)