Big Ball of Mud anti-pattern
All sci-fi fans know or have heard of the Death Star. In the architecture of microservices, the name Death Star is used to describe the image created by the Big Ball of Mud anti-pattern, especially when we are using patterns like the chained design pattern.
The Big Ball of Mud anti-pattern occurs when developing microservices that we do not define well in the domains, which makes microservices dependent on one another to complete trivial tasks. This type of error generates a series of unnecessary calls between the microservices, creating complex problems of being corrected, such as latency and, in the worst cases, cyclic-deployed dependency.
The following diagram exemplifies the working of the Big Ball of Mud anti-pattern. Observe that the communication in the diagram looks like the Death Star:
>
When it comes to a few microservices, free communication seems interesting, but this is a sign that the definitions of domains are not adequate. The direct cyclic communication...