Top Banner
www.techarchday.fi www.techarchday.fi Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect Accenture
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”

May 20, 2020

Download

Documents

dariahiddleston
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: Modern Data Platforms - Amazon S3...Modern Data Platforms (in the age of microservices) Dominik Wagenknecht Senior Technology Architect ... In-Memory Grid •Not “micro”, “stateless”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

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”

www.techarchday.fiwww.techarchday.fi

THANKS