In this post, I’m going to discuss how the Separation of Concerns (SoC) and Do not Repeat Yourself (DRY) design principles are being applied in the context of containerised applications.
Oftentimes, an application may need to perform multiple tasks at different stages of its lifecycle or perform some tasks that are not part of the business logic such as monitoring and log collection.
Instead of having a single monolithic container perform these miscellaneous tasks in addition to handling business logic, the idea is to make the application as ‘slim’ as possible by breaking down that monolithic container into discrete, reusable…