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
760
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
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.2k
2025年になってもまだMySQLが好き
yoku0825
8
4.3k
【Grafana Meetup Japan #6】Grafanaをリバプロ配下で動かすときにやること ~ Grafana Liveってなんだ ~
yoshitake945
0
400
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
370
落ちる 落ちるよ サーバーは落ちる
suehiromasatoshi
0
150
ガチな登山用デバイスからこんにちは
halka
1
230
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
980
バイブスに「型」を!Kent Beckに学ぶ、AI時代のテスト駆動開発
amixedcolor
2
410
Kubernetes における cgroup driver のしくみ: runwasi の bugfix より
z63d
2
250
サンドボックス技術でAI利活用を促進する
koh_naga
0
190
エラーとアクセシビリティ
schktjm
1
1.1k
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
170
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
Statistics for Hackers
jakevdp
799
220k
Context Engineering - Making Every Token Count
addyosmani
1
17
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Gamification - CAS2011
davidbonilla
81
5.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Become a Pro
speakerdeck
PRO
29
5.5k
How STYLIGHT went responsive
nonsquared
100
5.8k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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