{
"id": "stack-part:load-balancer",
"_kind": "StackPart",
"_file": "domain/stack-parts/load-balancer.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "Load Balancer",
"category": "infrastructure",
"description": "Distributes incoming network connections or HTTP requests across a pool\nof backend instances to maximize throughput, minimize latency, and ensure\navailability. Operates at Layer 4 (TCP/UDP) or Layer 7 (HTTP/HTTPS).\n\nL7 load balancers (AWS ALB, GCP HTTPS LB) support path-based and header-\nbased routing, SSL termination, sticky sessions, health checks, and\nWebSocket upgrades. L4 load balancers (AWS NLB) offer lower latency for\nTCP-based protocols. Cloud-native load balancers integrate with\nauto-scaling groups to drain connections gracefully during deployments.\nOften co-located with a WAF or DDoS protection layer.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "platform-service:k8s-service",
"to": "stack-part:load-balancer",
"kind": "implements_stack_part"
},
{
"from": "platform-service:k8s-service",
"to": "stack-part:load-balancer",
"kind": "implements_stack_part",
"attributes": {}
}
]
}