This is the 26th day of my participation in the November Gwen Challenge. Check out the event details: The last Gwen Challenge 2021
Basic concepts of architecture diagrams
- An architecture is a collection of system components and their relationships
- An architecture plan is a vehicle used to express a collection of these interrelationships. It has two functions:
- Demarcate the target system boundary
- Visualize the structure of the target system
Classification of architecture
Business architecture
- Business Architecture: Use a methodology or logic to define the boundaries of the business involved in a project. The key to business architecture is to know the business
- For example, a group purchase website needs to make clear division of commodity categories, commodities, orders, order services, payment, refund and so on
- Business architecture does not need to consider what technology development, concurrency, and related project implementation issues
Application architecture
- Application architecture: for the overall architecture of the whole system implementation, it is necessary to point out the system levels, the principles of system development, and the application services of each level of the system
- For example, the system is divided into data layer, service layer, communication layer and presentation layer, and the application services of each layer are subdivided
The data architecture
- Data architecture: a set of architectural logic for storing data. Data is divided according to the application scenarios of different systems and time periods, such as data heterogeneity, read/write separation, cache usage, and distributed data policies
- Data architecture addresses three main issues:
- What kind of data does the system need
- How do you store this data
- How to design data architecture
- For example, the architectural logic of big data architecture projects:
The technical architecture
- Technical architecture:
- Application architecture is concerned only with which application systems and platforms are needed to meet the requirements of the business goals, not with which technologies are used throughout the construction process
- The technical architecture is to identify the required technical requirements according to the requirements of the application architecture, select the technology, and clearly describe the relationship between each key technology and technology
- The technical architecture addresses four main issues:
- Layering on a purely technical level
- Choice of development framework
- Choice of development language
- Technology choices involving non-functional requirements
Architecture Diagram Design
Architecture diagram design steps
- Understand the types of architecture diagrams that need to be designed
- Identify the key elements in the architecture diagram:
- product
- technology
- service
- Tease out the links between key elements:
- contains
- support
- At the same level with
- Output architecture diagrams with clear relationships
Architectural Design content
- Architectural design needs to express:
- The boundaries of the system and its relationship to the outside world
- The internal components of the system and the relationships among the components
- The key process
- Flow of data
- Selection of development technology
- How is it deployed and what resources are required
Architectural design approach
- System boundaries and relationships with the outside world:Logical architecture diagram, overall architecture, top-level design
- The architecture diagram shows the main entities in the form of boxes, with lines representing their relationship to each other
- The boundaries of each entity and the role of each part need to be defined in the diagram
- The internal components of the system and the relationships between the components:Logical architecture diagram
- The architecture diagram draws the entities composed in the system in the form of boxes, and shows the relationship between each other through lines
- The components of the system can be logical modules or physical microservices
- Key processes:Flow chart, sequence diagram
- The key to this kind of graph is logical consistency
- The entities in the process correspond to the entities in the logical architecture
- Data flow:Data architecture diagram
- Similar to flow charts, except that data architecture diagrams emphasize data flow relationships, so arrows have specific meanings
- Selection of development technology:Development architecture Diagram
- Architecture diagrams are represented in boxes
- It is usually drawn in layers. The framework layer, the data layer, the front end layer
- Identify the technical framework adopted at each level
- How to deploy and what resources are required:Physical architecture diagram
- Corresponding logical architecture diagram
- Identify the nodes that need to be deployed, the middleware and database that need to be used, and the firewall that need to be synchronized