Breaking Down the Monolith at Uberflip

33
1 BREAKING DOWN THE MONOLITH Ok, seriously… what the f*!@ does that even mean?!

Transcript of Breaking Down the Monolith at Uberflip

Page 1: Breaking Down the Monolith at Uberflip

1

BREAKING DOWN THE

MONOLITHOk, seriously… what the f*!@ does that even mean?!

Page 2: Breaking Down the Monolith at Uberflip

A Monolith, in our world, is not this...

Page 3: Breaking Down the Monolith at Uberflip

… nor this

Page 4: Breaking Down the Monolith at Uberflip

… nor this

Page 5: Breaking Down the Monolith at Uberflip

Let’s step into the real world for a moment...

Page 6: Breaking Down the Monolith at Uberflip

Meet Bob and his family.

Page 7: Breaking Down the Monolith at Uberflip

Meet Bob and his family.Bob plans to build a house for his family. He’s a builder.

Page 8: Breaking Down the Monolith at Uberflip

Meet Bob and his family.Bob plans to build a house for his family. He’s a builder.

What tha??

Page 9: Breaking Down the Monolith at Uberflip

Done. Just the right size...

Page 10: Breaking Down the Monolith at Uberflip

Love me that Rubine Red door

Page 11: Breaking Down the Monolith at Uberflip

Bob’s parents are moving in.

He builds a small addition.

Page 12: Breaking Down the Monolith at Uberflip

a nice little addition for my folks

Page 13: Breaking Down the Monolith at Uberflip

Bob has a thought.

If he builds more, he can add tenants $$$

Page 14: Breaking Down the Monolith at Uberflip

this is gonna scale for sure

Page 15: Breaking Down the Monolith at Uberflip

Bob’s a genius.

Demand goes up!

So, he keeps building...

Page 16: Breaking Down the Monolith at Uberflip

6 YEARS LATER

Page 17: Breaking Down the Monolith at Uberflip

someone get my shotgun

Page 18: Breaking Down the Monolith at Uberflip

someone get my shotgun

MONOLITH

Page 19: Breaking Down the Monolith at Uberflip

If only Bob foresaw he would house a whole

community, he may have instead built...

Page 20: Breaking Down the Monolith at Uberflip

A NEIGHBOURHOOD

Page 21: Breaking Down the Monolith at Uberflip

A System of Connected Houses

Page 22: Breaking Down the Monolith at Uberflip

OK, let’s return to our world

Say instead of houses we were building a SaaS platform

Page 23: Breaking Down the Monolith at Uberflip

In the early days...internet

database

serverserver* website

* flipbooks * the app

Page 24: Breaking Down the Monolith at Uberflip

In the early days...internet

database

serverserver* website

* flipbooks * the app

That’s a good lookin’ service

Page 25: Breaking Down the Monolith at Uberflip

And as we grew...internet

database

serverserverserver

serverserverserver

Mongo

* flipbooks* hubs* API * the app* metrics* website

I got some advice for these folks

Page 26: Breaking Down the Monolith at Uberflip

And as we grew some more...

internet

serverserverserver

serverserverserver

Mongo

serverserverserver

serverserverserver

Elastic

serverserverserver

serverserverserver

* flipbooks* hubs* content score* hub search* API * the app* metrics* website

database

Page 27: Breaking Down the Monolith at Uberflip

And as we grew some more...

internet

serverserverserver

serverserverserver

Mongo

serverserverserver

serverserverserver

Elastic

serverserverserver

serverserverserver

* flipbooks* hubs* content score* hub search* API * the app* metrics* website

database

MONOLITH

Page 28: Breaking Down the Monolith at Uberflip

If only we foresaw building a world class SaaS

platform, we probably would have built...

Page 29: Breaking Down the Monolith at Uberflip

A System of Servicesinternet

serverserver

Hubs/FB

serverserver

Website serverserver

Application

Database

serverserver

Search

serverserver

API

LB

Page 30: Breaking Down the Monolith at Uberflip

Breaking down the monolith

We’re breaking down a single, giant service into a system of

smaller services.

Page 31: Breaking Down the Monolith at Uberflip

Doing so allows us to separate things - code, servers, testing,

down-time, performance optimization, etc.

Breaking down the monolith

Page 32: Breaking Down the Monolith at Uberflip

It’s a good thing.

Breaking down the monolith

Page 33: Breaking Down the Monolith at Uberflip

33

Thanks!