当前位置:网站首页>一、基础入门
一、基础入门
2022-07-26 04:27:00 【时间邮递员】
文章目录
1、Spring与Spring boot
1)Spring 生态圈
① 微服务(Microservices):开发应用所有功能拆分的小模块
② 相应式编程(Reactive):异步非阻塞,高吞吐量应用
③ 分布式云开发(Cloud):大型应用拆分微小模块
④ Web开发(Web apps):发请求、响应页面…
⑤ 无服务开发(Serverless):函数式服务
⑥ 事件驱动(Event Driver):实时数据流
⑦ 批处理(Batch)
2)Spring boot
高层框架,底层spring框架,用来整合整个spring技术栈,简化配置。
能快速创建出生产级别的Spring应用。
3)Spring boot2
Servlet 技术栈:原生技术栈(spring、springmvc)
Reactive 技术栈:数据访问开始,构建异步数据流方式进行响应式开发(数据访问、web应用、安全应用)
4)SpringBoot优点:
① 创建独立的spring应用
② 嵌入式的内部容器(内嵌web服务器比如Tomcat)
③ 自动依赖
④ 自动配置Spring以及第三方功能
⑤ 提供生产级别的监控、健康检查以及外部化配置
⑥ 无代码生成、无需编写XML
5)缺点
迭代快
封装太深,内部原理复杂
2、时代背景
1)微服务
一种架构风格
一个应用拆分成为一组小型应用
每个服务运行在自己的进程内,可独立部署和升级
服务间用轻量级HTTP交互
服务围绕业务功能拆分
有全自动部署机制独立部署
去中心化、服务自治,服务可用不同语言与不同的存储技术
2)分布式
分布式的困难:
远程调用
服务发现
负载均衡
服务容错
配置管理
服务监控
链路追踪
日志管理
任务调度
分布式的解决:
SpringBoot + SpringCloud
3)云原生
上云的困难:
服务自愈 出错后自动自动拉取正常的服务器
弹性伸缩 高峰期自动扩充/下线
服务隔离 出故障不互相影响
自动化部署 自动部署云平台
灰度发布 版本自动逐步更替
流量治理 自动选择高性能
边栏推荐
- How to write the abbreviation of the thesis?
- ASP. Net core actionfilter filter details
- Li Kou daily question - day 42 -661. Picture smoother
- [C language foundation] 13 preprocessor
- Makefile knowledge rearrangement (super detailed)
- Pathmatchingresourcepatternresolver parsing configuration file resource file
- 数据库连接数查看和修改
- Solution: runtimeerror: expected object of scalar type int but got scalar type double
- Page pull-up refresh and pull-down loading
- p-范数(2-范数 即 欧几里得范数)
猜你喜欢

Optimization analysis and efficiency execution of MySQL

VM virtual machine has no un bridged host network adapter, unable to restore the default configuration

青少年创客教育的创意设计原理

Chapter 3 how to use sourcetree to submit code

How does win11 set the theme color of the status bar? Win11 method of setting theme color of status bar

吴恩达机器学习课后习题——线性回归

Sangi diagram of machine learning (for user behavior analysis)

Pathmatchingresourcepatternresolver parsing configuration file resource file

Creative design principle of youth maker Education

MATLAB绘图
随机推荐
红星美凯龙高负债之下,盯上新能源了?
Sweet butter
Recommendation | DBT skills training manual: baby, you are the reason why you live
UE4 通过按键控制物体的旋转
UE4 获取玩家控制权的两种方式
makefile知识再整理(超详细)
Several methods of realizing high-low byte or high-low word exchange in TIA botu s7-1200
The difference between positive samples, negative samples, simple samples and difficult samples in deep learning (simple and easy to understand)
Makefile knowledge rearrangement (super detailed)
What are the consequences and problems of computer system restoration
How to write the introduction and conclusion of an overview paper?
Pathmatchingresourcepatternresolver parsing configuration file resource file
荐书丨《教育心理学》:送给明日教师的一本书~
Method of test case design -- move combination, causal judgment
egg-sequelize TS编写
The auxiliary role of rational cognitive educational robot in teaching and entertainment
Huawei executives talk about the 35 year old crisis. How can programmers overcome the worry of age?
Yadi started to slow down after high-end
egg-ts-sequelize-CLI
Use of anonymous functions