Loading

摘要: Jedis github地址:https://github.com/redis/jedis redis底层使用的epoll Lettuce github地址:https://github.com/lettuce-io/lettuce-core SpringBoot Redis 官方地址:https: 阅读全文
posted @ 2021-02-28 22:57 BigBender 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 在uniapp中,picker要一个一个写 <picker @change="bindPickerChange($event, formList[7])" :range="formList[7].array" range-key="val"> <view :class="formList 阅读全文
posted @ 2021-02-28 22:56 BigBender 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 性能监控 show profile set profiling = 1; show profile SHOW PROFILE [type [, type] ... ] [FOR QUERY n] [LIMIT row_count [OFFSET offset]] type: { ALL | BLOC 阅读全文
posted @ 2021-02-28 22:51 BigBender 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Redis缓存击穿 key过期的瞬间,流量进入服务器,跳过redis,直接访问mysql 使用setnx锁 setnx锁的问题 如果请求执行因为某些原因意外退出了,导致创建了锁但是没有删除锁,那么这个锁将一直存在以至于以后缓存再也得不到更新 需要给锁加一个过期时间 需要借助 Expire 来设置 把 阅读全文
posted @ 2021-02-28 12:38 BigBender 阅读(181) 评论(0) 推荐(0) 编辑