Back to Skills

testing-load-balancers

jeremylongshore
Updated Today
32 views
409
51
409
View on GitHub
Metaaitestingdesign

About

This skill enables Claude to test load balancing configurations using the `load-balancer-tester` plugin. It validates traffic distribution, tests failover scenarios, verifies sticky sessions, and assesses health check functionality. Use it when a developer asks to test a load balancer, validate traffic distribution, or check failover behavior.

Documentation

Overview

This skill empowers Claude to thoroughly test load balancing configurations, ensuring high availability and optimal performance. It automates the process of validating traffic distribution, simulating server failures, and verifying session persistence.

How It Works

  1. Initiating the Test: Claude receives a request to test the load balancer.
  2. Executing the Test Suite: Claude uses the load-balancer-tester plugin to run a series of tests, including traffic distribution validation, failover testing, sticky session verification, and health check testing.
  3. Presenting the Results: Claude provides a summary of the test results, highlighting any issues or areas for improvement.

When to Use This Skill

This skill activates when you need to:

  • Validate traffic distribution across backend servers.
  • Test the load balancer's ability to handle server failures.
  • Verify that sticky sessions are functioning correctly.
  • Ensure that health checks are effectively removing unhealthy servers from the pool.

Examples

Example 1: Validating Traffic Distribution

User request: "Test load balancer traffic distribution for even distribution across servers."

The skill will:

  1. Execute the lb-test command.
  2. Analyze the traffic distribution across the backend servers.
  3. Report whether the traffic is evenly distributed.

Example 2: Simulating a Failover Scenario

User request: "Test failover when one of the backend servers becomes unavailable."

The skill will:

  1. Execute the lb-test command.
  2. Simulate a server failure.
  3. Verify that traffic is redirected to the remaining healthy servers.
  4. Report on the success of the failover process.

Best Practices

  • Configuration: Ensure the load balancer is properly configured before testing.
  • Realistic Scenarios: Test with realistic traffic patterns and failure scenarios.
  • Comprehensive Testing: Test all aspects of the load balancer, including traffic distribution, failover, sticky sessions, and health checks.

Integration

This skill works independently using the load-balancer-tester plugin. It can be used in conjunction with other skills to configure and manage the load balancer before testing.

Quick Install

/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/load-balancer-tester

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
Path: backups/skills-migration-20251108-070147/plugins/testing/load-balancer-tester/skills/load-balancer-tester
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill