* Adding support for maven assembly plugin to generate executable jar with all dependencies in built * Merge branch 'master' into issue-989 # Conflicts: # abstract-document/pom.xml # pom.xml * Adding maven assemly plugin for projects with name A * Update in format as per checkstyle, i.e. Spcae in place of tab with size of 2 * batch set - 2 having all project with B and C * issue-989 d-e-f * fixing eip pom and adding g-h-i-l-m-n Skipping naked object as it seems it doesn't have main method, will consider this at end * Adding for O and P projects Skipping Object-Mother as we don't have main method for same.
layout, title, folder, permalink, categories, tags
layout | title | folder | permalink | categories | tags | |
---|---|---|---|---|---|---|
pattern | Event Driven Architecture | event-driven-architecture | /patterns/event-driven-architecture/ | Architectural |
|
Intent
Send and notify state changes of your objects to other applications using an Event-driven Architecture.
Class diagram
Applicability
Use an Event-driven architecture when
- you want to create a loosely coupled system
- you want to build a more responsive system
- you want a system that is easier to extend
Real world examples
- SendGrid, an email API, sends events whenever an email is processed, delivered, opened etc... (https://sendgrid.com/docs/API_Reference/Webhooks/event.html)
- Chargify, a billing API, exposes payment activity through various events (https://docs.chargify.com/api-events)
- Amazon's AWS Lambda, lets you execute code in response to events such as changes to Amazon S3 buckets, updates to an Amazon DynamoDB table, or custom events generated by your applications or devices. (https://aws.amazon.com/lambda)
- MySQL runs triggers based on events such as inserts and update events happening on database tables.