Top Banner
23

Pragmatic approaches to the Event Horizon

Jan 21, 2018

Download

Technology

Kingsley Davies
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Pragmatic approaches to the Event Horizon
Page 2: Pragmatic approaches to the Event Horizon

Pragmatic approaches to the Event Horizon

Kingsley Davies@kings13y

Page 3: Pragmatic approaches to the Event Horizon

kings13y

https://github.com/Tesco/mewbase

[

{ "eventId": "intro", "eventType": "research-developer", "data": {

"industry": "gaming" , "duration": "1" },

{ "eventId": "arch", "eventType": "monolith-decomposer", "data": {

"industry": "gaming" , "duration": "4" },

{ "eventId": "dev", "eventType": "es-builder", "data": { "industry": "govt" , "duration": "1" },

{ "eventId": "foss", "eventType": "es-fwk-builder", "data": {

"industry": "retail" , "duration": "0.5" }

]

Page 4: Pragmatic approaches to the Event Horizon

Overview - Changing perspective

● Past

● Present

● Future

Page 5: Pragmatic approaches to the Event Horizon

Legacy microservices

Page 6: Pragmatic approaches to the Event Horizon

Classic: As-is / To-Be

Data Store

Client

Service Tier

Client

Product Service

Wallet PrefsAccount

DS1 DS2 DS3

Page 7: Pragmatic approaches to the Event Horizon

Turnaround!!!

Page 8: Pragmatic approaches to the Event Horizon

Events, Events, Events

● Data architecture

● Model of interaction

A way of life…

Page 9: Pragmatic approaches to the Event Horizon

First taste of events

Pub[event-emitted]

Page 10: Pragmatic approaches to the Event Horizon

Event Driven Design

Event-Emitted

SystemSubmits Form

ProcessForm

Page 11: Pragmatic approaches to the Event Horizon

Event Storming

Page 12: Pragmatic approaches to the Event Horizon

Event storming IRL

Page 13: Pragmatic approaches to the Event Horizon

Storing Data

Page 14: Pragmatic approaches to the Event Horizon

Storing Facts (Event Sourcing)

http://bit.ly/2hfqssi

Page 15: Pragmatic approaches to the Event Horizon

Reading Facts

Page 16: Pragmatic approaches to the Event Horizon

Materialising Views (CQRS)

http://bit.ly/2j76Ebb

Page 17: Pragmatic approaches to the Event Horizon

Features..

Traceability

Autonomy

Stability

Page 18: Pragmatic approaches to the Event Horizon

FP and Microservices

Immutability

Composability

Functions as 1st class citizens

Laziness

=> Event Source storage

=> Functions over data; Service chains

=> Refinement services, Bounds

=> Serverless

Page 19: Pragmatic approaches to the Event Horizon

When things go silent/bang

Page 20: Pragmatic approaches to the Event Horizon

Checkpoint

● Event Storming

● Immutable journal of events

● State and Reads as a leftFold on events

● Build for failure

Page 21: Pragmatic approaches to the Event Horizon

Anything else familiar from checkpoint ?

● Immutable journal of events

● State and Reads as a leftFold on events

...from serverless to masterless ?

…….and trustless (anonymous) ?

Page 22: Pragmatic approaches to the Event Horizon

Conclusions

X-Domain (product) Storming + Domain Teams

Inversion of Flow => Innovation

Broken promises, retained dreams

Events + Functions

DDD, Dist Sys, Ops & Crypto

Page 23: Pragmatic approaches to the Event Horizon

Thanks, Links and Questions

THANK YOU!!!

● @kings13y / @underscore

● http://underscore.io/

● http://breakpointradio.net

● https://github.com/Tesco/mewbase

● https://www.youtube.com/watch?v=ycxvm

OKDHMQ

● https://www.youtube.com/watch?v=gTLV

HrMxBww

● https://t.co/GJIIuBeNu5

● https://vimeo.com/223982152

● https://t.co/FGhs4wwzvF

● https://youtu.be/FJ3T8ytF6ro

● https://www.youtube.com/watch?v=JHGk

aShoyNs