MicroServices on Azure
-
Upload
sergey-seletsky -
Category
Software
-
view
286 -
download
3
Transcript of MicroServices on Azure
![Page 1: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/1.jpg)
MicroServices on AzureTech-Talks | Team Technologies LLC
Sergey SeletskySenior Solutions Architect
![Page 2: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/2.jpg)
Agenda
Evolution of Architecture MicroService Pattern MicroService Challenges MicroService Benefits Azure Service Fabric Related Cloud Patterns Conclusions
![Page 3: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/3.jpg)
Evolution of Architecture
Desktop
Client
Server
Browser
Web Server
Db Server
Any Device
microservices
API Proxy
![Page 4: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/4.jpg)
Evolution of Architecture
![Page 5: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/5.jpg)
MicroService PatternMicroService Architecture Style
![Page 6: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/6.jpg)
Team Work Allocations problem
Conflicts in source control Mixed domains Technology constraints Blocking issues IDE Overload Slow builds Slow tests
![Page 7: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/7.jpg)
Monolithic Architecture
Services was too complex Hard to support Hard to deploy Hard to scale
![Page 8: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/8.jpg)
MicroService Pattern
Single Responsible Domain Driven Isolated Independently hosted Autonomous Elastic Programmable Discoverable Automated
![Page 9: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/9.jpg)
Team Work Allocations with MicroServices
Team A
• Authorization• C#• Service Fabric
Team B
• Customers• Java• Amazon EC2
Team C
• Orders• JavaScript• AWS Lambda
• You can allocate feature per team and parallelize development without overhead.• Recommended to use one technology per solution, but it is possible to use one per team.• Recommended to use one hosting platform per solution, but it is possible to use more.
![Page 10: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/10.jpg)
MicroService Logical Architecture
• Angular UI and CordovaExperience
• NPM Packaged SDKSDK
• REST/HTTPProtocol
• On the wire data modelsModels
• Node.JsService
• Express Mongo ClientDAC
• Mongo DbStore
• Continuous DeliveryAutomation
• Xamarin / WPFExperience
• NuGet Packaged SDKSDK
• REST/HTTPProtocol
• Data ContractsModels
• .NET Core Web APIService
• Document Db ClientDAC
• Document Db Store
• Continuous DeliveryAutomation
Example 1 - JS Example 2 – C#
![Page 11: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/11.jpg)
MicroService ChallengesMicroService Architecture Challenges
![Page 12: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/12.jpg)
Warning! Only for Highly Skilled Developers!
![Page 13: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/13.jpg)
MicroService ChallengesPlatform Matters
Automation is not an Option
Communication is Key
Testing
Domain Modeling
![Page 14: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/14.jpg)
Discoverability
![Page 15: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/15.jpg)
MicroService BenefitsMicroService Architecture Benefits
![Page 16: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/16.jpg)
MicroService BenefitsSmall
Safety
Supportability
Deployment
Scalability
![Page 17: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/17.jpg)
Density & Isolation levels
PC VM Process
Container
More isolated More efficient
Hardware Not shared Shared Shared Shared
Kernel Not shared Not shared Shared* Shared
System Resources (ex: File System) Not shared Not shared Not shared Shared
* Windows Hyper-V containers do not share a kernel
![Page 18: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/18.jpg)
Lower costs for complex projects
![Page 19: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/19.jpg)
The Scale Cube and MicroServices
![Page 20: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/20.jpg)
Full power of Clouds
![Page 21: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/21.jpg)
Azure Service FabricMicroService Architecture powered by Azure
![Page 22: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/22.jpg)
Azure Service Fabric
![Page 23: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/23.jpg)
Azure Service Fabric
![Page 24: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/24.jpg)
Azure Service Fabric
![Page 25: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/25.jpg)
Examples
![Page 26: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/26.jpg)
Examples
![Page 27: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/27.jpg)
Related Cloud PatternsMicroService Architecture Cloud Patterns
![Page 28: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/28.jpg)
Proxy MicroService Design Pattern
![Page 29: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/29.jpg)
Shared Data MicroService Design Pattern
![Page 30: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/30.jpg)
Load Leveling Design Pattern
![Page 31: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/31.jpg)
Federated Identity Pattern
![Page 32: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/32.jpg)
Retry Pattern
![Page 33: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/33.jpg)
Sharding Pattern
![Page 34: MicroServices on Azure](https://reader035.fdocuments.in/reader035/viewer/2022070516/5871555b1a28ab8e5b8b5089/html5/thumbnails/34.jpg)
Reading
Domain Driven DesignEric Evans
Continuous DeliveryJez HumbleDavid Farley
Azure Service FabricHaishi Bai
Building MicroservicesSam Newman