SpringCloud教程-服務消費者(rest+ribbon)(Finchley版本)

在微服務架構中,業務都會被拆分成一個獨立的服務,服務與服務的通訊是基於http restful的。Spring cloud有兩種服務調用方式,一種是ribbon+restTemplate,另一種是feign。這裏講解下基於ribbon+rest。 一、ribbon簡介 Ribbon is a client side load balancer which gives you a lot of co
相關文章
相關標籤/搜索