Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik...
Transcript of Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik...
![Page 1: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/1.jpg)
www.techarchday.fiwww.techarchday.fi
Modern Data Platforms
(in the age of microservices)
Dominik Wagenknecht
Senior Technology Architect
Accenture
![Page 2: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/2.jpg)
www.techarchday.fi
About Dominik
Dominik Wagenknecht
Accenture Vienna / Austria
Senior Technology Architect
Emerging Technology
![Page 3: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/3.jpg)
www.techarchday.fi
Accenture Vienna
![Page 4: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/4.jpg)
www.techarchday.fi
SO YOU ADOPTED MICROSERVICES
Chapter 1
![Page 5: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/5.jpg)
www.techarchday.fi
So you adopted microservices
• CI/CD pipeline is pure magic!
• Super-motivated Teams
• Business feels progress
• Great Monitoring
• Data?
![Page 6: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/6.jpg)
www.techarchday.fi
What changed?
Browser
API Gateway
Service Service
Service Service Service
DB DB DB
Stateless
Model
API + Services!
![Page 7: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/7.jpg)
www.techarchday.fi
What hasn’t changed?
Browser
API Gateway
Service Service
Service Service Service
DB DB DBBasically CRUD
Synchronous
![Page 8: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/8.jpg)
www.techarchday.fi
BUSINESS WANTS MORE
Chapter 2
![Page 9: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/9.jpg)
www.techarchday.fi
Business wants more
• More Interaction!
– Mobile Push with content
– Personalized eMail,…
• More Smartness!
– Fraud Detection
– Next-best-action
![Page 10: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/10.jpg)
www.techarchday.fi
Mobile Push “OldSchool”
• We need to de-couple!
– Events need to reach a Queue
– Logic listens (MDB?), then push
• Issues?
– Composes really badly
– Force people to testing Queues + MDB’s
![Page 11: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/11.jpg)
www.techarchday.fi
Data Layer is holding you back
Browser
API Gateway
Service Service
Service Service Service
DB DB DB
ServiceQueue
AppleGoogle
Data flow
async
![Page 12: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/12.jpg)
www.techarchday.fi
MODERN DATA IN S, M & L(+ ONE DARK HORSE)
Chapter 3
![Page 13: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/13.jpg)
www.techarchday.fi
Detour: Every op an event
• Service initiates calls
• Modern DB’s separate
– Ops first go to a (binary) log
– Then data is written into core store async
Application(s)
Database
INSERT INTO...INSERT INTO...COMMIT
(Commit)Log
Data
![Page 14: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/14.jpg)
www.techarchday.fi
Modern Data in Small
• Idea: Don’t do it yourself
• Native
– Firebase, RethinkDB
– PipelineDB (kind of)
• Attached
– Meteor’s LiveQuery
S
![Page 15: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/15.jpg)
www.techarchday.fi
Modern Data in Medium
• Idea: Stay lean, keep control
• Messaging
– Something simple like RabbitMQ
– Kafka if you want (but not more)
• Fill from app (or there’s an easy hook)
• Just process, add leader-election
M
![Page 16: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/16.jpg)
www.techarchday.fi
Modern Data in Large
• Idea: Establish a big data Platform
• Really only two choices
– Hadoop with HBase, Kafka, Spark Streaming / Storm / Samza / Flink, etc…
– Cassandra (mostly used with Spark)
L
![Page 17: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/17.jpg)
www.techarchday.fi
Detour: Hook up to Legacy
Application(s)
Database
INSERT INTO...INSERT INTO...COMMIT
(Commit)Log
Data Log Replicator e.g. Kafka
Async starts here!
![Page 18: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/18.jpg)
www.techarchday.fi
PRAGMATISM
Chapter 4
![Page 19: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/19.jpg)
www.techarchday.fi
Some tips
• Physical != Logical
• Stay small
• Be smart about moving parts
![Page 20: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/20.jpg)
www.techarchday.fi
Dark Horse: In-Memory Grid
• Not “micro”, “stateless” or anything
• Think Cache + Logic + Streams
• Great (OpenSource) choice, in Java-world alone:
– Apache Ignite (GridGain)
– Apache Geode (Incubating, Pivotal Gemfire)
– Hazelcast
– …
![Page 21: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”](https://reader034.fdocuments.in/reader034/viewer/2022042220/5ec5effa38130663f40e659f/html5/thumbnails/21.jpg)
www.techarchday.fiwww.techarchday.fi
THANKS