Chapter 3: Deployment Scenarios
In the previous chapter, we looked at common challenges and pitfalls when applying micro frontends. Even though those issues make our life a bit more complicated, it's quite often a necessary evil to get the desired benefits: improved scalability in terms of development teams. The life cycle part—where this benefit can be best seen—is in deployment.
Monoliths come with a single way of deploying: all or nothing. This means that the full business logic is rolled out in a single activity. The reason why monoliths scale worse in development than their micro frontend counterparts is that they come with these larger releases. Very often, large releases result in longer release cycles. After all, testing and verification need to happen too.
For micro frontends, we have a lot of options for creating deployment pipelines. Even here, we can leverage a single pipeline. Alternatively, we can also use the other extreme of the spectrum: having...