02- SpringBoot and Spring Clould

From configuration to security, web apps to big data – whatever the infrastructure needs of your application may be, there is a Spring Project to help you build it. Start small and use just what you need – Spring is modular by design.

从配置到安全,从Web应用到大数据 - 无论您的应用程序需要什么样的基础架构,都有一个Spring项目可以帮助您构建它。 从小处着手,只使用你需要的东西 - Spring是模块化的设计。

SpringBoot 表面上看起来非常非常简单,实际上内部是封装了一个完整的Web结构。一个软件框架复杂性是一定存在的。一种是把复杂沉淀到框架内部,方便使用。另一种是将复杂性交给开发者,方便定制化。

了解复杂性的好处:差错、模仿、定制

SpringBoot的好处:独立运行,免配置,集成第三方库

Spring Cloud是一系列软件的统称。具体可以参考官网:https://spring.io/projects/spring-cloud

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).

Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智能路由,微代理,控制总线,一次性令牌,全局锁定,领导选举,分布式 会话,集群状态)

spring clould 用于分布式环境下

学习Spring的同时,需要客观对待Spring,既要学习优点,又要了解缺点

————微服务课程学习笔记