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
25
"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
API First revisited - where did we take a left turn?
posedio
PRO
0
27
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
16
Contract testing with Java
posedio
PRO
0
12
Flink in two nutshells
posedio
PRO
0
15
Taming the Codebase: Strategies for Refactoring Legacy Code
posedio
PRO
0
11
Access & Usage Policies and Enforcement: Challenges and Solutions
posedio
PRO
0
11
The Future of Data Sharing
posedio
PRO
0
49
Is your spring boot application in Kubernetes secure?
posedio
PRO
0
58
Zero trust architecture with Keycloak
posedio
PRO
0
150
Other Decks in Programming
See All in Programming
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
110
C++でシェーダを書く
fadis
6
4.2k
Tauriでネイティブアプリを作りたい
tsucchinoko
0
380
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
740
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
140
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
130
RubyLSPのマルチバイト文字対応
notfounds
0
120
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
230
Jakarta EE meets AI
ivargrimstad
0
840
デザインパターンで理解するLLMエージェントの作り方 / How to develop an LLM agent using agentic design patterns
rkaga
9
1.5k
Realtime API 入門
riofujimon
0
150
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
Practical Orchestrator
shlominoach
186
10k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Building an army of robots
kneath
302
43k
Building Applications with DynamoDB
mza
90
6.1k
Optimizing for Happiness
mojombo
376
70k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Rails Girls Zürich Keynote
gr2m
94
13k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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!