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
LLM時代のパフォーマンスチューニング:MongoDB運用で試したコンテキスト活用の工夫
ishikawa_pro
0
170
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
540
💡Ruby 川辺で灯すPicoRubyからの光
bash0c7
0
120
株式会社ログラス - 会社説明資料【エンジニア】/ Loglass Engineer
loglass2019
4
65k
はじめてのOSS開発からみえたGo言語の強み
shibukazu
3
940
人工衛星のファームウェアをRustで書く理由
koba789
15
8.2k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
450
普通のチームがスクラムを会得するたった一つの冴えたやり方 / the best way to scrum
okamototakuyasr2
0
110
【実演版】カンファレンス登壇者・スタッフにこそ知ってほしいマイクの使い方 / 大吉祥寺.pm 2025
arthur1
1
900
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
420
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
230
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
We Have a Design System, Now What?
morganepeng
53
7.8k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Navigating Team Friction
lara
189
15k
Become a Pro
speakerdeck
PRO
29
5.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Site-Speed That Sticks
csswizardry
10
820
Music & Morning Musume
bryan
46
6.8k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
A better future with KSS
kneath
239
17k
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