How To Build a Load Balancer In .NET With YARP Reverse Proxy

Published: 11 August 2023
on channel: Milan Jovanović
19,670
970

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

What is a load balancer? It's a component that distributes incoming requests between multiple instances of your application. Load balancers are used when you need to scale your application horizontally and have multiple running instances. In this video, I'll show you how to implement a load balancer in .NET using the YARP reverse proxy.

Implementing an API Gateway For Microservices With YARP
https://www.milanjovanovic.tech/blog/...

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters:
0:00 What is a Reverse Proxy?
1:21 Adding the Load Balancer project
2:29 Installing the YARP reverse proxy library and basic configuration
3:50 Configuring YARP as a simple reverse proxy
5:58 Demo: Running YARP as a reverse proxy
7:06 Configuring YARP as a Load Balancer
8:53 Adding additional API instances with Docker compose
10:14 Demo: Running YARP as a Load Balancer


Watch video How To Build a Load Balancer In .NET With YARP Reverse Proxy online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 11 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,670 once and liked it 970 people.