NET Core Microservices on Azure Service Fabric Maxime
. NET Core Microservices on Azure Service Fabric Maxime Rouiller @Maxim. Rouiller Learn. Imagine. Build. . NET Conf
Hi! . NET Conf
. NET Conf
. NET Conf
Monolithic application approach • A monolith app contains domain specific functionality and is normally divided by functional layers such as web, business and data • Scales by cloning the app on multiple servers/VMs/Containers App 1 Microservices application approach • A microservice application separates functionality into separate smaller services. • App 1 App 2 Scales out by deploying each service independently creating instances of these services across servers/VMs/containers . NET Conf
State in Monolithic approach • Single monolithic database • Tiers of specific technologies State in Microservices approach • Graph of interconnected microservices • State typically scoped to the microservice • Variety of technologies used stateless presentation services stateless services stateful services stateless services with separate stores . NET Conf
. NET Conf
. NET Conf
Datacenter (Azure, On-Premises, Amazon) Cluster supports 1, 000 s of nodes is self repairing, and scales-in and out PC/VM #2 Service Fabric Your code, etc. PC/VM #3 Service Fabric Your code, etc. (Port: 19080) Service Fabric Load Balancer Web Request (Port: 80/443/? ) PC/VM #1 Your code, etc. PC/VM #5 PC/VM #4 Service Fabric Your code, etc. . NET Conf
Azure Service Fabric Any OS, Any Cloud containers and microservices Dev Machine Azure On Premise Infrastructure Other Clouds . NET Conf
60 bn events/day . NET Conf
. NET Conf
. NET Conf
. NET Conf
Containers and Orchestration . NET Conf
Image Contents inetpub HKLM mysite. html SOFTWARE/ mykey Image Contents HKLM HKCU HKCR HKU License. txt Perf. Logs Program Files (x 86) Users Windows . NET Conf
Dv 3 . NET Conf New generation High memory of D family
. NET Conf
Service Fabric . NET Conf
. NET Conf
Host process . NET Conf
Service host process Service instance/replica (multiple) ASP. NET Core . NET Conf
. NET Conf
• Service Fabric developer SDK • https: //aka. ms/Service. Fabric. SDK • Learn from samples, free clusters and labs • https: //aka. ms/Service. Fabric. Samples • https: //aka. ms/Try. Azure. Service. Fabric • Questions? Comments? Issues? • https: //stackoverflow. com/questions/tagged/azure-service-fabric • https: //aka. ms/Service. Fabric. Forum • https: //github. com/azure/service-fabric-issues . NET Conf
marouill@microsoft. com https: //aka. ms/SFDocs . NET Conf
- Slides: 25