Breaking The Monolith: Fast Distributed Web Services Using Sets (Feb13, NUS)
Breaking Down the Monolith at Uberflip
-
Upload
yoav-schwartz -
Category
Software
-
view
7.541 -
download
0
Transcript of Breaking Down the Monolith at Uberflip
![Page 1: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/1.jpg)
1
BREAKING DOWN THE
MONOLITHOk, seriously… what the f*!@ does that even mean?!
![Page 2: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/2.jpg)
A Monolith, in our world, is not this...
![Page 3: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/3.jpg)
… nor this
![Page 4: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/4.jpg)
… nor this
![Page 5: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/5.jpg)
Let’s step into the real world for a moment...
![Page 6: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/6.jpg)
Meet Bob and his family.
![Page 7: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/9.jpg)
Done. Just the right size...
![Page 10: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/10.jpg)
Love me that Rubine Red door
![Page 11: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/11.jpg)
Bob’s parents are moving in.
He builds a small addition.
![Page 12: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/12.jpg)
a nice little addition for my folks
![Page 13: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/13.jpg)
Bob has a thought.
If he builds more, he can add tenants $$$
![Page 14: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/14.jpg)
this is gonna scale for sure
![Page 15: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/15.jpg)
Bob’s a genius.
Demand goes up!
So, he keeps building...
![Page 16: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/16.jpg)
6 YEARS LATER
![Page 17: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/17.jpg)
someone get my shotgun
![Page 18: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/18.jpg)
someone get my shotgun
MONOLITH
![Page 19: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/19.jpg)
If only Bob foresaw he would house a whole
community, he may have instead built...
![Page 20: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/20.jpg)
A NEIGHBOURHOOD
![Page 21: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/21.jpg)
A System of Connected Houses
![Page 22: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/22.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/23.jpg)
In the early days...internet
database
serverserver* website
* flipbooks * the app
![Page 24: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/24.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/25.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/26.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/27.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/28.jpg)
If only we foresaw building a world class SaaS
platform, we probably would have built...
![Page 29: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/29.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/30.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/31.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/32.jpg)
It’s a good thing.
Breaking down the monolith
![Page 33: Breaking Down the Monolith at Uberflip](https://reader034.fdocuments.us/reader034/viewer/2022052116/58aa8ac61a28ab2e448b62d9/html5/thumbnails/33.jpg)
33
Thanks!