当前位置:网站首页>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
边栏推荐
- Computer graduation design PHP enterprise staff training management system
- Keyword static
- Compact lidar global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
- 数据准备工作
- Global and Chinese markets for single beam side scan sonar 2022-2028: Research Report on technology, participants, trends, market size and share
- MySQL learning notes - subquery exercise
- sql表名作为参数传递
- Text editing VIM operation, file upload
- Reset nodejs of the system
- Black high-end responsive website dream weaving template (adaptive mobile terminal)
猜你喜欢
Using SA token to solve websocket handshake authentication
Executing two identical SQL statements in the same sqlsession will result in different total numbers
Lecture 4 of Data Engineering Series: sample engineering of data centric AI
【机器人库】 awesome-robotics-libraries
Know MySQL database
[solution] every time idea starts, it will build project
Social networking website for college students based on computer graduation design PHP
Derivation of Biot Savart law in College Physics
Paper notes: graph neural network gat
2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition
随机推荐
SSM assembly
Reset nodejs of the system
[coppeliasim] 6-DOF path planning
Black high-end responsive website dream weaving template (adaptive mobile terminal)
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
Spark accumulator
RDD conversion operator of spark
Using SA token to solve websocket handshake authentication
[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning
LeetCode 103. Binary tree zigzag level order transverse - Binary Tree Series Question 5
PAT甲级 1033 To Fill or Not to Fill
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
Template_ Quick sort_ Double pointer
Global and Chinese markets of screw rotor pumps 2022-2028: Research Report on technology, participants, trends, market size and share
Keyword static
Computer graduation design PHP college classroom application management system
Zero foundation self-study STM32 - Review 2 - encapsulating GPIO registers with structures
一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
Adapter-a technology of adaptive pre training continuous learning
The intelligent material transmission system of the 6th National Games of the Blue Bridge Cup