load-balancing-patterns

Guide selection and configuration of load balancing solutions for distributed systems.

503|73|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/ancoleman/ai-design-components --skill load-balancing-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-balancing-patterns
Source: https://github.com/ancoleman/ai-design-components/tree/main/skills/load-balancing-patterns
Command: npx skills add https://github.com/ancoleman/ai-design-components --skill load-balancing-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you select, configure, and implement the most effective load balancing strategy for your application, ensuring high availability, scalability, and optimal performance.

Core Features & Use Cases

  • L4 vs L7 Selection: Guides you in choosing between transport layer (TCP/UDP) and application layer (HTTP/S) load balancing based on your needs.
  • Cloud & Self-Managed Options: Covers AWS ALB/NLB, GCP Load Balancers, Azure Load Balancers, NGINX, HAProxy, and Envoy.
  • Kubernetes Ingress: Provides patterns for managing traffic within Kubernetes clusters.
  • Health Checks & Session Persistence: Details best practices for ensuring service health and managing user sessions.
  • Use Case: You're deploying a new web application and need to ensure it can handle traffic spikes and remain available even if one server fails. This Skill will help you choose the right load balancer (e.g., an AWS ALB) and configure it with appropriate health checks and routing rules.

Quick Start

Use the load-balancing-patterns skill to select an appropriate load balancing solution for a new microservices deployment.

Frequently Asked Questions about load-balancing-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the difference between Layer 4 and Layer 7 load balancing?

Layer 4 load balancing distributes network traffic based on TCP/UDP protocols, while Layer 7 routing operates at the HTTP/S application layer. This Skill guides you in selecting the appropriate layer based on your application needs.

How do I configure Kubernetes ingress controllers for load balancing?

You configure Kubernetes ingress controllers by applying specific traffic management patterns within your clusters. This Skill provides detailed guidance on setting up ingress to distribute traffic intelligently across your infrastructure.

Should I use a cloud-managed load balancer or a self-managed solution like NGINX?

Cloud-managed load balancers like AWS ALB offer easier maintenance, while self-managed solutions like NGINX, HAProxy, or Envoy provide deeper configuration control. This Skill covers both options to help you choose the best fit.

How do I set up health checks and session persistence for high availability?

You set up health checks and session persistence by applying detailed best practices for ensuring service health and managing user sessions. This Skill outlines specific patterns to maintain high availability across your distributed system.

When do I need global traffic management for my distributed system?

You need global traffic management when distributing traffic across multiple regions to ensure high availability and optimal performance. This Skill provides detailed patterns for implementing global load balancing strategies effectively.