摘要:
1、介紹 Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in you 閱讀全文
摘要:
1、介紹 目前主流的負載方案分為以下兩種: 集中式負載均衡,在消費者和服務提供方中間使用獨立的代理方式進行負載,有硬件的(比如 F5),也有軟件的(比如 Nginx)。 客戶端根據自己的請求情況做負載均衡,LoadBalancer、Ribbon 就屬于客戶端自己做負載均衡。 2、快速開始 廢話不多少 閱讀全文
摘要:
1、介紹 2、快速開始 父工程的maven 配置文件,如下 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2 閱讀全文
摘要:
1、介紹 2、快速開始 2.1 pom文件依賴 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM 閱讀全文
摘要:
簡介 Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, serv 閱讀全文
摘要:
一、MQ介紹 1、什么是MQ?為什么要用MQ? MQ:MessageQueue,消息隊列。 隊列,是一種FIFO 先進先出的數據結構。消息由生產者發送到MQ進行排隊,然后按原來的順序交由消息的消費者進行處理。QQ和微信就是典型的MQ。 MQ的作用主要有以下三個方面: 異步 例子:快遞員發快遞,直接到 閱讀全文