当前位置:网站首页>微服务 技术栈
微服务 技术栈
2022-08-05 09:20:00 【duanmy0687】

微服务是分布式架构的一种,服务拆分

持续集成,即自动化部署
spring cloud 仅占据服务治理
spring cloud alibaba 兼容了dubbo和spring cloud

每一个微服务拥有独立的数据库
RestTemplate 用来远程调用,发送http请求

把json反序列化为user对象
服务间的调用关系:提供者、消费者
负载均衡:从众多中挑一个出来
将本服务server port注册到注册中心的地址defaultZone中


保险起见,鸡蛋不要放在同一个篮子中。


环境隔离:public、dev…
nacos配置中心
bootstrap.yml的优先级比application.yml优先级高,所以nacos统一配置中心的地址写在bootstrap.yml中

热更新:仅需刷新页面










视频通话(只能一对一)和发短信(可以一对多)



流量削峰:由Broker囤积大量事件,订单服务、仓储服务、短信服务仍以恒定速度处理事件。

边栏推荐
- matcher中find,matches,lookingAt匹配字符串的不同之处说明
- 开源一夏|OpenHarmony如何查询设备类型(eTS)
- 并发之CAS
- 21 Days of Deep Learning - Convolutional Neural Networks (CNN): Weather Recognition (Day 5)
- Undefined symbols for architecture arm64解决方案
- 画法几何及工程制图考试卷A卷
- Example of Noise Calculation for Amplifier OPA855
- PAT Grade B-B1020 Mooncake(25)
- tensorflow.keras cannot introduce layers
- 无题四
猜你喜欢

基因数据平台

干货!生成模型的评价与诊断

How to realize the short press and long press detection of the button?

5.部署web项目到云服务器

深度学习21天——卷积神经网络(CNN):天气识别(第5天)

js graphics operation one (compatible with pc, mobile terminal to achieve draggable attribute drag and drop effect)

工程制图知识点

MySQL内部函数介绍

开源一夏|OpenHarmony如何查询设备类型(eTS)

Thinking and summary of the efficiency of IT R&D/development process specification
随机推荐
2022.8.3
ts/js 函数传参带函数写法
16 kinds of fragrant rice recipes
新白娘子传奇系列
如何实现按键的短按、长按检测?
2022/8/4 考试总结
工程制图直线投影练习
随时牵手 不要随意分手[转帖]
放大器OPA855的噪声计算实例
深度学习21天——卷积神经网络(CNN):天气识别(第5天)
leetcode 剑指 Offer 10- I. 斐波那契数列
无题四
The difference between beautiful MM and ordinary MM
汇编语言(8)x86内联汇编
请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
JS syntax usage
Excuse me if you want to write data in mysql, with flink - connector - JDBC directly is ok, but I'm in the f
Code Audit - PHP
无题五
express hot-reload