Scaling และ Load Balancing
ทำไมต้อง Scale
Section titled “ทำไมต้อง Scale”เมื่อ application เติบโต อาจเจอปัญหา:
| Problem | Symptom | Solution |
|---|---|---|
| Response time ช้า | Users รอนาน | Add more workers/instances |
| Server ล่ม | 502/503 errors | Load balancer + failover |
| Database ช้า | Queries timeout | Read replicas, caching |
| Single point of failure | ทั้งระบบพัง | Redundancy |
เข้าสู่ระบบเพื่อดูเนื้อหาเต็ม
ยืนยันตัวตนด้วยบัญชี Google เพื่อปลดล็อกบทความทั้งหมด
Login with Google