$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Microservices - The Naked Truth Of The Maintain...
Search
Jakub Kubryński
April 03, 2017
Programming
1
730
Microservices - The Naked Truth Of The Maintainability
Jakub Kubryński
April 03, 2017
Tweet
Share
More Decks by Jakub Kubryński
See All by Jakub Kubryński
Autonomous deployments in modern distributed systems
jkubrynski
1
120
Bulletproof communication in distributed systems
jkubrynski
0
540
JVM Workshop
jkubrynski
1
200
Engineering architecture
jkubrynski
0
820
Case study of the good enough architecture
jkubrynski
0
440
JPA - Beyond Copy-Paste
jkubrynski
3
1.6k
Other Decks in Programming
See All in Programming
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
39
26k
Microservices rules: What good looks like
cer
PRO
0
1.6k
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
250
GISエンジニアから見たLINKSデータ
nokonoko1203
0
180
Patterns of Patterns
denyspoltorak
0
110
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
3.2k
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
560
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
250
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
1
390
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
430
AIコーディングエージェント(Manus)
kondai24
0
210
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
How to Talk to Developers About Accessibility
jct
1
83
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Between Models and Reality
mayunak
0
150
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
40
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
41
Paper Plane
katiecoart
PRO
0
44k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
0
99
Are puppies a ranking factor?
jonoalderson
0
2.3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
0
160
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
140
Transcript
@jkubrynski / kubrynski.com MICROSERVICES THE NAKED TRUTH OF THE MAINTAINABILITY
JAKUB KUBRYNSKI
[email protected]
/ @jkubrynski / kubrynski.com
$ WHOAMI DEVSKILLER CO-FOUNDER BOTTEGA TRAINER DEVOXX.PL PROGRAM COMMITTEE MEMBER
SPRING CLOUD CONTRACT CO-AUTHOR
Prawdziwego programistę poznaje się nie po tym, jak zaczyna, ale
jak utrzymuje.
HOW MICRO? 100 LOC? 1K LOC? 10K LOC? 100K LOC?
1K LOC AVERAGE ENTERPRISE APP == 500K LOC 1 ENTEPRISE
APP == 500 MICROSERVICES
BUSINESS ORIENTED FOR TECHNICAL STUFF WE HAVE LIBS
AUTONOMY
INDEPENDENCE P = P(1) * P(2) * ... * P(N)
99.8 * 99.8 * 99.8 = 99.4
99.9 ^ 10 = 99.0
AVAILABILITY VS DOWNTIME 9 9 . 9 9 9 %
35d 4d 8h 50m 5m per year 2.5h 14m 1.5m 8s 0.8s per day
DEPTH * * SYNCHRONOUS
QUALITY
LOOSE COUPLING OVER CANONICAL MODEL
AVOID END-TO-END TESTS
VERIFY CONTRACTS IF: A == C && B == C
THEN: A == B
DESIGN FOR FAILURE
RETRY
CIRCUIT BREAKER KEEP CALM AND FALLBACK
FIX AS ASAP AS POSSIBLE
PERFORMANCE
PERFORMANCE TESTS EXPENSIVE INACCURATE TRICKY
PRODUCTION TRAFFIC IS USUALLY ON PRODUCTION
MONITORING APPLICATION PERFORMANCE MANAGEMENT
ANSCOMBE'S QUARTET
PERCENTILES P50, P90, P95, P99
P?? P95? P99? P99.5?
10 REQUESTS PER PAGE P90: 100% slow page views P95:
50% slow page views P99: 10% slow page views
P99 10 PAGES PER SESSION MEANS 100% FRUSTRATED USERS
MONITOR P99.9 OR P99.95
AUTOMATION * * AS A CODE
PIPELINES AS A CODE
INFRASTRUCTURE AS A CODE
CONFIGURATION AS A CODE
None
QUESTIONS?
THANKS
"Have no fear of perfection - you'll never reach it."
― Salvador Dalí