Configure Production Load Balancer Architecture
Get step-by-step load balancer configuration for high-availability systems. Includes Nginx, HAProxy, and cloud solutions.
Prompt Template
Variables to Customize
[APPLICATION_TYPE] Type of application being load balanced
Example: Node.js REST API with PostgreSQL database
[EXPECTED_TRAFFIC] Expected traffic volume and patterns
Example: 10,000 requests/minute peak, 2,000 concurrent users
[BACKEND_SERVERS] Number and specifications of backend servers
Example: 4 servers, 8GB RAM, 4 CPU cores each, running on port 3000
[INFRASTRUCTURE_TYPE] Infrastructure platform and constraints
Example: AWS EC2 instances with Application Load Balancer option
[BUDGET_RANGE] Budget constraints for the solution
Example: $500-1000/month including monitoring and backup
Example Output
Pro Tips for Best Results
- Test your load balancer configuration in a staging environment that mirrors production traffic patterns
- Implement gradual traffic shifting when deploying new backend versions to minimize risk
- Set up automated health checks that test actual application functionality, not just server availability
- Configure session stickiness only when necessary, as it can impact load distribution efficiency
- Monitor both technical metrics (response time, error rates) and business metrics (conversion rates) to measure true performance impact
Tags
Want 500+ Expert Prompts?
Get the Premium Prompt Pack — organized, tested, and ready to use.
Get it for $29Related Prompts You Might Like
Optimize Database Query Performance
You are a senior database performance engineer with expertise in query optimization. I need you to analyze and optimize ...
Design Production-Ready GraphQL Schema
You are a senior GraphQL architect tasked with designing a comprehensive GraphQL schema for [PROJECT_TYPE]. Create a pro...
Implement Form Validation with JavaScript
I need help implementing form validation for a web form. Please create a complete solution that includes both HTML struc...
Generate Environment Configuration Files
You are an expert DevOps engineer tasked with creating environment configuration files. Generate comprehensive configura...
Secure SQL Injection Vulnerability
You are a senior cybersecurity engineer specializing in database security. I need you to analyze the following code for ...
Generate Professional Deployment Scripts
Act as an experienced DevOps engineer and create a comprehensive deployment script for the following specifications: **...