摘要: 秒杀初始项目流程: 第一步, 创建一个quickstart的依赖项目miaosha, 引入一些包,打印helloworld , 第二步, 在properties之前添加依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactI 阅读全文
posted @ 2020-12-02 23:13 Anthony-bird 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 集群 主从同步 防止主节点宕机,影响业务的持续服务,节省数据恢复的时间。 CAP 原理 C : Consistent 一致性 A : Availability 可用性 P : Partition tolerance ,分区容忍性 网络分区:分布式系统的节点分布在不同机器上隔离开有网络断开的风险叫网络 阅读全文
posted @ 2020-12-02 01:24 Anthony-bird 阅读(70) 评论(0) 推荐(0) 编辑