>
Ribbon的工作原理為:當我們訪問http://lagou-service-resume/resume/openstate/的時候,ribbon應該根據服務名lagouservice-resume獲取到該服務的實例列表並按照一定的負載均衡策略從實例列表中獲取一個實例Server,並最終通過RestTemplate進行請求訪問。
圖文推薦