1
BREAKING DOWN
THE
MONOLITH
Ok, 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
server
server* website
* flipbooks
* the app
In the early days...
internet
database
server
server* website
* flipbooks
* the app
That’s a good
lookin’ service
And as we grew...
internet
database
server
server
server
server
server
server
Mongo
* flipbooks
* hubs
* API
* the app
* metrics
* website
I got some
advice for
these folks
And as we grew some more...
internet
server
server
server
server
server
server
Mongo
server
server
server
server
server
server
Elastic
server
server
server
server
server
server
* flipbooks
* hubs
* content score
* hub search
* API
* the app
* metrics
* website
database
And as we grew some more...
internet
server
server
server
server
server
server
Mongo
server
server
server
server
server
server
Elastic
server
server
server
server
server
server
* 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 Services
internet
server
server
Hubs/FB
server
server
Website
server
server
Application
Database
server
server
Search
server
server
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!

Breaking Down the Monolith at Uberflip