Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MICROSERVICES ARCHITECTURE — An astounding chao...
Search
Khemtat Lengpaiboon
November 19, 2020
Technology
93
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MICROSERVICES ARCHITECTURE — An astounding chaos in distributed system
Khemtat Lengpaiboon
November 19, 2020
More Decks by Khemtat Lengpaiboon
See All by Khemtat Lengpaiboon
An Optimistic Microservices Architecture at Billme
khemtat
1
110
Other Decks in Technology
See All in Technology
go-sqletch
moznion
0
140
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
210
Rust で関数型ドメインモデリング
takonda
0
140
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
Refining Active Record
shugo
0
150
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
770
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Product Roadmaps are Hard
iamctodd
55
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Statistics for Hackers
jakevdp
799
230k
Navigating Weather and Climate Data
rabernat
0
560
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
KATA
mclloyd
PRO
35
16k
Transcript
MICROSERVICES ARCHITECTURE AN ASTOUNDING CHAOS IN DISTRIBUTED SYSTEM 1
Hello, My Name Is Khemtat Lengpaiboon — Technical Consultant @
Olufy House Co., Ltd. — Co-Founder & Software Engineer @ Billme Venture Co., Ltd. 2
Topic Cover • Monolith Architecture • Legacy Software • Microservice
Architecture • Organization & Team • Technology Stack • Interesting Microservices Migration Pattern 3
None
Let’s Talk About Microservices, Shall we? 5
But wait! … 6
Are we agreed on all of these good old friends?
7
Monolith Architecture 8
Monolith Architecture UI Interface Business Layer Data Access Layer 9
Big Ball of Mud 10
Legacy Software 11
“if it works, then don’t touch it.” — Every Software
Developers 12
Microservices 13
https://martinfowler.com/bliki/MicroservicePremium.html 14
Martin Fowler James Lewis Sam Newman 15
“Microservices are independently deployable services modeled around a business domain.
They communicate with each other via networks.” — Sam Newman 16
17
Microservices Core Competencies 18
Microservices Core Competencies Independent Deployability 19
Microservices Core Competencies Model Around Business Domain 20
Microservices Core Competencies Evolutionary Software 21
Microservices Core Competencies Own Their Own Data 22
Microservices Core Competencies Optimized for Information Hiding 23
Microservices Core Competencies Collaborate via Network Protocol 24
Microservices Core Competencies Expose Business Capability via Stable Interface 25
Organization & Development Unit 26
(2020). Monolith to Microservices. United States of American: O'Reilly Media,
Inc. 27
(2020). Monolith to Microservices. United States of American: O'Reilly Media,
Inc. 28
(2020). Monolith to Microservices. United States of American: O'Reilly Media,
Inc. 29
(2020). Monolith to Microservices. United States of American: O'Reilly Media,
Inc. 30
Advantages of Microservices 31
Advantages of Microservices Technology Agnostic 32
Advantages of Microservices Allow For Changes Faster 33
Advantages of Microservices Application Scaling 34
Advantages of Microservices Organization Scaling 35
Advantages of Microservices Team Productivity 36
Challenges of Microservices 37
Challenges of Microservices Interface & System Versioning 38
Challenges of Microservices Service Collaboration 39
Challenges of Microservices Integration and Delivery 40
Challenges of Microservices Distributed Transaction 41
Do not start with Microservices 42
43
Distributed Monoliths 44
Technology Stack of Choices 45
Programming Language 46
Programming Language Software Architecture 47
CI/CD Programming Language Software Architecture 48
CI/CD Programming Language Data Pipeline Software Architecture 49
CI/CD Programming Language Data Pipeline Software Architecture Team Collaboration 50
CI/CD Programming Language Data Pipeline Software Architecture Team Collaboration Expectation
51
“The Devil Is In The Detail” 52
The Devil Is In The Detail API Gateway 53
The Devil Is In The Detail API Documentation 54
The Devil Is In The Detail Data Pipeline 55
The Devil Is In The Detail Data Storage 56
The Devil Is In The Detail Container Orchestration 57
The Devil Is In The Detail Service Resilience 58
The Devil Is In The Detail Monitoring & Metrics Alert
59
The Devil Is In The Detail Service Discovery 60
How to migrate away from monolith 61
Level 0 (A) Big Ball of Mud https://gregorriegler.com/2020/08/08/levels-of-modularity.html 62
Level 0 (B) Package by Layer https://gregorriegler.com/2020/08/08/levels-of-modularity.html 63
Level 1 Package by Feature https://gregorriegler.com/2020/08/08/levels-of-modularity.html 64
Level 2 Modular Monolith https://gregorriegler.com/2020/08/08/levels-of-modularity.html 65
Level 3 Microservice Ready Monolith https://gregorriegler.com/2020/08/08/levels-of-modularity.html 66
Level 4 Microservices https://gregorriegler.com/2020/08/08/levels-of-modularity.html 67
Today @ Billme 68
69
70
Future is yet to come, But Past Live Longer 71
Q/A