Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
"Go big or go Home!" The Beauty of the Monolith
Search
Posedio
PRO
September 25, 2023
Programming
0
23
"Go big or go Home!" The Beauty of the Monolith
Posedio
PRO
September 25, 2023
Tweet
Share
More Decks by Posedio
See All by Posedio
The Future of Data Sharing
posedio
PRO
0
39
Is your spring boot application in Kubernetes secure?
posedio
PRO
0
45
Zero trust architecture with Keycloak
posedio
PRO
0
87
Site Reliability Engineering: Getting C-Level Support
posedio
PRO
0
12
Controlling Data in Gaia-X
posedio
PRO
0
13
The REWE Data Platform
posedio
PRO
0
28
Key Insights from Using Kafka in Large-Scale Projects
posedio
PRO
0
58
We tried to sell a cake for 1 Billion Euro... then build a data mesh
posedio
PRO
0
13
Handling round-the-clock availability
posedio
PRO
0
18
Other Decks in Programming
See All in Programming
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
120
What is TDD?
urakawa_jinsei
1
200
Unlocking Python's Core Magic
leew
0
110
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
550
Quarto Clean Theme
nicetak
0
220
NEWTにおけるiOS18対応の進め方
ryu1sazae
0
180
CSC509 Lecture 01
javiergs
PRO
1
200
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
4
93k
Progressive Web Apps for Rails developers
siaw23
2
520
pytest プラグインを開発して DRY に自動テストを書こう
inuatsu
2
240
RemixとCloudflare Stack におけるFile Upload
ossamoon
1
120
Frontend Magic mit CSS Houdini
joergneumann
0
420
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
4k
Ruby is Unlike a Banana
tanoku
96
11k
Music & Morning Musume
bryan
46
6.1k
Git: the NoSQL Database
bkeepers
PRO
425
64k
The Cost Of JavaScript in 2023
addyosmani
43
5.8k
Creatively Recalculating Your Daily Design Routine
revolveconf
217
12k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
48k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
327
21k
Transcript
None
2
3 WHAT ABOUT ME? • Developer for 7+ years •
@ Posedio since 2022 • Sagittarius with Virgo rising • Cat Lover • Informatics as a craft not a science Philipp Seifert-Kehrer
ROADMAP 1. Xs and Os 2. Where Promised Land? 3.
It’s Tricky getting it right 4.The Majestic Monolith 5. Pretty sus Standard
MICROSERVICES – MONOLITHS XS AND OS 1
6 HOW COME I GATHERED YOU HERE TODAY
7 MICROSERVICES? MONOLITHS? Many small applications Do 1 thing well
Communication via HTTP Teams own specific services Wut? One deployable
8 ADVERTISED BENEFITS Easier to build and maintain Improved productivity
and speed Flexibility in technologies Autonomous teams Improved Scalability and Fault Isolation
9 SO, WHAT TO EXPECT FROM THIS TALK? Questioning microservices
as standard architectural approach in modern applications AND Arguing for monoliths as a solid architectural choice in modern applications
2
11 RESPONSIBILITY PING PONG
12 PIPE DREAM OF FASTER DEVELOPMENT
13 INDEPENDENCE We can change implementation without coordinating with others
14 MICRO… IS PRETTY DAMN SMALL Starting off too small
Frontend glue How small is too small?
15 AMPLIFIED PROBLEMS Increased Load/Latency Fault Isolation only technically More
possible sources of error
16
IT’S TRICKY 3
18 EVERYONE CAN BE A DEVELOPER
19 DISTRIBUTED SYSTEM
20 GAMEPLAN Single team or outstanding communication Profound knowledge of
domain Clear-cut understanding of non-functional requirements Developers that are skilled and accountable
21 BUT… … unless you really really really have to!!!
22
THE MAJESTIC MONOLITH 4
24 LEGACY UP YOURS
25 MONOLITHS ARE NOT PERFECT, BUT… Easy to refactor
26 WHAT YOU WANT What you really really want
27 SEPARATION OF CONCERNS https://github.com/spring-projects/spring-modulith
28 THAT FANCY SPRING PROJECT
A PRETTY STANDARD 5
30 GETTING IT RIGHT FROM THE GET GO
31 ADMIT YOU DON’T KNOW SHIT… … at the beginning
of a project/startup/whatever… … but are willing to learn and adapt accordingly.
32 DON’T BE THAT GUY/GAL
33 WHO BENEFITS MOST FROM MICROSERVICE HYPE?
34 NICE CONCEPT Reality hits different Solution for very specific
problems New problems to solve
35 BEST PART ABOUT MICROSERVICES? They tend to be easily
refactored into a monolith.
36 WRAPPING IT UP Maintainability Availability Scalability Sustainability Get away
from microservices as a standard Stop trying to outsmart the world Start off with a monolith Adapt according to the problems at hand Go big or go home
37 “So, don’t be a prick Admit you don’t know
shit And start off any project with some nice monolith” - Drake
THANK YOU! POSEDIO GMBH +43 660 9154419
[email protected]
Weyringergasse 1-3,
1040 Wien, Millenium Park 4, 6980 Lustenau www.posedio.com Be careful on the cold concrete!