Re:Event-Driven Architecture
by ivix on Tuesday February 11, 2020 @02:41PM
(#22301916)
In general I tend to agree. However really the issue is one of correctly defining the granularity of events that the system should be aware of.
After all, even a completely synchronous webapp is event driven, it just so happens to only care about a single event, a request.
The problems come about when code which can all be synchronous becomes unnecessarily complicated and spread across multiple microservices.
Microservices are generally a solution to people scaling issues, not technical ones. If you have significantly more services than teams, you are probably doing something wrong.
After all, even a completely synchronous webapp is event driven, it just so happens to only care about a single event, a request.
The problems come about when code which can all be synchronous becomes unnecessarily complicated and spread across multiple microservices.
Microservices are generally a solution to people scaling issues, not technical ones. If you have significantly more services than teams, you are probably doing something wrong.