Challenges

In this lesson, we'll look at some challenges pertaining to the use of self-contained systems.

SCS describes an architectural approach that is more narrowly defined than microservices. Therefore, SCS cannot be the approach for solving all problems.

Limitation to web applications #

The first limitation of SCSs is that they are web applications. Thus, SCSs are not a solution when a web UI is not required.

However, some aspects of SCSs can still be implemented in a scenario that does not involve web applications: the clear separation of domains and the focus on asynchronous communication.

If a system is to be developed that offers only an API, an architecture can be created that provides at least some of the advantages of SCSs.

Single page app (SPA) #

A single page app (SPA) is usually an application written in JavaScript that runs in the browser and it often implements complex UI logic. Applications such as Google Maps or Gmail are examples of applications that are highly complex and must be very interactive. SPAs are ideal for these cases. ...