当前位置:网站首页>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
边栏推荐
- Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle
- Keyword static
- Computer graduation design PHP campus restaurant online ordering system
- [community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!
- 2022 edition illustrated network pdf
- SQL table name is passed as a parameter
- Lecture 4 of Data Engineering Series: sample engineering of data centric AI
- RDD creation method of spark
- [postgraduate entrance examination English] prepare for 2023, learn list5 words
- 更换gcc版本后,编译出现make[1]: cc: Command not found
猜你喜欢

Computer graduation design PHP animation information website

2022 eye health exhibition, vision rehabilitation exhibition, optometry equipment exhibition, eye care products exhibition, eye mask Exhibition

Computer graduation design PHP part-time recruitment management system for College Students

PHP campus financial management system for computer graduation design

Zero basic self-study STM32 wildfire review of GPIO use absolute address to operate GPIO

Computer graduation design PHP college student human resources job recruitment network

SPI communication protocol

Pat grade a 1033 to fill or not to fill

Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail

Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle
随机推荐
MySQL learning notes - subquery exercise
sql表名作为参数传递
SSM 程序集
【机器人手眼标定】eye in hand
It's wrong to install PHP zbarcode extension. I don't know if any God can help me solve it. 7.3 for PHP environment
550 permission denied occurs when FTP uploads files, which is not a user permission problem
This time, thoroughly understand the deep copy
Global and Chinese markets of nasal oxygen tubes 2022-2028: Research Report on technology, participants, trends, market size and share
Audio and video engineer YUV and RGB detailed explanation
Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL
Use image components to slide through photo albums and mobile phone photo album pages
2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition
零基础自学STM32-复习篇2——使用结构体封装GPIO寄存器
HDU_p1237_简单计算器_stack
Get the relevant information of ID card through PHP, get the zodiac, get the constellation, get the age, and get the gender
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
在线怎么生成富文本
【clickhouse】ClickHouse Practice in EOI
2022 edition illustrated network pdf
Multi function event recorder of the 5th National Games of the Blue Bridge Cup