الملفات
ghaymah-exam-mohammedhamdy-sre/Q4-Scalability/calculations.md
Ubuntu b43f9bf706
فشلت بعض الفحوصات
CI/CD - Build & Deploy to Ghaymah Cloud / build-and-test (push) Has been cancelled
CI/CD - Build & Deploy to Ghaymah Cloud / deploy-staging (push) Has been cancelled
CI/CD - Build & Deploy to Ghaymah Cloud / deploy-production (push) Has been cancelled
add Q4
2026-07-28 03:23:39 +00:00

517 B
خام اللوم التاريخ

Container Capacity Calculation

Given

  • Expected Traffic = 15,000 requests/second
  • One container capacity = 500 requests/second
  • Required headroom = 30%

Step 1

Number of containers without headroom

15000 / 500 = 30 Containers


Step 2

Adding 30% reserve capacity

30 × 1.30 = 39 Containers


Final Result

The application should run 39 containers to safely handle the expected traffic while maintaining additional capacity for sudden traffic spikes and infrastructure failures.