
分布式
文章平均质量分 89
_哲
这个作者很懒,什么都没留下…
展开
-
使用redis实现分布式锁
模拟秒杀代码 import com.wechatorder.sell.service.SeckillService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotati...原创 2018-10-07 01:10:34 · 244 阅读 · 0 评论 -
了解Zookeeper
相信很多人都用过Zookeerper,但是你真的了解Zookeeper是什么吗?如果面试官让你给他讲一下Zookeeper,你能讲到哪一步呢? 前几天,总结了一下自己用Zookeeper的经历,搭建过Zookeeper集群,项目中使用Zookeeper作为Dubbo的注册中心,另外在搭建solrCloud的时候使用过Zookeeper集中管理配置文件、集群管理(选举主从). 但要说Zookeepe...原创 2018-10-09 01:27:55 · 239 阅读 · 0 评论