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
Microservice
Search
Michael Bui
January 11, 2017
Technology
2
770
Microservice
• Microservices
• Migration
• Scalability
• Resilience
• Deployment
Michael Bui
January 11, 2017
Tweet
Share
More Decks by Michael Bui
See All by Michael Bui
Boeing (BA) Analysis - Adam Khoo | Group O 2018
michaelbui
0
140
Asynchronous processing using AWS Services
michaelbui
0
44
PHP v5.3+ Features
michaelbui
0
62
Other Decks in Technology
See All in Technology
webpack依存からの脱却!快適フロントエンド開発をViteで実現する #vuefes
bengo4com
3
3.3k
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
170
RemoteFunctionを使ったコロケーション
mkazutaka
1
110
だいたい分かった気になる 『SREの知識地図』 / introduction-to-sre-knowledge-map-book
katsuhisa91
PRO
3
1.4k
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
290
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
240
Building a cloud native business on open source
lizrice
0
180
入院医療費算定業務をAIで支援する:包括医療費支払い制度とDPCコーディング (公開版)
hagino3000
0
110
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
270
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
170
NLPコロキウム20251022_超効率化への挑戦: LLM 1bit量子化のロードマップ
yumaichikawa
3
450
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
180
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Faster Mobile Websites
deanohume
310
31k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Statistics for Hackers
jakevdp
799
220k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
GitHub's CSS Performance
jonrohan
1032
470k
4 Signs Your Business is Dying
shpigford
185
22k
Transcript
Microservices #MichaelBui2812 1
2
About Me • Full-Stack Software Developer • Working at PropertyGuru
• Experience: ◦ Programming: 9 years ◦ Microservices: 2 years ◦ DevOps: < 1 year 3 http://about.me/MichaelBui
4
5 Agenda • Microservices • Migration • Scalability • Resilience
• Deployment
Microservices 6
7
8
9
10
11 Migration
Tools 12 • Container: Docker, LXC • Messaging: Redis, ZeroMQ,
RabbitMQ,...
1. Legacy App 13 Begin Log Begin Process Log End
End
1. Legacy App (cont.) 1. Linear codes 2. Become messy
when more logics added =>unclean code 14
2. Improved App by Events 15 Begin Event Log Begin
Process Event Log End End
2. Improved App by Events (cont.) 16
2. Improved App by Events (cont.) 17
3. Improved App by Microservices 18 Begin End Event Channel
Message List Message List Watchers Watchers Workers Workers End
3. Improved App by Microservices (cont.) 19
3. Improved App by Microservices (cont.) 20
Scalability 21
22 1 watcher + 1 worker = 30s
3 watchers + 3 workers = 14s 23 Broadcasting &
Load Balancing
24 Resilience
25 Deployment
26 Gitlab CI
Question? 27 https://github.com/michaelbui/PHPSG-1701
http://career.propertyguru.com/ 28
Thank you! 29