摘要:
官方FAQ表示,因为Redis是基于内存的操作,CPU不是Redis的瓶颈,Redis的瓶颈最有可能是机器内存的大小或者网络带宽。既然单线程容易实现,而且CPU不会成为瓶颈,那就顺理成章地采用单线程的方案了 Redis is single threaded. How can I exploit mu 阅读全文
摘要:
1.spring cloud bus 本地不能更新 原因是@RefreshScope注解要加在需要更新的controller上 2.No instances found of configserver (config-server) 有可能是缓存的问题,把服务的名称(config-server)修改 阅读全文
摘要:
package com.lyqc.utils; import org.apache.commons.lang.StringUtils; public class ValidUtils { /**手机号*/ private static final String mobile = "^(13|15|18|17|16)[0-9]{9}$"; private static... 阅读全文