Slide 1

Slide 1 text

Event Driven Architecture https://pranaysuresh.com/ https://www.linkedin.com/in/pranaysuresh/

Slide 2

Slide 2 text

Event Driven Architecture Examples: ● Integrating heterogeneous systems ● Data replication cross-region ● Monitoring ● IoT

Slide 3

Slide 3 text

Components of EDD Event Producer Queue Consumer Messaging patterns

Slide 4

Slide 4 text

Event Envelope Event payload Standards (https://cloudevents.io/) Packed binary Schema registry

Slide 5

Slide 5 text

Producer/Consumer Authentication Subscription Creation of event Retries

Slide 6

Slide 6 text

Queues Persistent queues Ephemeral queues Supercharged sockets Framing protocol over X

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Messaging Patterns Logging Command One-to-many Round robin Filtered routing

Slide 10

Slide 10 text

EDA Things to consider ● Ordering ● Push/Pull ● QoS ● Offline IoT devices ● Filtering ● Poor connectivity on the device ● Serverless ○ Closed (AWS lambdas, azure functions etc.) ○ Open (eg Kubeless)

Slide 11

Slide 11 text

EDA some more things to consider... ● Cert rotation ● Loops ● Monitoring ● Scaling ● Plumbing

Slide 12

Slide 12 text

AWS EventBridge Demo

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

THANK YOU!

Slide 15

Slide 15 text

Resources https://cloudevents.io/ https://github.com/cloudevents/spec/blob/v1.0/spec.md https://google.github.io/flatbuffers/flatbuffers_guide_tutorial.html https://aws.amazon.com/eventbridge/ https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html https://kafka.apache.org/documentation/ https://aws.amazon.com/blogs/iot/understanding-the-aws-iot-security-model/ https://kubeless.io/