Breaking Down the Monolith at Uberflip

  • View
    7.541

  • Download
    0

  • Category

    Software

Preview:

Citation preview

1

BREAKING DOWN THE

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

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

… nor this

… nor this

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

Meet Bob and his family.

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

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

What tha??

Done. Just the right size...

Love me that Rubine Red door

Bob’s parents are moving in.

He builds a small addition.

a nice little addition for my folks

Bob has a thought.

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

this is gonna scale for sure

Bob’s a genius.

Demand goes up!

So, he keeps building...

6 YEARS LATER

someone get my shotgun

someone get my shotgun

MONOLITH

If only Bob foresaw he would house a whole

community, he may have instead built...

A NEIGHBOURHOOD

A System of Connected Houses

OK, let’s return to our world

Say instead of houses we were building a SaaS platform

In the early days...internet

database

serverserver* website

* flipbooks * the app

In the early days...internet

database

serverserver* website

* flipbooks * the app

That’s a good lookin’ service

And as we grew...internet

database

serverserverserver

serverserverserver

Mongo

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

I got some advice for these folks

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

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

If only we foresaw building a world class SaaS

platform, we probably would have built...

A System of Servicesinternet

serverserver

Hubs/FB

serverserver

Website serverserver

Application

Database

serverserver

Search

serverserver

API

LB

Breaking down the monolith

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

smaller services.

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

down-time, performance optimization, etc.

Breaking down the monolith

It’s a good thing.

Breaking down the monolith

33

Thanks!

Recommended