Giter VIP home page Giter VIP logo

springcloud_study's Introduction

微服务技术栈

微服务是一种经过良好架构设计的分布式架构方案,微服务的架构特征:

  • 单一职责:微服务拆分粒度更小,每一个服务都对应唯一的业务能力,做到单一职责,避免重复开发
  • 面向服务:微服务对外保留业务接口
  • 自治:团队独立,技术独立,数据独立,部署独立
  • 隔离性强:隔离,容错,降级,避免出现联和问题

微服务技术对比:

  • Dubbo
  • SpringCloud
  • SpringCloudAlibaba => 可以支持上面俩种架构技术

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

服务拆分及远程调用

  1. 不同的微服务,不要重复开发业务
  2. 微服务的数据独立,不要访问其他的微服务数据库
  3. 微服务可以将自己的业务暴露为接口,供其他微服务调用

Boot和Cloud 的兼容版本查看https://spring.io/projects/spring-cloud

在 Spring Boot 的版本号中:

  • GA 代表“稳定版”,即已经正式发布,是最终的、可供生产环境使用的版本,
  • RPE 代表“候选发布版”,是在稳定版发布前进行的预发行测试版本,相比于 SNAPSHOT 要更加稳定。
  • SNAPSHOT 代表“快照版”,是正在开发中的不稳定版本。

因此,对于生产环境来说,推荐使用 GA 版本;对于开发和测试环境,则可以使用 RPE 版本或 SNAPSHOT 版本。 需要注意的是,SNAPSHOT 版本可能会存在一些未解决的问题或者功能上的变动,因此不建议将其用于生产环境中。

微服务治理

异步通信

搜索

缓存

DevOps

springcloud_study's People

Contributors

axcmsm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.