The service will try to full-fill the intention in the background which provides
opportunity to implement retry-strategies and handle degraded service quality
gracefully. This also makes the rest of your system agnostic to the details of
that API (they use the client service).
3 replies
The results of operations are made available through the read model and through
notifications. This state is cached and can be returned very fast without delay.
(👋 #CQRS)
State can be fetched from the third-party API regularly and in a controlled
manner. That means your users cannot hammer the third-party API with requests
and get you blocked.
As architects and engineers we need to not forget what software is great for,
and that our easy often means letting users do work which can be solved with
software.
Software has unlimited patience, users don't.