当前位置:网站首页>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
边栏推荐
- Apicloud openframe realizes the transfer and return of parameters to the previous page - basic improvement
- Global and Chinese markets hitting traffic doors 2022-2028: Research Report on technology, participants, trends, market size and share
- [coppeliasim] 6-DOF path planning
- Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL
- Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle
- Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail
- MySQL lethal serial question 1 -- are you familiar with MySQL transactions?
- 从顶会论文看2022年推荐系统序列建模的趋势
- 安装php-zbarcode扩展时报错,不知道有没有哪位大神帮我解决一下呀 php 环境用的7.3
- 零基础自学STM32-野火——GPIO复习篇——使用绝对地址操作GPIO
猜你喜欢
0211 embedded C language learning
How does redis implement multiple zones?
Computer graduation design PHP college classroom application management system
Advanced technology management - what is the physical, mental and mental strength of managers
剑指 Offer 29. 顺时针打印矩阵
Use the list component to realize the drop-down list and address list
Social networking website for college students based on computer graduation design PHP
Paper notes: graph neural network gat
【社区人物志】专访马龙伟:轮子不好用,那就自己造!
高数_向量代数_单位向量_向量与坐标轴的夹角
随机推荐
构建库函数的雏形——参照野火的手册
Spark accumulator
2022 edition illustrated network pdf
PHP campus financial management system for computer graduation design
Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail
Exness: Mercedes Benz's profits exceed expectations, and it is predicted that there will be a supply chain shortage in 2022
模板_求排列逆序对_基于归并排序
Computer graduation design PHP part-time recruitment management system for College Students
好用的 JS 脚本
550 permission denied occurs when FTP uploads files, which is not a user permission problem
[depth first search] Ji Suan Ke: Betsy's trip
Advanced technology management - what is the physical, mental and mental strength of managers
技术管理进阶——什么是管理者之体力、脑力、心力
How to check the lock information in gbase 8C database?
Use the list component to realize the drop-down list and address list
Shell脚本更新存储过程到数据库
零基础自学STM32-复习篇2——使用结构体封装GPIO寄存器
Genius storage uses documents, a browser caching tool
在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
【社区人物志】专访马龙伟:轮子不好用,那就自己造!