微服务入门和springcloud简介

官网:https://www.springcloud.cc/

  https://spring.io/projects/spring-cloud/

中文文档:https://www.bookstack.cn/read/spring-cloud-docs/docs-index.md

1.微服务 

  微服务是一种架构模式,它提倡将单一应用划分成一组小的服务,服务之间互相协调、互相配合,为用户提供最终价值。每个服务运行在其独立的进程中,服务与服务直接通过轻量级的通信机制相互协调(通常是基于http协议的restful API)。每个服务都围绕具体业务进行构建,并且能够独立的部署到生成环境。

2. springcloud简介

  Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer’s own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.

  springcloud是分布式微服务架构的一站式解决方案,是多种微服务架构技术的集合体,俗称微服务全家桶。

3. springcloud版本与springboot版本简介

  springboot采用数字进行版本命名,例如1.5.xxx、2.2.xxx。

   springcloud采用了英国伦敦地铁站的名称来命名,并由地铁站A-Z的形式发布迭代版本。当springcloud解决重大bug后会发布一个"Service Releases"版本,简称SRX版本。

  cloud版本官网如下:(左边是cloud版本,右边是对应的springboot的版本)

   版本依赖关系也可以到:https://start.spring.io/actuator/info 网站查看。

4.Springcloud组件如下

 

补充:springcloud和netflix的关系

  netflix是美国的一个视频网站,nexflix就出了eureka等技术,spring社区应该 是基于netflix的技术做了封装、完善,产生了cloud全家桶。

 

posted @   QiaoZhi  阅读(208)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
历史上的今天:
2019-09-23 python操作mysql
2017-09-23 javac编译错误: 编码UTF8/GBK的不可映射字符
2017-09-23 cmd窗口情况下:windows下cmd默认的编码是GBK
2017-09-23 Java内部类的使用小结
2017-09-23 【Chrome】Octotree Chrome插件离线安装
点击右上角即可分享
微信分享提示