SlideShare a Scribd company logo
Sviluppare applicazione “reliable”
con .net core e AKS
Alessandro Melchiori - @amelchiori
CodicePlastico
What does “reliable” mean?
Reliable applications are:
● Resilient and recover gracefully from failures, and they continue to function with minimal
downtime and data loss before full recovery.
● Highly available (HA) and run as designed in a healthy state with no significant downtime.
What does “reliable” mean?
Reliable applications are:
● Resilient and recover gracefully from failures, and they continue to function with minimal
downtime and data loss before full recovery.
● Highly available (HA) and run as designed in a healthy state with no significant downtime.
Instead of trying to prevent failures altogether, the goal
is to minimize the effects of a single failing component.
With the network of microservices - service-to-service communication
can become challenging
/api/values
/api/values/detaile
d
DEMO
Developing reliable applications with .net core and AKS
/api/values
/api/values/detaile
d
/api/values
/api/values/detaile
d
/api/values
/api/values/detaile
d
/api/values
/api/values/detaile
d
DEMO
AND NOW?
Circuit breaker
Circuit breaker
/api/values
/api/values/detaile
d
Transient errors: retry pattern
/api/values
/api/values/detaile
d
Transient errors: retry pattern
/api/values
/api/values/detaile
d
Welcome Polly!
DEMO
Welcome
Kubernetes
Pod overview
● Is the basic building block of Kubernetes
● Represents a running process on the cluster
● Consists of either a single container or a small
number of containers that are tightly coupled
and that share resources
Pod overview
● Is the basic building block of Kubernetes
● Represents a running process on the cluster
● Consists of either a single container or a small
number of containers that are tightly coupled
and that share resources
The sidecar pattern consists of a main application plus a helper container with a responsibility
that is essential to your application, but is not necessarily part of the application itself.
SIDECAR PATTERN
Sidecar pattern
The most common sidecar containers are logging utilities, sync services,
watchers, and monitoring agents.
LOGGING MONITORING
WATCHERSSYNC
Traefik
An open-source reverse proxy and load balancer for
HTTP and TCP-based applications that is easy, dynamic,
automatic, fast, full-featured, production proven, provides
metrics, and integrates with every major cluster
technology... No wonder it's so popular!
SRV
SRV
SRV
Traefik middleware
Traefik circuit breaker
# Latency Check
[http.middlewares]
[http.middlewares.latency-check.circuitBreaker]
expression = "LatencyAtQuantileMS(50.0) > 100"
DEMO
K8s pod multicontainer config
Others Traefik middlewares
● RATELIMIT:
The RateLimit middleware ensures that services will receive a fair number of requests,
and allows you define what is fair
● RETRY:
The Retry middleware is in charge of reissuing a request a given number of times to a
backend server if that server does not reply.
Cross-cutting concerns
● Logs
● Metrics
● Datadog
● InfluxDB
● Prometheus
● StatsD
● Tracing: the tracing system allows developers to
visualize call flows in their infrastructure.
● Zipkin
● Datadog
● Instana
● ...
ALESSANDRO MELCHIORI
Founder & Software developer @CodicePlastico
alessandro@codiceplastico.com
@amelchiori
Grazie!

More Related Content

PDF
A quick introduction to AKS
PDF
Scale your (aks) cluster, luke!
PPTX
Autoscaling in Kubernetes
PDF
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
PDF
Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...
PDF
Operationalizing Amazon EKS
PPTX
PPTX
Moving Applications into Azure Kubernetes
A quick introduction to AKS
Scale your (aks) cluster, luke!
Autoscaling in Kubernetes
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...
Operationalizing Amazon EKS
Moving Applications into Azure Kubernetes

What's hot (20)

PDF
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
PPTX
Production ready tooling for microservices on kubernetes
PDF
Spring Cloud Netflix OSS
PDF
Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...
PPTX
Building Cloud Native Applications Using Spring Boot and Spring Cloud
PDF
Scaling an Event-Driven Architecture with IBM and Confluent | Antony Amanse a...
PDF
Storage os kubernetes clusters need persistent data
PDF
Confluent Enterprise Datasheet
PDF
Live Event Debugging With ksqlDB at Reddit | Hannah Hagen and Paul Kiernan, R...
PPTX
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
PPTX
Consolidating Infrastructure with Azure Kubernetes Service - MS Online Tech F...
PDF
Stateless and Stateful Services in Kubernetes - Mohit Saxena - Citrix - CC18
PPTX
Kubernetes as Orchestrator for A10 Lightning Controller
PPTX
How kubernetes operators can rescue dev secops in midst of a pandemic updated
PDF
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
PPTX
Why Kubernetes on Azure
PDF
Joint OpenStack Kubernetes Environment (OpenStack Summit)
PDF
Istio on Kubernetes
PPTX
Best Practices with Azure & Kubernetes
PDF
nete.*@kursday2
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
Production ready tooling for microservices on kubernetes
Spring Cloud Netflix OSS
Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...
Building Cloud Native Applications Using Spring Boot and Spring Cloud
Scaling an Event-Driven Architecture with IBM and Confluent | Antony Amanse a...
Storage os kubernetes clusters need persistent data
Confluent Enterprise Datasheet
Live Event Debugging With ksqlDB at Reddit | Hannah Hagen and Paul Kiernan, R...
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
Consolidating Infrastructure with Azure Kubernetes Service - MS Online Tech F...
Stateless and Stateful Services in Kubernetes - Mohit Saxena - Citrix - CC18
Kubernetes as Orchestrator for A10 Lightning Controller
How kubernetes operators can rescue dev secops in midst of a pandemic updated
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Why Kubernetes on Azure
Joint OpenStack Kubernetes Environment (OpenStack Summit)
Istio on Kubernetes
Best Practices with Azure & Kubernetes
nete.*@kursday2
Ad

Similar to Developing reliable applications with .net core and AKS (20)

PPTX
Developing reliable applications with .net core and AKS
PPTX
Reduce Risk with End to End Monitoring of Middleware-based Applications
PDF
21st Docker Switzerland Meetup - ISTIO
PDF
How To Track Performance and Fault in a Multi-layer, Software-Defined Network...
PPTX
Microservices
PDF
Cloudify your applications: microservices and beyond
PDF
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
PPTX
HL7 Survival Guide - Chapter 10 – Process and Workflow
PPTX
CARE initiative technical prospectus
PDF
Twelve Factor App
PDF
Microservices - Hitchhiker's guide to cloud native applications
PPTX
Twelve factor-app
PDF
Clues for Solving Cloud-Based App Performance
PDF
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...
PDF
The Future of Cloud Innovation, featuring Adrian Cockcroft
PDF
Istio Service Mesh
PDF
Technology Primer: Building Applications the New-Fashioned Way
PPSX
Microservices Architecture, Monolith Migration Patterns
PPTX
Policy Based SDN Solution for DC and Branch Office by Suresh Boddapati
PDF
Case Study: Datalink—Manage IT monitoring the MSP way
Developing reliable applications with .net core and AKS
Reduce Risk with End to End Monitoring of Middleware-based Applications
21st Docker Switzerland Meetup - ISTIO
How To Track Performance and Fault in a Multi-layer, Software-Defined Network...
Microservices
Cloudify your applications: microservices and beyond
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
HL7 Survival Guide - Chapter 10 – Process and Workflow
CARE initiative technical prospectus
Twelve Factor App
Microservices - Hitchhiker's guide to cloud native applications
Twelve factor-app
Clues for Solving Cloud-Based App Performance
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...
The Future of Cloud Innovation, featuring Adrian Cockcroft
Istio Service Mesh
Technology Primer: Building Applications the New-Fashioned Way
Microservices Architecture, Monolith Migration Patterns
Policy Based SDN Solution for DC and Branch Office by Suresh Boddapati
Case Study: Datalink—Manage IT monitoring the MSP way
Ad

More from Alessandro Melchiori (20)

PDF
C# metaprogramming with source generator.pdf
PDF
VS Code tools for docker
PDF
How to search...better! (azure search)
PDF
AKS: k8s e azure
PDF
How to search...better!
PPTX
A quick tour around Azure Dev Spaces
PPTX
Azure functions: from a function to a whole application in 60 minutes
PPTX
Aks: k8s e azure
PDF
Monitoring docker: from zero to Azure
PPTX
Cooking Akka.net and Azure Service Fabric together
PPTX
Azure data platform overview
PPTX
ACR + ACS + VSTS: a complete ALM pipeline with docker and azure
PPTX
Docker & Azure
PDF
Docker and Azure
PPTX
Come ti "pusho" il web con WebSockets: da 0 a SignalR
PPTX
Docker & azure
PPTX
Azure service fabric: a gentle introduction
PPTX
From CRUD to messages: a true story
PPTX
Functional Reactive Programming
PPTX
Functional DDD
C# metaprogramming with source generator.pdf
VS Code tools for docker
How to search...better! (azure search)
AKS: k8s e azure
How to search...better!
A quick tour around Azure Dev Spaces
Azure functions: from a function to a whole application in 60 minutes
Aks: k8s e azure
Monitoring docker: from zero to Azure
Cooking Akka.net and Azure Service Fabric together
Azure data platform overview
ACR + ACS + VSTS: a complete ALM pipeline with docker and azure
Docker & Azure
Docker and Azure
Come ti "pusho" il web con WebSockets: da 0 a SignalR
Docker & azure
Azure service fabric: a gentle introduction
From CRUD to messages: a true story
Functional Reactive Programming
Functional DDD

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
MYSQL Presentation for SQL database connectivity
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
sap open course for s4hana steps from ECC to s4
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Cloud computing and distributed systems.
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Programs and apps: productivity, graphics, security and other tools
Empathic Computing: Creating Shared Understanding

Developing reliable applications with .net core and AKS