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
740
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
40
PHP v5.3+ Features
michaelbui
0
58
Other Decks in Technology
See All in Technology
ルートユーザーの活用と管理を徹底的に深掘る
yuobayashi
8
750
Micro Frontends: Necessity, Implementation, and Challenges
rainerhahnekamp
0
160
こんなデータマートは嫌だ。どんな? / waiwai-data-meetup-202504
shuntak
4
1.5k
食べログが挑む!飲食店ネット予約システムで自動テスト無双して手動テストゼロを実現する戦略
hagevvashi
1
100
試験は暗記より理解 〜効果的な試験勉強とその後への活かし方〜
fukazawashun
0
200
Beyond {shiny}: The Future of Mobile Apps with R
colinfay
0
280
Cloud Native PG 使ってみて気づいたことと最新機能の紹介 - 第52回PostgreSQLアンカンファレンス
seinoyu
2
260
ペアーズにおけるData Catalog導入の取り組み
hisamouna
0
260
50人の組織でAIエージェントを使う文化を作るためには / How to Create a Culture of Using AI Agents in a 50-Person Organization
yuitosato
6
2.6k
SaaSプロダクト開発におけるバグの早期検出のためのAcceptance testの取り組み
kworkdev
PRO
0
570
20250328_RubyKaigiで出会い鯛_____RubyKaigiから始まったはじめてのOSSコントリビュート.pdf
mterada1228
0
480
アプリケーション固有の「ロジックの脆弱性」を防ぐ開発者のためのセキュリティ観点
flatt_security
40
16k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Visualization
eitanlees
146
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
31
4.8k
Music & Morning Musume
bryan
47
6.4k
Making Projects Easy
brettharned
116
6.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
177
52k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
51
2.4k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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