当前位置:网站首页>Summary of advantages and disadvantages of various architectures
Summary of advantages and disadvantages of various architectures
2022-06-12 15:13:00 【CXgeng】
The advantages and disadvantages of various architectures are summarized
List of articles
Preface
The development of software architecture has experienced from single architecture 、 Vertical architecture 、SOA Evolution from architecture to microservice architecture , Let's take a look at these architectures
One 、 Monomer architecture
Architecture description : All functions are concentrated in one project )
Architecture advantages : Simple architecture , Low pre development cost 、 Short development cycle , Suitable for small projects .
Architecture shortcomings :
- All functions in one project , It's not easy to develop for large projects 、 Expansion and maintenance
- The technology stack is limited , Only one language can be used to develop
- System performance can only be extended by extending cluster nodes , The high cost
Two 、 Vertical architecture
Architecture description : Cut according to business , Form a small single project .
Architecture advantages : The technology stack is scalable ( Different systems can use different programming languages )
Architecture shortcomings :
- The function is concentrated in one project , Not conducive to development 、 Expand 、 maintain .
- System expansion can only be achieved through clustering
- Functional redundancy between projects 、 data redundancy 、 Strong coupling
3、 ... and 、SOA framework
SOA The full name of the architecture is Service-Oriented Architecture, Service oriented architecture . The loosely coupled coarse-grained components can be distributed and deployed through the network according to the requirements 、 Combination and use . A service usually exists in an operating system process in a separate form .
From the perspective of function , Abstract business logic into reusable services . Through the service choreography to achieve rapid business regeneration , Purpose : Transform the original inherent business functions into common business services , Fast reuse of business logic .
Architecture description : Extract the repeated function modules into the form of components , External services , Use... Between projects and services ESB( Enterprise service bus ) As a bridge of communication .
Architecture advantages : Duplicate functions or modules are extracted as services , Improve development efficiency . High reusability , High maintainability
Architecture shortcomings :
- There are different services among different systems , It is difficult to determine if a function or module is duplicated
- Compared with microservices , Large extraction granularity
- The coupling between system and service is high
Four 、 Microservice architecture
Architecture description :
- Separate the system service layer completely , Micro services extracted one by one .
- The granularity of extraction is finer , Follow a single principle .
- The lightweight framework protocol is adopted for transmission .
Architecture advantages :
- Service splitting is more granular , It's good for improving development efficiency
- We can develop corresponding optimization schemes for different services
- For the Internet age , Product iteration cycle is shorter
Architecture shortcomings :
- The particle size is too fine , Resulting in too many services , Maintenance costs are high
- The technology cost of distributed system development is high , It's a big challenge for the team
边栏推荐
- 交换数字,异或求单,操作符相关
- 阿裏、騰訊、拼多多垂範,產業互聯網的新邏輯漸顯
- Preparation of service for robot moving forward and rotating
- C operator
- Function related matters
- 宝塔面板新建数据库提示数据库名不能大于16位的解决方法
- Common assertions in JUnit testing
- Deepin20.6 rtx3080 installing graphics card drivers 510.60.02, cuda11.6, pytorch1.11
- Deepin20.6 RTX3080 安装显卡驱动510.60.02、CUDA11.6、PyTorch1.11
- Use of boost:: bind() in ROS
猜你喜欢
随机推荐
About layoffs in Internet companies
C escape character
C scanf function
Ankai microelectronics rushes to the scientific innovation board: the annual revenue of 500million Xiaomi industry fund is the shareholder
Array related content
Element positioning of selenium
阿裏、騰訊、拼多多垂範,產業互聯網的新邏輯漸顯
[untitled]
[wp][beginner level] attack and defense world game
指针相关概念
【LDA】LDA主题模型笔记—主要是狄利克雷
Understanding of Odom coordinate system
简单的爬虫框架:解析51job页面岗位信息
Serialization and deserialization mechanism in terms of games
MySQL index and view
Xshell 7 official website free download
Prompt that the program cannot access key files / directories when installing PS software. Error code: 41
Learning is an inhumane thing (becoming an expert's internal mind skill)
增加mysql的最大连接数
IMU learning records









