SpringBoot-整合Reids Cluster
在学习了RedisSentinel和RedisCluster之后,通过几个例子来了解下SpringBoot2.0版本整合RedisSentinel和RedisCLuster的DemoRedisSentinelgithub地址:https://github.com/swallretu/RedisSen
在学习了RedisSentinel和RedisCluster之后,通过几个例子来了解下SpringBoot2.0版本整合RedisSentinel和RedisCLuster的DemoRedisSentinelgithub地址:https://github.com/swallretu/RedisSen
redis操作命令Stringset[key][value]setnx[key][value]#只有当key不存在时,setkey进入redisget[key][value]ListLINDEX[key][index]#获取key对应的下标值LRANGE[key][startIndex][endIn
1.springcloud sleuth zipkin整合;2.zipkin dependenices;3.Error creating bean with name 'rabbitListenerContainerFactory' defined in class path resource解决
SpringBoot RabbitTemplate ReturnCallBack触发返回replyCode=312,replyText=NO_ROUTESpringboot中调用RabbitTemplate.convertAndSend(Stringqueue,Stringmsg)方法之后,发现消息没有进入队列的解决办法起因
Nginx负载均衡策略配置Nginx负载均衡策略配置Nginx负载均衡配置语法负载均衡策略轮询权重分配哈希分配最少连接分配完整示例负载均衡顾名思义可以理解问一种平衡策略,可以用来分发客户端请求的不同的服务器节点从而减轻单台服务的压力,提高了性能也保障了可靠性,因此当多个几点同时工作时,即使有一个节点
Go语言数据类型Go语言数据类型
Go变量和常量-Troyqu