当前位置:网站首页>Module VI
Module VI
2022-07-07 16:45:00 【InfoQ】
Homework : Splitting e-commerce system into micro service
【 background 】
Suppose you are now a of a startup CTO, The development team is about 30 Left and right , Include 5 Front end and 25 Back ends , Back end developers are all Java, Now you are ready to start from 0 Start a small program e-commerce business , Please design the architecture of micro service splitting and the selection of micro service infrastructure .
【 Job requirements 】
1. We need to clarify the idea of service splitting , And draw the split system architecture ;
2. It is necessary to clarify the selection idea of micro service infrastructure , And select a microservice framework ;
3. use 1~2 page PPT that will do .
【 Tips 】
1. Three Musketeer principles need to be applied ;
2. You need to select the splitting method ;
3. You need to select the mode of the microservice framework .
One 、 Service split
1、 Split ideas :
1、 Small program e-commerce business starts from 0 Start , So the split method is “ Split microservices by business ”, And is “ One step in place ”.
2、 Because of common ownership 25 A back-end Developer , According to the three Musketeer principles , Split one-to-one , Split into 8 Micro services , Respectively :
- Order service
- Member services
- Inventory service
- Shop services
- Goods and services
- Financial services
- Marketing services
- Other services
2、 The system architecture is as follows :
Two 、 Microservice infrastructure selection
1、 Microservice infrastructure will be gradually implemented according to priority , First implement the microservice framework of the service operation layer .
2、 Because it's a startup , The business scale is small , No need RPC, And back-end developers are all Java, therefore spring cloud As a microservice framework .
边栏推荐
- Opportunity interview experience summary
- 使用JSON.stringify()去实现深拷贝,要小心哦,可能有巨坑
- Cesium (4): the reason why gltf model is very dark after loading
- Spark Tuning (III): persistence reduces secondary queries
- Interface oriented programming
- 运算符
- pycharm 终端部启用虚拟环境
- 网关Gateway的介绍与使用
- time标准库
- 无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
猜你喜欢
随机推荐
AutoLISP series (3): function function 3
DNS 系列(一):为什么更新了 DNS 记录不生效?
Binary search tree (basic operation)
AutoLISP series (1): function function 1
As an Android Developer programmer, Android advanced interview
null == undefined
Tidb cannot start after modifying the configuration file
二叉搜索树(基操篇)
Usage of config in laravel
使用JSON.stringify()去实现深拷贝,要小心哦,可能有巨坑
Laravel5.1 路由 -路由分组
Pisa-Proxy SQL 解析之 Lex & Yacc
[designmode] template method pattern
The latest interview experience of Android manufacturers in 2022, Android view+handler+binder
JS 模块化
Cesium(3):ThirdParty/zip. js
logback.xml配置不同级别日志,设置彩色输出
掌握这个提升路径,面试资料分享
laravel构造函数和中间件执行顺序问题
Markdown formula editing tutorial