Deployment Diagram(部署图)
Deployment diagrams are used to visualize the topology(拓扑)of the physical components of a system, where the software components are deployed.
Deployment diagrams consist of nodes and their relationships.
Purpose of Deployment Diagrams
构件图:关注软件自身环境 部署图:关注软件部署的硬件环境
Deployment diagrams are used for describing the hardware components, where software components are deployed.
Component diagrams and deployment diagrams are closely related.
💊The purpose of deployment diagrams can be described as -
🍒Visualize the hardware topology of a system.
🍒Describe the hardware components used to deploy software components.
🍒Describe the runtime processing nodes.
How to Draw a Deployment Diagram?
Deployment diagram represents the development view of a system.
Deployment diagrams have a closely relationship with components diagrams
A deployment diagram consist of nodes.(Nodes are nothing but physical hareware used to deploy the application)
🛢Deployment diagrams are useful of system engineers
🤖An efficient deployment diagram is very important as it controls the following parameters:
🎫Performance
🎫Scalability
🎫Maintainability
🎫Portability
🔴 Before drawing a deployment diagram, the following artifacts should be identified -
🌠Nodes(hardware components is used to deploy software components)
🌠Relationships among nodes.
案例
Sample Development Diagram = provide an idea of the deployment view of order maangement system. Here, we have shown nodes as -
📍Monitor
📍Modem
📍Caching Server
📍Server
The application is assumed to be a web-based application, which is deployed in a clustered environment using server 1, server 2, and server 3. The user connects to the application using the Internet. The control flows from the caching server to the clustered environment.
Where to Use Deployment Diagrams?
Deployment diagrams are mainly used to system engineers.
Deployment diagrams are used to describe the physical components(hardware), their distribution, and association.
Nowadays software applications are very complex in nature.
Software applications can be *standalone, web-based, distributed, mainframe-based and many more.Hence it is very important to design the hardware components efficiently.
💊Deployment diagrams can be used -
🐷To model the hardware topology of a system.
🐷To model the embedded system.
🐷To model the hardware details for a client/server system.
🐷To model the hardware details of a distributed application.
🐷For forward and reverses engineering.
优秀博文: