Microservices Observability, Resilience, Monitoring on .Net

Microservices Observability with Distributed Logging, Health Monitoring, Resilient and Fault Tolerance with using Polly

  • 0.0 (0 Reviews)
  • 0 Students
  • 53 Lessons
  • Mehmet Ozkaya

Course Overview

When you are developing projects in microservices architecture, it is crucial to following Microservices Observability, Microservices Resilience and Monitoring principles.

So, we will separate our Microservices Cross-Cutting Concerns in 4 main pillars;

  • Microservices Observability with Distributed Logging using ElastichSearch

  • Microservices Resilience and Fault Tolerance with Appling Retry and Circuit-Breaker patterns using Polly

  • Microservices Monitoring with Health Checks using WatchDog

  • Microservices Tracing with OpenTelemetry using Zipkin

So we are going to follow this 4 main pillars and develop our microservices reference application with using latest implementation and best practices on Cloud-Native Microservices architecture style.

We have already developed this microservices reference application in the microservices course, So with this course, we will extend this microservices reference application with Cross-Cutting Concerns for provide microservices resilience.

We are going to cover;

Cross-Cutting Concerns in 4 main parts;

  • Microservices Observability with Distributed Logging,

This applying Elastic Stack which includes ElasticSearh + Logstach + Kibana and SeriLog Nuget package for .Net microservices.

We will docker-compose Kibana image from docker hub and feed Kibana with elastic stack

  • Microservices Resilience and Fault Tolerance using Polly

This will apply Retry and Circuit-Breaker Design Patterns on microservices communication with creating Polly policies.

  • Microservices Health Monitoring with using WatchDog

This will be the Aspnet Health Check implementation with custom health check methods which includes database availabilities - for example in basket microservices, we will add sub-health check conditions for connecting Redis and RabbitMQ.

  • Microservices Distributed Tracing with OpenTelemetry using Zipkin

This will be the implementation of OpenTelemetry with Zipkin.

By the end of this course, you'll learn how to design and developing Microservices Cross-Cutting Concerns - Microservices Observability with Distributed Logging, Health Monitoring, Resilient and Fault Tolerance with using Polly".

Before beginning the course, you should be familiar with C#, ASP.NET Core and Docker. This course will have good theoretical information but also will be 90% of hands-on development activities.

See more

FAQ

FAQ area empty

Course curriculum

6 chương 53 bài học 9 giờ 13 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Microservices Observability with Distributed Logging with Elastic Stack
  • Introduction - Distributed Logging with Elastic Stack Học thử 2:55
  • What is Elastic Search ? 3:23
  • What is Kibana and SeriLog ? 2:14
  • AspNet Logging Explained 22:19
  • Aspnet Log Levels and Filter Logs Học thử 21:12
  • Adding ElasticSearch and Kibana image into Docker-Compose File for Multi-Contain 22:02
  • Intall and Configure SeriLog For ElasticSearch and Kibana Sink Integration Học thử 21:11
  • Test SeriLog For ElasticSearch and Kibana Sink Integration in Shopping Web Micro 16:59
  • Create SeriLog Common Logging Library For ElasticSearch and Kibana Sink Học thử 8:55
  • Adding SeriLog Common Logging Library Project References to Aspnetrun Shopping 7:19
  • Adding LoggingDelegatingHandler for Intercepting Microservices Request-Response 19:18
  • Adding SeriLog for ShoppingAggregator Microservices for Logging on ElasticSearch 12:53
  • Adding SeriLog for Catalog.API Microservices for Logging on ElasticSearch 10:05
  • Adding SeriLog for Basket.API Microservices for Logging on ElasticSearch 3:42
  • Adding SeriLog for Discount.API Microservices for Logging on ElasticSearch 3:02
  • Adding SeriLog for Discount.Grpc Microservices for Logging on ElasticSearch 3:52
  • Adding SeriLog for Ordering.API Microservices for Logging on ElasticSearch 3:09
  • Adding SeriLog for OcelotApiGw Microservices for Logging on ElasticSearch 3:57
  • Containerize All Microservices with SeriLog using Docker Compose for Logging 8:26
  • Containerize All Microservices with SeriLog using Docker Compose for Logging 2 11:04
  • Test on Docker environment - SeriLog Microservices into Docker Compose 31:18
  • Observability and Logging Quiz
Chương 3 Microservices Resilience and Fault Tolerance using Polly
  • Introduction - Microservices Resilience and Fault Tolerance with using Polly 5:00
  • Microservices Resilience Patterns 3:41
  • Retry pattern 2:32
  • Circuit breaker pattern 7:48
  • Bulkhead Pattern 3:45
  • Apply Retry Pattern with Polly policies on HttpClientFactory for Shopping.Aggreg 27:13
  • Apply Circuit Breaker Pattern with Polly policies on HttpClientFactory 13:17
  • Develop Advance Policies for Retry and Circuit Breaker Pattern with Polly 19:01
  • Apply Policies for Retry and Circuit Breaker Pattern with Polly policies 12:59
  • Using Polly for Database Migration Retries for Ordering.API EF.Core Sql Server 20:23
  • Using Polly for Database Migration Retries for Discount.API/Grpc Dapper Postgres 20:27
  • Resilience Quiz
Chương 4 Microservices Health Monitoring with using WatchDog
  • Introduction - Microservices Health Monitoring with using WatchDog 4:08
  • Asp.Net Health Checks 5:20
  • Adding Health Check for Catalog.API Microservices with Checking MongoDb Connect 19:33
  • Adding Health Check for BasketAPI Microservices with Checking Redis and RabbitMQ 15:29
  • Adding Health Check for Discount Microservices with Checking PostgreSQL Connect 7:29
  • Adding Health Check for Ordering.API Microservices with Checking Sql Server 10:48
  • Adding Health Check for Shopping.Aggregator Microservices with Checking Internal 10:04
  • Adding Health Check for AspnetRunBasics Shopping Microservices with OcelotGw 11:32
  • Developing WebStatus App for Centralized Microservices Health Monitoring 9:08
  • Developing WebStatus App for Centralized Microservices Health Monitoring Part 2 15:45
  • Containerize WebStatus Health Monitoring Microservices using Docker Compose 12:29
  • Test All Microservices on Docker environment - WebStatus Health Monitoring Micro 17:19
Chương 5 Microservices Distributed Tracing with OpenTelemetry using Zipkin
  • Introduction - Distributed Tracing with OpenTelemetry using Zipkin 2:24
  • Assignment - Distributed Tracing with OpenTelemetry using Zipkin 3:59
Chương 6 Thanks
  • Bonus Lecture

Requirment

  • C# knowledge

  • Aspnet core basics knowledge

  • Docker basics knowledge

  • This course using microservices course repository as a base repo and develop over that repository.

Outcomes

  • Microservices Observability with Distributed Logging

  • Elastic Stack which includes Elasticsearh + Logstach + Kibana

  • Aspnet Structured Logs with SeriLog

  • Microservices Resilience and Fault Tolerance using Polly

  • Retry Pattern on Microservices Communication

  • Circuit-Breaker Patterns on Microservices Communication

  • Microservices Health Monitoring with using WatchDog

  • Aspnet health check implementation with custom hc methods

  • Microservices Distributed Tracing with OpenTelemetry using Zipkin

  • Containerize All Microservices with SeriLog using Docker Compose for Logging on ElasticSearch and Kibana

  • Use IHttpClientFactory to implement resilient HTTP requests

  • Implement HTTP call retries with exponential backoff with IHttpClientFactory and Polly policies

  • Apply Retry Pattern with Polly policies on HttpClientFactory for Aggregator Microservices

  • Apply Circuit Breaker Pattern with Polly policies on HttpClientFactory for Aggregator Microservices

  • Using Polly for Database Migration Retries for Ordering EF Core Sql Server Migration

  • Microservices Distributed Tracing with OpenTelemetry using Zipkin

Instructor

...
Mehmet Ozkaya

0.0

  • ... 0 Student
  • ... 12 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all