From the course: Building Event-Driven Applications In Go

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

What are the benefits of using EDA?

What are the benefits of using EDA?

- [Presenter] Why are event-driven applications so great? Why are we even considering building applications using an event-driven architecture? What are some of the benefits of using event-driven architecture? Firstly, scalability. Now, event-driven applications are inherently scalable because they decouple event producers from event consumers in such a way that you can scale each component independently. For example, if one part of your system experiences a huge surge in demand, you can scale up only the consumers handling those events without having to scale the entire system. If you're used to building applications in the monolith or in asynchronous style, you realize that's not exactly possible there. But with event-driven architecture, it is possible because they can be scaled independently. It's also important to note that message brokers facilitates scalability by buffering events, allowing consumers to process them at their own pace. So if you have a heavy inflow of event from…

Contents