Benefits of EDA
Learn about the benefits of event-driven architecture.
We'll cover the following
An EDA brings several benefits to our application compared to an application that only uses synchronous or point-to-point (P2P) communication patterns.
Resiliency
In a P2P connection, as shown in the following diagram, the calling component, Orders, is dependent on the called component, Depot, being available. If the called component cannot process the operation in time or if the called component has a fault, then that error will propagate back to the caller. Worse is a chain or tree of calls that end up with a fault somewhere far away from the original caller, causing the entire operation to fail.
If the Depot service is not responding or is failing to respond on time, then the Orders service may fail to pass on information regarding new orders:
Get hands-on with 1400+ tech skills courses.