Event-Driven Architecture (EDA)
Service-Oriented Architecture (SOA) and Event-Driven Architecture (EDA) are two complementary architectures for separating service consumers and producers. At present, both architectures are being implemented together.
The following are the two architecture models available for interaction between service consumers and producers:
Request-driven interaction
Event-driven interaction
Traditional service-oriented approach uses request-driven interaction. The event-driven model provides loose coupling between consumers and producers compared to the request-driven interaction model.
In an event-driven SOA, instead of pushing the data to a service, the service reads the data from a common platform such as messaging. Usually, the services are loosely coupled through service interfaces and use a common service bus.
Using the event-driven model, you can achieve loose coupling through the event-driven interactions. Use a common messaging platform for reading the data. The...