Two common problems that we face in product development are cyclic dependencies and API versions. We'll discuss them in terms of microservice-based architecture.
Dependencies and versions
Cyclic dependencies and their impact
Generally, monolithic architecture has a typical layer model, whereas microservices carry the graph model. Therefore, microservices may have cyclic dependencies.
This means, it is necessary to keep a dependency check on microservice relationships.
Let's take a look at the following two cases:
- If you have a cycle of dependencies between your microservices, you are vulnerable to distributed stack overflow errors when a certain transaction might be stuck in a loop, for example, when a restaurant...