Scalability Analysis - Connection pooling
Growth Table: Connection Pooling at Different Scales
| Users | Connections Opened | DB Load | Latency Impact | Resource Usage |
|---|---|---|---|---|
| 100 users | ~10-50 pooled connections | Low | Minimal | Low CPU & Memory |
| 10,000 users | ~200-500 pooled connections | Moderate | Noticeable if no pooling | Moderate CPU & Memory |
| 1,000,000 users | ~1000-2000 pooled connections | High | High without pooling | High CPU & Memory, DB saturation risk |
| 100,000,000 users | ~5000+ pooled connections (sharded) | Very High | Severe without pooling and sharding | Very High, requires distributed pooling |