Process sequence anti-pattern
The process sequence anti-pattern is a microservice version of a known anti-pattern in the OOP ecosystem—sequential coupling. The process sequence occurs whenever a call to a microservice is dependent on the execution of another call.
This type of behavior is sometimes not an anti-pattern for microservices that work with synchronous calls. However, with respect to the microservices of asynchronous characteristics, it is a mistake of drawing in the communication and domains of microservices.
Unlike sequential coupling, where one class depends on the method of another class, in the case of microservices, the process sequence depends on the end of the processing of a microservice to use data already processed previously ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access