微服务入门
http://c.biancheng.net/spring_cloud/
微服务教程汇总: http://www.springcloud.wiki/
Spring Cloud教程:https://howtodoinjava.com/spring-cloud/
收集 Spring Cloud 相关的学习资料
学习 Spring Cloud 首先需要了解 Spring Boot,不了解 Spring Boot 的同学戳这里Spring Boot学习资料汇总
原文地址:http://www.ityouknow.com/springcloud/2016/12/30/springcloud-collect.html
重点推荐:
https://www.baeldung.com/start-here
推荐博客
- 纯洁的微笑 Spring Cloud 系列文章
- windmt一spring cloud
- 方志朋 Spring Cloud 专栏
- 许进 跟我学 Spring Cloud
- liaokailin的专栏 Spring Cloud
- 猿天地尹吉欢 Spring Cloud
- 唐亚峰 Battcn 起来学SpringCloud
- yjclsx spring cloud之路
- aoho spring cloud
- 江南一点雨 Spring Cloud
开源
- 纯洁的微笑的 Spring Cloud 示例
- spring cloud + vue 全家桶实战,模拟商城,完整的购物流程
- PiggyMetrics-一个供个人处理财务的解决方案
- 基于Spring Cloud Netflix的TCC柔性事务和EDA事件驱动示例
- 方志朋 SpringCloudLearning
- 一套基于springcloud + mybatis + vue全家桶
- cloudE 基于spring cloud的分布式系统架构
- shop spring cloud最佳实践项目实例
- Cloud-Admin是国内首个基于Spring Cloud微服务化开发平台
- spring-boot-cloud综合练手项目
- 基于Spring Cloud的在线考试系统
- 基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例
- XxPay 使用Spring Cloud实现的聚合支付
- FCat项目基于 Angular 4 + Spring Cloud 的企业级基础功能框架
- 基于Spring Cloud、oAuth2.0开发基于Vue前后分离的开发平台
网站
- Spring Cloud 官网
- Spring Cloud 中国社区
- Spring Cloud 中文网
- 网易云课堂 Spring Cloud 视频
- Spring Cloud 参考指南- 英文版
- Nepxion
其它
原文地址:https://xujin.org/blog/sc-2/ 作者:许进
Spring Cloud第二代
1. Spring Cloud第一代
Spring Cloud自从推出之后,给大家的感觉就是Spring Cloud做它最擅长的事,也就是高度抽象和封装,强强联手整合最优东西为我所用,比如Netflix开源的Eureka,Hystrix,Ribbon等。而且提供多种技术选型,态度中立而选最优。8天前也就是2018年11月19号左右,Netflix的开源项目Hystrix宣布状态,不再开发新功能,处于维护状态。引发朋友圈的一些思考。
虽然Eureka,Hystrix等不再继续开发或维护,但是目前来说不影响使用,不管怎么说感谢开源,向Netflix公司的开源致敬。
随着Spring Cloud生态圈的发展与成长,Spring Cloud陆续推出了自己的一些组件,挑选主要组件说明如下表所示:
| 组件 | 来源 | 说明 |
|---|---|---|
| Spring-cloud-openfeign | 基于Feign的升级 | 服务之间调用的必备组件 |
| spring-cloud-zuul | 来源于Netflix Zuul | 目前还在继续维护,但是已经有自己的Spring Cloud Gateway,不久将来逐渐淘汰 |
| spring-cloud-eureka | 集成于Netflix Eureka | 目前还在跟随Spring Cloud版本升级维护,最终也会被替代 |
| spring-cloud-config | 自研 | 功能不足,国内使用其它配置中心替代,比如携程的Apollo |
| 全链路监控(sleuth+zikpin或pinpont) | sleuth自研,其它第三方 | 国内目前使用最多的是skywaling等上生产 |
| spring-cloud-ribbon | 来源于Netflix集成 | ribbon目前还在跟随Spring Cloud版本维护中,目前孵化未来替代品spring-cloud-lb |
| Spring-cloud-hystrix | 来源于Netflix集成 | 目前还在跟随Spring Cloud版本维护中目前已经孵化spring-cloud-r4j |
2. Spring Cloud 第二代
Spring Cloud第一代和第二代的组件组合汇总,如下表所示。
| Spring Cloud第一代 | Spring Cloud第二代 | |
|---|---|---|
| 网关 | Spring Cloud Zuul | Spring Cloud Gateway |
| 注册中心 | eureka(不再更新),Consul,ZK | 阿里Nacos,拍拍贷radar等可选 |
| 配置中心 | spring cloud config | 阿里Nacos,携程Apollo,随行付Config Keeper |
| 客户端软负载均衡 | Ribbon | spring-cloud-loadbalancer |
| 熔断器 | Hystrix | spring-cloud-r4j(Resilience4J),阿里Sentinel |
由于Zuul性能一般,zuul 2.x(一直跳票,虽最终开源)但是Spring Cloud官方已经推出Spring Cloud gateway,Spring Cloud中国社区很久之前已经证实,Spring Cloud将不会集成zuul 2.x,也就是说在不就未来Zuul将从Spring Cloud生态圈中退出。
ribbon由于不支持webFlux的负载均衡,Spring Cloud官方很早就在孵化器项目中孵化spring-cloud-loadbalancer,目前已经将代码合并到spring-cloud-common中,预计在Spring Cloud G版可以使用,预计2018年12月底realese。
至于Hystrix,Netflix在2018年11月19号左右,Netflix的开源项目Hystrix宣布状态,不再开发新功能,处于维护状态,其实在之前Spring Cloud官方就在孵化spring-cloud-r4j.
3.开源项目的链接
本文所提到的开源项目链接汇总如下所示:
https://github.com/alibaba/Sentinel
https://github.com/spring-cloud-incubator/spring-cloud-r4j
阿里Nacos-https://github.com/alibaba/nacos
随行付Config-keeper-https://github.com/sxfad/config-keeper
https://github.com/ctripcorp/apollo
https://github.com/apache/incubator-skywalking
微服务和单体架构

How to Spin Up a Kubernetes Cluster
Currently, several services around the globe provide different Kubernetes implementations. Among the most popular ones, you will find:
- Minikube: An open-source tool that you can install in your local machine to use Kubernetes locally. This tool uses a virtualization solution (like VirtualBox or similar) to set up a local Kubernetes cluster.
- Google Kubernetes Engine (GKE): Google's solution that manages production-ready Kubernetes clusters for you.
- Amazon Elastic Kubernetes Service (EKS): Amazon's solution that manages production-ready Kubernetes clusters for you.
- Azure Kubernetes Service (AKS): Azure's solution that provides you managed, production-ready Kubernetes clusters.
- OpenShift Kubernetes: Red Hat's solution that handles Kubernetes clusters for you.

浙公网安备 33010602011771号