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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Michael Bui
January 11, 2017
Technology
790
2
Share
Microservice
• Microservices
• Migration
• Scalability
• Resilience
• Deployment
Michael Bui
January 11, 2017
More Decks by Michael Bui
See All by Michael Bui
Boeing (BA) Analysis - Adam Khoo | Group O 2018
michaelbui
0
150
Asynchronous processing using AWS Services
michaelbui
0
54
PHP v5.3+ Features
michaelbui
0
78
Other Decks in Technology
See All in Technology
OpenID Connectによるサービス間連携
takesection
0
130
layerx-fde-practices
cipepser
6
2.8k
人が担う「価値」とは?これからの「QA」とは / Human Value and the Future of Quality Assurance
bitkey
PRO
0
120
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
150
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
220
さきさん文庫の書籍ができるまで
sakiengineer
0
280
Agentic AI時代における メルカリのAIガバナンスとガードレール実装
naoichihara
16
16k
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
160
CloudFront VPCオリジンとVPC Latticeサービスの内部ALBをマルチアカウントで一元利用しよう
duelist2020jp
5
250
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
1
250
速さだけじゃない! VoidZero ツールが移行先に選ばれる理由
mizdra
PRO
4
300
大規模環境でどのように監視を実現する?
yuobayashi
1
260
Featured
See All Featured
Accessibility Awareness
sabderemane
1
130
The Cult of Friendly URLs
andyhume
79
6.9k
Paper Plane
katiecoart
PRO
1
50k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
180
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
BBQ
matthewcrist
89
10k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
340
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Bash Introduction
62gerente
615
210k
How to build a perfect <img>
jonoalderson
1
5.5k
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