57

企业级 SpringCloud 教程 (二) 服务消费者(rest+ribbon)-黑田昱的博客-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13589897/2066330
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在上一篇文章,讲了服务的注册和发现。在微服务架构中,业务都会被拆分成一个独立的服务,服务与服务的通讯是基于httprestful的。Springcloud有两种服务调用方式,一种是ribbon+restTemplate,另一种是feign。在这一篇文章首先讲解下基于ribbon+rest。一、ribbon简介Ribbonisaclientsideloadbalancerwhichgivesyoua

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK