Hands-On: Sidecar | Topz (Designing Distributed Systems)
· 2 min read
Sidecar Hands-on Exercise: TOPZ
The purpose of this exercise is to explore the "sidecar" pattern of deploying software using containers and container groups.
This exercise has the reader creating an arbitrary containerised application and a sidecar in the same namespace. The sidecar provides resource monitoring for the virtual host.
The provided instructions use a purpose-built utility called topz
,
and leaves the main application ambiguous (to be determined by the
implementer). The implementation is started using Docker CLI commands.
Below is the exercise as defined in the book's text: