Is there an agreed UML diagram style for documenti

2019-04-05 17:40发布

I'm planning to draw some UML structure diagrams that illustrate the place of Docker images (or containers, in deployment diagrams) in the overall structure of the software I am architecting. I'm interested in illustrating the contents of containers, the mapping of network ports and other interfaces and the way multiple containers inter-operate.

My problem space is that of distributed, event-based systems (DEBS), so I expect that most of my containers will have message queues coming in and going out. Another part of my architecture involves the use of an in-memory data grid, which will span across many containers across multiple nodes in a cluster.

How can this be modeled with UML ? If it can't, is there anything planned in UML to address such distribution issues ?

1条回答
乱世女痞
2楼-- · 2019-04-05 18:44

You want to represent docker containers and how they deploy your data grids. But you also want to show how this is related to your software architecture.

I think you should first have a look a deployment diagrams. These are best suited for representing the execution of your system across hardware and software environments:

The component architecture could then be described in a component diagram, as pointed out by Thomas Kilian in his comment. For the sake of completeness: see here or here.

Finally, you could explain the relationship between your high-level independent components and your detailed classes by using the composite structure diagram.

查看更多
登录 后发表回答