Udemy

Platform

English

Language

Web Development

Category

Microservices Observability, Resilience, Monitoring on .Net

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

4.50 (55 reviews)

Students

9.5 hours

Content

Apr 2021

Last Update
Regular Price


What you will learn

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


Description

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.

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.


Screenshots

Microservices Observability, Resilience, Monitoring on .Net
Microservices Observability, Resilience, Monitoring on .Net
Microservices Observability, Resilience, Monitoring on .Net
Microservices Observability, Resilience, Monitoring on .Net

Content

Introduction

Introduction

Prerequisites and Source Code

Run the Base Application

Why Microservices need Observability ? Example Case of Shopping Basket Checkout

Microservices Observability with Distributed Logging with Elastic Stack

Introduction - Distributed Logging with Elastic Stack

What is Elastic Search ?

What is Kibana and SeriLog ?

AspNet Logging Explained

Aspnet Log Levels and Filter Logs

Adding ElasticSearch and Kibana image into Docker-Compose File for Multi-Contain

Intall and Configure SeriLog For ElasticSearch and Kibana Sink Integration

Test SeriLog For ElasticSearch and Kibana Sink Integration in Shopping Web Micro

Create SeriLog Common Logging Library For ElasticSearch and Kibana Sink

Adding SeriLog Common Logging Library Project References to Aspnetrun Shopping

Adding LoggingDelegatingHandler for Intercepting Microservices Request-Response

Adding SeriLog for ShoppingAggregator Microservices for Logging on ElasticSearch

Adding SeriLog for Catalog.API Microservices for Logging on ElasticSearch

Adding SeriLog for Basket.API Microservices for Logging on ElasticSearch

Adding SeriLog for Discount.API Microservices for Logging on ElasticSearch

Adding SeriLog for Discount.Grpc Microservices for Logging on ElasticSearch

Adding SeriLog for Ordering.API Microservices for Logging on ElasticSearch

Adding SeriLog for OcelotApiGw Microservices for Logging on ElasticSearch

Containerize All Microservices with SeriLog using Docker Compose for Logging

Containerize All Microservices with SeriLog using Docker Compose for Logging 2

Test on Docker environment - SeriLog Microservices into Docker Compose

Microservices Resilience and Fault Tolerance using Polly

Introduction - Microservices Resilience and Fault Tolerance with using Polly

Microservices Resilience Patterns

Retry pattern

Circuit breaker pattern

Bulkhead Pattern

Apply Retry Pattern with Polly policies on HttpClientFactory for Shopping.Aggreg

Apply Circuit Breaker Pattern with Polly policies on HttpClientFactory

Develop Advance Policies for Retry and Circuit Breaker Pattern with Polly

Apply Policies for Retry and Circuit Breaker Pattern with Polly policies

Using Polly for Database Migration Retries for Ordering.API EF.Core Sql Server

Using Polly for Database Migration Retries for Discount.API/Grpc Dapper Postgres

Microservices Health Monitoring with using WatchDog

Introduction - Microservices Health Monitoring with using WatchDog

Asp.Net Health Checks

Adding Health Check for Catalog.API Microservices with Checking MongoDb Connect

Adding Health Check for BasketAPI Microservices with Checking Redis and RabbitMQ

Adding Health Check for Discount Microservices with Checking PostgreSQL Connect

Adding Health Check for Ordering.API Microservices with Checking Sql Server

Adding Health Check for Shopping.Aggregator Microservices with Checking Internal

Adding Health Check for AspnetRunBasics Shopping Microservices with OcelotGw

Developing WebStatus App for Centralized Microservices Health Monitoring

Developing WebStatus App for Centralized Microservices Health Monitoring Part 2

Containerize WebStatus Health Monitoring Microservices using Docker Compose

Test All Microservices on Docker environment - WebStatus Health Monitoring Micro

Microservices Distributed Tracing with OpenTelemetry using Zipkin

Introduction - Distributed Tracing with OpenTelemetry using Zipkin

Assignment - Distributed Tracing with OpenTelemetry using Zipkin

Thanks

Thanks

Bonus Lecture


Reviews

D
Daniel14 August 2021

Covered so many important topics of health monitoring in great detail. One of the best courses on service monitoring. The only thing that is missing is going over how to persist the data stored in Elasticsearch so that the data doesn't get lost when the container restarts (using something like Amazon S3 or Azure Blobs, not container storage or volume mounts).

A
Asit10 July 2021

Hi Mehmet, I just finished this course and this is the 4th one of yours. I am on my way to start the 5th one - Microservices with AKS and Devops. I couldnot be more satisfaied with the course content. Step by step explanation with source code available and the relavant articles attached in the corresponding videos. The experience is absolutely seamless. You have done a tremendous job. Many Thanks to you.

M
Miguel20 June 2021

The only thing the instructor does along each video is copy/paste code snippets from differents sources. He continously repeat same things, barely explain nothing, only obvious stuff, for the hard explanations he sends you to Google or directly he doesn't explain anything. Very surprised with the approach of the author, I'm enrolled over 50 courses in Udemy and sadly, comparisions are not good, but also are inavoidable, and when I watch other courses and watch this one...


3958562

Udemy ID

4/4/2021

Course created date

4/23/2021

Course Indexed date
Bot
Course Submitted by