Types of Load Balancing Algorithms (Animated + Code Examples)

  Рет қаралды 3,366

Anton Putra

Anton Putra

Күн бұрын

🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
► LinkedIn: / anton-putra
► Twitter/X: / antonvputra
► GitHub: github.com/antonputra
► Email: me@antonputra.com
▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
👉 [Playlist] Network Tutorials: • Network Tutorials
👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
👉 [Playlist] Database Tutorials: • Database Tutorials
▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
2:42 Static Algorithms
3:13 Round Robin Algorithm
5:05 Round Robin Algorithm Demo
6:12 Weighted Round Robin Algorithm
8:02 Weighted Round Robin Algorithm Demo
8:48 DNS Round Robin Algorithm
9:52 DNS Round Robin Algorithm Demo
10:14 IP hash Algorithm
11:33 URL hash Algorithm
12:24 IP hash Algorithm Demo
12:49 Random Allocation
13:25 Random Allocation Demo
13:43 Dynamic Algorithms
14:10 Least Connection Algorithm
15:03 Least Connection Algorithm Demo
15:49 Weighted Least Connection Algorithm
16:17 Weighted Least Connection Algorithm Demo
16:43 Least Response Time Algorithm
17:15 Least Response Time Algorithm Demo
17:36 Resource Based Algorithm
18:52 Geo-Location Based Load Balancing
20:01 Rate Limiting
20:34 Rate Limiting Demo
21:25 Session Persistence
22:20 Session Persistence Demo
▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬
► GitHub: github.com/antonputra/tutoria...
#networking #devops #cloud

Пікірлер: 18
@AntonPutra
@AntonPutra 2 ай бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@ndk8111
@ndk8111 2 ай бұрын
Hello Anton, I’ve been incredibly fortunate to stumble upon your channel, and ever since, I’ve delved into your instructional videos with great enthusiasm. Your presentations stand out for their clarity, depth, and accessibility, making complex concepts seem manageable and easy to understand. It’s clear you possess a rare talent for teaching, breaking down intricate topics into digestible parts that greatly benefit learners like me. Your dedication to sharing your knowledge reflects not only on your profound expertise but also on your commitment to cultivating a supportive learning community. Your tutorials have profoundly impacted my learning journey, enhancing both my understanding and my skills. The practical examples and hands-on methods you use transform the learning experience from merely informative to truly enjoyable. You’ve managed to create content that meets the developer community’s needs, making technology’s more daunting aspects seem approachable. Your videos have not only improved my technical abilities but have also given me the confidence to embrace new challenges head-on. Thank you for your remarkable contribution to the learning community. Your willingness to share your insights and knowledge is deeply valued. Please, keep up the fantastic work. Your generosity has a wide-reaching impact, and I am just one among many who have immensely benefited from your guidance. I eagerly anticipate your future videos and the continued growth of the vibrant community you’re nurturing.👏🤩 Sincerely.
@AntonPutra
@AntonPutra 2 ай бұрын
Thank you very much! I appreciate it!
@rohannikumbh8056
@rohannikumbh8056 2 ай бұрын
You are best creator. I understand things visually more better and quick, you do it nicely. Other youtubers just theoretically explain. You are best
@AntonPutra
@AntonPutra 2 ай бұрын
Thank you!
@johnbox5540
@johnbox5540 2 ай бұрын
amazing content. thank you sir
@AntonPutra
@AntonPutra 2 ай бұрын
thanks for visiting
@urigroovy
@urigroovy 2 ай бұрын
Hi Anton, what's the best practices to deploy internal app for a team, a monitoring tool for example to allow easily access without expose it?
@AntonPutra
@AntonPutra 2 ай бұрын
Almost always use a VPN. Not only can you expose your app to your team internally, but you can also use a private DNS and push it via VPN configuration. For example, you can create a private Route 53 hosted zone, and when you connect to the VPN, you push the DNS server configuration to each client.
@kdetony
@kdetony Ай бұрын
Excelent, how question, What program do you use for the animation?... Regards
@AntonPutra
@AntonPutra Ай бұрын
thanks, adobe
@Babbili
@Babbili 2 ай бұрын
i wonder if Envoy proxy load-balancer also can be configured for these algorithms
@AntonPutra
@AntonPutra 2 ай бұрын
I does support few, I have some examples as well - github.com/antonputra/tutorials/blob/main/lessons/151/ansible/roles/envoy/files/envoy.yaml Supported load balancers - www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers
@Babbili
@Babbili 2 ай бұрын
@@AntonPutra thank you for the video, it's a reference
@VM-yp2rl
@VM-yp2rl 2 ай бұрын
How servers are synchronizing changes in databases (probably separate db for each server)
@AntonPutra
@AntonPutra 2 ай бұрын
Usually you have one db behind, master where services write and replicas if you have read intensive app
@VM-yp2rl
@VM-yp2rl 2 ай бұрын
​@AntonPutra, do you mean one external server for the database or an additional load balancer for a cluster of database servers? :)
@AntonPutra
@AntonPutra 2 ай бұрын
@@VM-yp2rl typically there is a single database instance behind 1 microservice (can have many replicas). So all application instances would write to the same database, there is no need to sync. There are some advanced uses cases when you have multiple database instances with different sync protocols, such as master-slave or master-master
How to debug Kubernetes? (Deployments, Services & Ingress)
18:45
Anton Putra
Рет қаралды 4,9 М.
How to analyze and improve performance of your Jetpack Compose app
45:39
Android Developers
Рет қаралды 9 М.
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 97 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 12 МЛН
Top 6 Load Balancing Algorithms Every Developer Should Know
5:18
The easiest way to chat with Knowledge Graph using LLMs (python tutorial)
18:35
How I would learn to code (if I could start over)
10:52
PIRATE KING
Рет қаралды 1,3 МЛН
What is a Columnar Database? (vs. Row-oriented Database)
8:20
Anton Putra
Рет қаралды 1,5 М.
Kubernetes Architecture
9:41
Anton Putra
Рет қаралды 13 М.
Kubernetes RBAC Explained
23:17
Anton Putra
Рет қаралды 6 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 566 М.
Main filter..
0:15
CikoYt
Рет қаралды 551 М.