当前位置:网站首页>Thinking on Architecture Design (under continuous updating)
Thinking on Architecture Design (under continuous updating)
2022-07-06 02:24:00 【Brave vegetable chicken】
Service transformation of application
Apply layered design
- Applications are usually divided vertically , Divide into Service layer 、 Business logic layer and data layer , Try to decouple each layer , The top depends on the bottom , And the lower layer should not rely on the upper layer in reverse
- Layering involves the most feared Super data structure , Such as passing an object , Then pass this object all the time , And every layer can modify this object , This approach leads to two problems :
- Once the object is modified , All layers should be modified
- It is impossible to know which layer of the object has been modified , Troubleshooting is complicated
therefore , When designing interfaces Try to use native data types , Such as int, string etc.
Tai Chung Tai 、 Small front desk
Development of system scale
The first stage : Single system
Early business is simple , Several machines support a business system . All business logic is deployed on several machines ( even to the extent that 1 platform ) On the machine
The second stage : Distributed business system
Single system All business logic is mixed , A hundred problems , It is difficult to develop functions and troubleshoot problems
Distributed business system : Split the original single system into multiple High cohesion 、 Low coupling Centralized system . Like the user center 、 Commodity Center 、 Trading center, etc ...
“ High cohesion 、 Low coupling ”: Personal understanding , Functions are highly cohesive , Low coupling between centers
The third stage : Platform stage
For each independent high cohesion business system , In order to quickly respond to business needs , Many times, business logic is written through code ; But different businesses , The corresponding business logic is bound to be different , It will lead to complex logic at the code level , The logical coupling between businesses is serious ; Ultimately, it will affect the efficiency of R & D , Platform came into being
** What is a platform ?** That is to split the basic capabilities and the characteristics of each business party , Isolate the logic between businesses . For example, two similar business parties may be in conflict , But they need to execute on the same platform , At this time, we must separate the business logic .
platform The core point , It is the openness of business abstract modeling and system architecture ; Business Abstract solution 80% Common problems of , Open solution of system architecture 20% Personalized problems
Platformization through reasonable business abstract modeling , Can solve 80% Common problems of ; Often new business access , You can reuse this 80% Commonness of , Greatly improve R & D Efficiency
Personal understanding :
- The core of platformization is business abstract modeling ;“ High cohesion ” It is inevitable that many general logic can be abstracted
- The platform only solves the problems within the field
The fourth stage : Business stage
platform The problem is , Each business covers several or even more fields , And they are interrelated , After a long time No one can tell the whole story , Simply look through the code by developers to understand the details , High cost ; In the end, the efficiency of needs assessment is often low , Poor business response ; The root cause is that no one understands the whole link , Non technical issues , It's a complex ecological collaboration problem
Business in Taiwan Based on the platform, we need to solve the problem of collaboration , Mainly through three things
- Protocol standard , Operating mechanism
- Distributed execution units that meet the standard
- Centralized control unit
Business middle office is a set of business capability Standards 、 Operating mechanism 、 Business analysis methodology 、 Configuration Management 、 Execution system and Operation service team Constitute a system , It can provide fast 、 Low cost access and innovation
Personal understanding :
- Zhongtai must build its own set of agreement Standards , The access of the business party should be in accordance with the agreement of Zhongtai
- The middle stage is a complete set “ Transportation research and measurement ” system , operating 、 Macroscopically, the product controls the development direction of the console , R & D and testing standardize the medium-sized capabilities from a technical point of view
Zhongtai
The positioning of the middle stage
The so-called positioning is to tell others what I can do 、 What I need and what I don't want .
- What can I do? , This is the basic plate of Zhongtai . Zhongtai must have provided a clear 、 High cohesion function , The business side has this function, and the first thing it thinks of is this midrange
- What do I need , This is a necessary agreement and specification between China and Taiwan ; Whether it is the access of new services , Or the function iteration of the old business , It must be based on this set of specifications ; What data is needed to access the middle station 、 What kind of interaction mode is provided , We should follow the norms of Zhongtai
- I don't want anything , This is the boundary that the middle stage needs to be clear ; There is a limit to what kind of service the middle office can provide .
The efficiency of the middle stage is improved
- Communication efficiency issues
- Unified terminology ; Especially in the communication between operating products and developers , Inconsistent terminology will cause great communication obstacles ( We need to pay attention to some skills of data formation , For example, a good name )
- Structurally express requirements : Pass the product requirements through a series of terms 、 Chart 、 Pages can be better understood and presented in the same context , Let the other party understand better
- Unified business identity
- Development efficiency
- Test efficiency
- O & M efficiency
边栏推荐
- Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
- PHP campus financial management system for computer graduation design
- 【clickhouse】ClickHouse Practice in EOI
- Using SA token to solve websocket handshake authentication
- Computer graduation design PHP college classroom application management system
- Formatting occurs twice when vs code is saved
- MySQL (IV) - transactions
- 729. My schedule I / offer II 106 Bipartite graph
- Black high-end responsive website dream weaving template (adaptive mobile terminal)
- Zero basic self-study STM32 wildfire review of GPIO use absolute address to operate GPIO
猜你喜欢
Exness: Mercedes Benz's profits exceed expectations, and it is predicted that there will be a supply chain shortage in 2022
[solution] every time idea starts, it will build project
剑指 Offer 29. 顺时针打印矩阵
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
数据工程系列精讲(第四讲): Data-centric AI 之样本工程
【MySQL 15】Could not increase number of max_ open_ files to more than 10000 (request: 65535)
Visualstudio2019 compilation configuration lastools-v2.0.0 under win10 system
Know MySQL database
PHP campus movie website system for computer graduation design
[depth first search] Ji Suan Ke: Betsy's trip
随机推荐
数据工程系列精讲(第四讲): Data-centric AI 之样本工程
Minecraft 1.18.1、1.18.2模组开发 22.狙击枪(Sniper Rifle)
Global and Chinese markets of screw rotor pumps 2022-2028: Research Report on technology, participants, trends, market size and share
550 permission denied occurs when FTP uploads files, which is not a user permission problem
Zero foundation self-study STM32 - Review 2 - encapsulating GPIO registers with structures
Pangolin Library: subgraph
Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail
Shell脚本更新存储过程到数据库
[community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!
Bigder:34/100 面试感觉挺好的,没有收到录取
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
[depth first search] Ji Suan Ke: Betsy's trip
[postgraduate entrance examination English] prepare for 2023, learn list5 words
有没有sqlcdc监控多张表 再关联后 sink到另外一张表的案例啊?全部在 mysql中操作
MySQL (IV) - transactions
PAT甲级 1033 To Fill or Not to Fill
【MySQL 15】Could not increase number of max_open_files to more than 10000 (request: 65535)
UE4 - how to make a simple TPS role (I) - create a basic role
Computer graduation design PHP part-time recruitment management system for College Students
Black high-end responsive website dream weaving template (adaptive mobile terminal)