![](https://img-blog.csdnimg.cn/78a2d0a678ad497ebcc6835a474163c2.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
+ Spring Cloud
文章平均质量分 90
Spring Cloud是一系列框架的有序集合。
_earnest
后端工程师
展开
-
Ribbon的介绍和使用(一)
1.关于Ribbon Netflix开源的客户端侧负载均衡器,也可以理解成是一个用于选择微服务的小组件。 2.架构的演进 3.三板斧整合Ribbon实现负载均衡 3.1加依赖 不需要加,nacos-discover包含了netflix-ribbon,如图: 3.2写注解 为restTemplate整合Ribbon package com.ding.contentcenter; import org.mybatis.spring.annotation.MapperScan; import org.s原创 2022-05-19 22:46:14 · 602 阅读 · 0 评论 -
Ribbon的介绍和使用(二)
1.前言 本文基于上一节内容继续讲解,上一节内容传送门:Ribbon的介绍和使用(一) 2.Ribbon 支持Nacos权重 Ribbon内置的负载均衡规则是不支持Nacos权重的,这里我们写个扩展规则实现权重。原创 2022-06-01 23:14:24 · 339 阅读 · 1 评论 -
Spring Cloud Alibaba的介绍和简单使用说明
1.什么是Spring Cloud Alibaba 1.Spring Cloud的子项目,Spring Cloud是快速构建分布式系统的工具集,即提供了一系列开发分布式应用的工具。 2.致力于提供微服务开发的一站式解决方案。 包含微服务开发的必备组件 基于Spring Cloud,符合Spring Cloud标准 阿里的微服务解决方案 2.Spring Cloud主要功能 参考:https://spring.io/projects/spring-cloud 功能 翻译 选择 Dist原创 2022-05-03 20:07:03 · 523 阅读 · 0 评论