zoukankan      html  css  js  c++  java
  • 微服务入门和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全家桶。

  • 相关阅读:
    MIKROTIK ROS+PHP+MYSQL实现从数据库中配置DNS服务器
    随手记
    05 通过python开启静态http服务
    名称空间和作用域
    cs常用功能
    初识Cobalt Strike
    msf之手机木马生成&利用
    msf之meterpreter命令
    BURPSUITE的常用模块
    BURPSUITE专业汉化版安装
  • 原文地址:https://www.cnblogs.com/qlqwjy/p/13715418.html
Copyright © 2011-2022 走看看