SlideShare a Scribd company logo
From Project To Product Transformation
Microservice Design
Canada DevOps Community of Practice Meetup (16 April 2020 )
This was last week’s
Covid-19 report.
Let's start from here
The data is published
by PHAC - Public
Health Agency of
Canada.
Now suppose you are
the technical architect
of PHAC.
Data flow diagrams in the following slides are for
illustration purposes only.
This simulation is used to clarify the Microservices.​
Anyone working in Public Health and willing to comment the data flow is welcome to contact m
PHAC
WHO
B.C
(PPHIS)
Ontario
(iPHIS)
... …
Ottawa
(OPH)
10 Provinces
3 Territories
Hospitals
Laboratory
34 Public Health Units
… …
WHO
Canadian
Government
Websites
3rd Party
Websites
OPH: Ottawa Public Health​
iPHIS: Integrated Public Health Information System​
PPHIS: Provincial Public Health Information System​
PHAC: Public Health Agency of Canada​
WHO: World Health Organization​
Api
DB
CSV
CSV
Api
HTML, PDF
Different security policies
IOT Devices
PHAC
Features
1. Data collection
1. From 10 Provinces & 3 Territories
2. Support API, DB, CSV, etc. f
2. Data clean and correction
3. Data Aggregation
4. Data Loading
5. Data Export
1. Support for API, PDF, HTML, CSV etc.
Monolithic
Design
Microservice
Design
1 Package
1. Data collection (Support API, DB, CSV,
etc. from 10 Provinces & 3 Territories)
2. Data clean and correction
3. Data Aggregation
4. Data Loading
5. Data Export (API, PDF, HTML, CSV)
Server 3Server 2Server 1
Deploy 1 package to multiple servers
Deploy 19+ packages with 19*2 instances to Cloud
Domain 1:
Data Collection
Ontario
Data Collection MS
… …
10 + 3
B.C
Data Collection MS
Domain 2:
Data Process
Cleansing
and Correction MS​
Aggregation MS
Loading MS
Domain 3:
Data Export
API Export MS
PDF Export MS
CSV Export MS
Microservice
Design
Monolithic
Design
1. A province changes its data format
2. PHAC adds a new index
e.g. Asymptomatic infection
3. The PDF requests from 3rd Party cause the
service to slow down
1. Change the “XX Province MS”, test and deploy
2. Modify “Aggregation MS”, test and Deploy
(Keep the legacy version in the production
environment, so that 3-parties have the
window to update their platform)
3. Deploy more “PDF export MS”
1. Modify the package, test EVERYTHING and deploy
2. Modify the package, test EVERYTHING and deploy the legacy
version in new servers (VMs), notify all 3-parties, update the API to
new address before adding new index to their platform
3. More servers(VMs), deploy more packages
When change happens:
 MS has more flexibility to tune each part
of the system
• Monolithic:
• One system with everything.
when loading, load everything
when unloading, unload everything
• Fragile:
• If one instrument is broken, the whole system
will fail
• Scalable
• Can this musician hold 2x the instruments?
Microservice = Orchestra
The Stage -> Cloud or
Kubernetes Container
“Violin”
Microservice
Deployed in 16
Docker instance
“Cello” Microservice
Deployed in 8
Docker instances
Conductor -> DevOps
Melody -> DevOps
Principle and Tools
Problems of Microservice: Orchestration, as:
• 3 instances of 1 package vs 38 instances of 19+ packages;
By 2017, Netflix architecture consisted of over 700 loosely coupled microservices and it
continues to grow
• Functional calling in one platform vs API calling in multiple platforms which cause
performance and security issues
Keep away from Microservice without implementing DevOps! The following cannot be done
manually:
• Deployment (load and unload MS without shutting down the service)
• Monitoring to identify and restart unhealthy instances
From Project To Product Transformation
Thank You
Steve Zheng (steve.zheng@gmail.com)

More Related Content

Similar to Microservices Presentation from Steve

Designing TCS e-Infrastructure: data, metadata and architecture
Designing TCS e-Infrastructure: data, metadata and architecture Designing TCS e-Infrastructure: data, metadata and architecture
Designing TCS e-Infrastructure: data, metadata and architecture Daniele Bailo
 
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...Martin Etmajer
 
Eclipse IoT: Open source technology for IoT developers
Eclipse IoT: Open source technology for IoT developersEclipse IoT: Open source technology for IoT developers
Eclipse IoT: Open source technology for IoT developersIan Skerrett
 
VITALISE Summer School 2023_ DAY 4 FINAL.pdf
VITALISE Summer School 2023_ DAY 4 FINAL.pdfVITALISE Summer School 2023_ DAY 4 FINAL.pdf
VITALISE Summer School 2023_ DAY 4 FINAL.pdfVITALISEProject
 
High Performance Computing and Open Source & Linux Technical Excellence Sympo...
High Performance Computing and Open Source & Linux Technical Excellence Sympo...High Performance Computing and Open Source & Linux Technical Excellence Sympo...
High Performance Computing and Open Source & Linux Technical Excellence Sympo...Gonéri Le Bouder
 
SC4 Workshop 2: Soren Auer BDE project Overview
SC4 Workshop 2: Soren Auer BDE project OverviewSC4 Workshop 2: Soren Auer BDE project Overview
SC4 Workshop 2: Soren Auer BDE project OverviewBigData_Europe
 
RootedCON 2014 - Kicking around SCADA!
RootedCON 2014 - Kicking around SCADA!RootedCON 2014 - Kicking around SCADA!
RootedCON 2014 - Kicking around SCADA!testpurposes
 
Running Head WINDOWS AND LINUX 1WINDOWS AND LINUX12.docx
Running Head WINDOWS AND LINUX     1WINDOWS AND LINUX12.docxRunning Head WINDOWS AND LINUX     1WINDOWS AND LINUX12.docx
Running Head WINDOWS AND LINUX 1WINDOWS AND LINUX12.docxjeffsrosalyn
 
EVOLVE`13 Keynote: Scrambled Eggs
EVOLVE`13 Keynote: Scrambled EggsEVOLVE`13 Keynote: Scrambled Eggs
EVOLVE`13 Keynote: Scrambled EggsRoy Fielding
 
Challenges of Automating Radiology with an Open Source Solution
Challenges of Automating Radiology with an Open Source SolutionChallenges of Automating Radiology with an Open Source Solution
Challenges of Automating Radiology with an Open Source SolutionMedsphere
 
What is SEND?
What is SEND?What is SEND?
What is SEND?Covance
 
Cytoscape: Now and Future
Cytoscape: Now and FutureCytoscape: Now and Future
Cytoscape: Now and FutureKeiichiro Ono
 
Open source IoT
Open source IoTOpen source IoT
Open source IoTIoT613
 
Open Cloud Consortium Overview (01-10-10 V6)
Open Cloud Consortium Overview (01-10-10 V6)Open Cloud Consortium Overview (01-10-10 V6)
Open Cloud Consortium Overview (01-10-10 V6)Robert Grossman
 
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...Thomas K. Y. Lam
 

Similar to Microservices Presentation from Steve (20)

Designing TCS e-Infrastructure: data, metadata and architecture
Designing TCS e-Infrastructure: data, metadata and architecture Designing TCS e-Infrastructure: data, metadata and architecture
Designing TCS e-Infrastructure: data, metadata and architecture
 
Dareadme
DareadmeDareadme
Dareadme
 
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...
Challenges in a Microservices Age: Monitoring, Logging and Tracing on Red Hat...
 
Eclipse IoT: Open source technology for IoT developers
Eclipse IoT: Open source technology for IoT developersEclipse IoT: Open source technology for IoT developers
Eclipse IoT: Open source technology for IoT developers
 
20101026 ASAP Seminar
20101026 ASAP Seminar20101026 ASAP Seminar
20101026 ASAP Seminar
 
VITALISE Summer School 2023_ DAY 4 FINAL.pdf
VITALISE Summer School 2023_ DAY 4 FINAL.pdfVITALISE Summer School 2023_ DAY 4 FINAL.pdf
VITALISE Summer School 2023_ DAY 4 FINAL.pdf
 
High Performance Computing and Open Source & Linux Technical Excellence Sympo...
High Performance Computing and Open Source & Linux Technical Excellence Sympo...High Performance Computing and Open Source & Linux Technical Excellence Sympo...
High Performance Computing and Open Source & Linux Technical Excellence Sympo...
 
SC4 Workshop 2: Soren Auer BDE project Overview
SC4 Workshop 2: Soren Auer BDE project OverviewSC4 Workshop 2: Soren Auer BDE project Overview
SC4 Workshop 2: Soren Auer BDE project Overview
 
RootedCON 2014 - Kicking around SCADA!
RootedCON 2014 - Kicking around SCADA!RootedCON 2014 - Kicking around SCADA!
RootedCON 2014 - Kicking around SCADA!
 
Running Head WINDOWS AND LINUX 1WINDOWS AND LINUX12.docx
Running Head WINDOWS AND LINUX     1WINDOWS AND LINUX12.docxRunning Head WINDOWS AND LINUX     1WINDOWS AND LINUX12.docx
Running Head WINDOWS AND LINUX 1WINDOWS AND LINUX12.docx
 
EVOLVE'13 | Keynote | Roy Fielding
EVOLVE'13 | Keynote | Roy FieldingEVOLVE'13 | Keynote | Roy Fielding
EVOLVE'13 | Keynote | Roy Fielding
 
EVOLVE`13 Keynote: Scrambled Eggs
EVOLVE`13 Keynote: Scrambled EggsEVOLVE`13 Keynote: Scrambled Eggs
EVOLVE`13 Keynote: Scrambled Eggs
 
Challenges of Automating Radiology with an Open Source Solution
Challenges of Automating Radiology with an Open Source SolutionChallenges of Automating Radiology with an Open Source Solution
Challenges of Automating Radiology with an Open Source Solution
 
What is SEND?
What is SEND?What is SEND?
What is SEND?
 
Cytoscape: Now and Future
Cytoscape: Now and FutureCytoscape: Now and Future
Cytoscape: Now and Future
 
Cspro training material
Cspro training materialCspro training material
Cspro training material
 
Open source IoT
Open source IoTOpen source IoT
Open source IoT
 
Open Cloud Consortium Overview (01-10-10 V6)
Open Cloud Consortium Overview (01-10-10 V6)Open Cloud Consortium Overview (01-10-10 V6)
Open Cloud Consortium Overview (01-10-10 V6)
 
Gsoc proposal
Gsoc proposalGsoc proposal
Gsoc proposal
 
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...
Quick start with pallaral meta on window10 virtual desktop-virtualbox linux u...
 

Recently uploaded

Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...
Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...
Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...aunty1x1
 
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptx
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptxASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptx
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptxAnushriSrivastav
 
Valle Egypt Illustrates Consequences of Financial Elder Abuse
Valle Egypt Illustrates Consequences of Financial Elder AbuseValle Egypt Illustrates Consequences of Financial Elder Abuse
Valle Egypt Illustrates Consequences of Financial Elder AbuseKristin Hetzer
 
Contact Now 89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...
Contact Now  89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...Contact Now  89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...
Contact Now 89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...aunty1x2
 
Importance of Diet on Dental Health.docx
Importance of Diet on Dental Health.docxImportance of Diet on Dental Health.docx
Importance of Diet on Dental Health.docxSachin Mittal
 
Management of psoriasis.pptx (Recent advances)
Management of psoriasis.pptx (Recent advances)Management of psoriasis.pptx (Recent advances)
Management of psoriasis.pptx (Recent advances)DR. MOHNISH SEKAR
 
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...aunty1x1
 
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptx
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptxUrinary Elimination BY ANUSHRI SRIVASTAVA.pptx
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptxAnushriSrivastav
 
The Docs PPG - 30.01.2024.pptx..........
The Docs PPG - 30.01.2024.pptx..........The Docs PPG - 30.01.2024.pptx..........
The Docs PPG - 30.01.2024.pptx..........TheDocs
 
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur aunty1x1
 
Navigating Healthcare with Telemedicine
Navigating Healthcare with  TelemedicineNavigating Healthcare with  Telemedicine
Navigating Healthcare with TelemedicineIris Thiele Isip-Tan
 
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdf
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdfDemystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdf
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdfSasikiranMarri
 
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...ananyagirishbabu1
 
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...saimasadaf14
 
Deepfake Detection_Using Machine Learning .pptx
Deepfake Detection_Using Machine Learning .pptxDeepfake Detection_Using Machine Learning .pptx
Deepfake Detection_Using Machine Learning .pptxmahalsuraj389
 
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts by ✔️🍑💃Hotel #cALL #gIRLS...
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts  by ✔️🍑💃Hotel #cALL #gIRLS...💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts  by ✔️🍑💃Hotel #cALL #gIRLS...
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts by ✔️🍑💃Hotel #cALL #gIRLS...aunty1x1
 
Digital Healthcare: The Future of Medical Consultations
Digital Healthcare: The Future of Medical ConsultationsDigital Healthcare: The Future of Medical Consultations
Digital Healthcare: The Future of Medical Consultationssmartcare
 
Dehradun ❤CALL Girls 8901183002 ❤ℂall Girls IN Dehradun ESCORT SERVICE❤
Dehradun ❤CALL Girls  8901183002 ❤ℂall  Girls IN Dehradun ESCORT SERVICE❤Dehradun ❤CALL Girls  8901183002 ❤ℂall  Girls IN Dehradun ESCORT SERVICE❤
Dehradun ❤CALL Girls 8901183002 ❤ℂall Girls IN Dehradun ESCORT SERVICE❤aunty1x2
 
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...aunty1x1
 
Enhancing-Patient-Centric-Clinical-Trials.pdf
Enhancing-Patient-Centric-Clinical-Trials.pdfEnhancing-Patient-Centric-Clinical-Trials.pdf
Enhancing-Patient-Centric-Clinical-Trials.pdfgajendrasinh1303
 

Recently uploaded (20)

Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...
Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...
Contact mE 👙👨‍❤️‍👨 (89O1183OO2) 💘ℂall Girls In MOHALI By MOHALI 💘ESCORTS GIRL...
 
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptx
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptxASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptx
ASSISTING WITH THE USE OF BED PAN BY ANUSHRI SRIVASTAVA.pptx
 
Valle Egypt Illustrates Consequences of Financial Elder Abuse
Valle Egypt Illustrates Consequences of Financial Elder AbuseValle Egypt Illustrates Consequences of Financial Elder Abuse
Valle Egypt Illustrates Consequences of Financial Elder Abuse
 
Contact Now 89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...
Contact Now  89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...Contact Now  89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...
Contact Now 89011**83002 Dehradun ℂall Girls By Full Service ℂall Girl In De...
 
Importance of Diet on Dental Health.docx
Importance of Diet on Dental Health.docxImportance of Diet on Dental Health.docx
Importance of Diet on Dental Health.docx
 
Management of psoriasis.pptx (Recent advances)
Management of psoriasis.pptx (Recent advances)Management of psoriasis.pptx (Recent advances)
Management of psoriasis.pptx (Recent advances)
 
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...
Notify ME 89O1183OO2 #cALL# #gIRLS# In Chhattisgarh By Chhattisgarh #ℂall #gI...
 
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptx
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptxUrinary Elimination BY ANUSHRI SRIVASTAVA.pptx
Urinary Elimination BY ANUSHRI SRIVASTAVA.pptx
 
The Docs PPG - 30.01.2024.pptx..........
The Docs PPG - 30.01.2024.pptx..........The Docs PPG - 30.01.2024.pptx..........
The Docs PPG - 30.01.2024.pptx..........
 
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur
Jaipur #ℂall #gIRLS Oyo Hotel 89O1183OO2 #ℂall #gIRL in Jaipur
 
Navigating Healthcare with Telemedicine
Navigating Healthcare with  TelemedicineNavigating Healthcare with  Telemedicine
Navigating Healthcare with Telemedicine
 
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdf
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdfDemystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdf
Demystifying-Gene-Editing-The-Promise-and-Peril-of-CRISPR.pdf
 
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...
Cell structure slideshare.pptx Unlocking the Secrets of Cells: Structure, Fun...
 
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...
Jesse Jhaj: Building Relationships with Patients as a Doctor or Healthcare Wo...
 
Deepfake Detection_Using Machine Learning .pptx
Deepfake Detection_Using Machine Learning .pptxDeepfake Detection_Using Machine Learning .pptx
Deepfake Detection_Using Machine Learning .pptx
 
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts by ✔️🍑💃Hotel #cALL #gIRLS...
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts  by ✔️🍑💃Hotel #cALL #gIRLS...💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts  by ✔️🍑💃Hotel #cALL #gIRLS...
💃Joint ❤89011-83002❤ #ℂALL #gIRLS Ludhiana Escorts by ✔️🍑💃Hotel #cALL #gIRLS...
 
Digital Healthcare: The Future of Medical Consultations
Digital Healthcare: The Future of Medical ConsultationsDigital Healthcare: The Future of Medical Consultations
Digital Healthcare: The Future of Medical Consultations
 
Dehradun ❤CALL Girls 8901183002 ❤ℂall Girls IN Dehradun ESCORT SERVICE❤
Dehradun ❤CALL Girls  8901183002 ❤ℂall  Girls IN Dehradun ESCORT SERVICE❤Dehradun ❤CALL Girls  8901183002 ❤ℂall  Girls IN Dehradun ESCORT SERVICE❤
Dehradun ❤CALL Girls 8901183002 ❤ℂall Girls IN Dehradun ESCORT SERVICE❤
 
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...
#cALL# #gIRLS# In Chhattisgarh ꧁❤8901183002❤꧂#cALL# #gIRLS# Service In Chhatt...
 
Enhancing-Patient-Centric-Clinical-Trials.pdf
Enhancing-Patient-Centric-Clinical-Trials.pdfEnhancing-Patient-Centric-Clinical-Trials.pdf
Enhancing-Patient-Centric-Clinical-Trials.pdf
 

Microservices Presentation from Steve

  • 1. From Project To Product Transformation Microservice Design Canada DevOps Community of Practice Meetup (16 April 2020 )
  • 2.
  • 3. This was last week’s Covid-19 report. Let's start from here
  • 4. The data is published by PHAC - Public Health Agency of Canada. Now suppose you are the technical architect of PHAC.
  • 5. Data flow diagrams in the following slides are for illustration purposes only. This simulation is used to clarify the Microservices.​ Anyone working in Public Health and willing to comment the data flow is welcome to contact m
  • 6. PHAC WHO B.C (PPHIS) Ontario (iPHIS) ... … Ottawa (OPH) 10 Provinces 3 Territories Hospitals Laboratory 34 Public Health Units … … WHO Canadian Government Websites 3rd Party Websites OPH: Ottawa Public Health​ iPHIS: Integrated Public Health Information System​ PPHIS: Provincial Public Health Information System​ PHAC: Public Health Agency of Canada​ WHO: World Health Organization​ Api DB CSV CSV Api HTML, PDF Different security policies IOT Devices
  • 7. PHAC Features 1. Data collection 1. From 10 Provinces & 3 Territories 2. Support API, DB, CSV, etc. f 2. Data clean and correction 3. Data Aggregation 4. Data Loading 5. Data Export 1. Support for API, PDF, HTML, CSV etc.
  • 8. Monolithic Design Microservice Design 1 Package 1. Data collection (Support API, DB, CSV, etc. from 10 Provinces & 3 Territories) 2. Data clean and correction 3. Data Aggregation 4. Data Loading 5. Data Export (API, PDF, HTML, CSV) Server 3Server 2Server 1 Deploy 1 package to multiple servers Deploy 19+ packages with 19*2 instances to Cloud Domain 1: Data Collection Ontario Data Collection MS … … 10 + 3 B.C Data Collection MS Domain 2: Data Process Cleansing and Correction MS​ Aggregation MS Loading MS Domain 3: Data Export API Export MS PDF Export MS CSV Export MS
  • 9. Microservice Design Monolithic Design 1. A province changes its data format 2. PHAC adds a new index e.g. Asymptomatic infection 3. The PDF requests from 3rd Party cause the service to slow down 1. Change the “XX Province MS”, test and deploy 2. Modify “Aggregation MS”, test and Deploy (Keep the legacy version in the production environment, so that 3-parties have the window to update their platform) 3. Deploy more “PDF export MS” 1. Modify the package, test EVERYTHING and deploy 2. Modify the package, test EVERYTHING and deploy the legacy version in new servers (VMs), notify all 3-parties, update the API to new address before adding new index to their platform 3. More servers(VMs), deploy more packages
  • 10. When change happens:  MS has more flexibility to tune each part of the system
  • 11.
  • 12. • Monolithic: • One system with everything. when loading, load everything when unloading, unload everything • Fragile: • If one instrument is broken, the whole system will fail • Scalable • Can this musician hold 2x the instruments?
  • 13. Microservice = Orchestra The Stage -> Cloud or Kubernetes Container “Violin” Microservice Deployed in 16 Docker instance “Cello” Microservice Deployed in 8 Docker instances Conductor -> DevOps Melody -> DevOps Principle and Tools
  • 14. Problems of Microservice: Orchestration, as: • 3 instances of 1 package vs 38 instances of 19+ packages; By 2017, Netflix architecture consisted of over 700 loosely coupled microservices and it continues to grow • Functional calling in one platform vs API calling in multiple platforms which cause performance and security issues Keep away from Microservice without implementing DevOps! The following cannot be done manually: • Deployment (load and unload MS without shutting down the service) • Monitoring to identify and restart unhealthy instances
  • 15.
  • 16. From Project To Product Transformation Thank You Steve Zheng (steve.zheng@gmail.com)