PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Headway

Handle traffic spikes and estimate server capacity

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competency in performance troubleshooting, capacity planning, and scalable system architecture, focusing on diagnosing overload causes and quantifying infrastructure needs.

  • medium
  • Headway
  • System Design
  • Software Engineer

Handle traffic spikes and estimate server capacity

Company: Headway

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

## Scenario You are designing and operating a backend service that receives API requests from clients. Recently, the service becomes slow or times out when request volume spikes. ## Questions 1. **Too many requests cause the server to slow down. What would you do to diagnose and mitigate the issue?** - Assume you can change both infrastructure and application code. - Discuss both immediate mitigations and longer-term architectural changes. 2. **Given a set of assumptions (users, request rates, data volume), how would you estimate required server capacity?** - Explain what inputs you need (traffic, latency/SLO, CPU/memory per request, storage growth, peak-to-average factor, etc.). - Provide a method to translate those assumptions into numbers of instances, database capacity, and network/storage needs.

Quick Answer: This question evaluates a candidate's competency in performance troubleshooting, capacity planning, and scalable system architecture, focusing on diagnosing overload causes and quantifying infrastructure needs.

Headway logo
Headway
Feb 11, 2026, 12:00 AM
Software Engineer
Technical Screen
System Design
4
0

Scenario

You are designing and operating a backend service that receives API requests from clients. Recently, the service becomes slow or times out when request volume spikes.

Questions

  1. Too many requests cause the server to slow down. What would you do to diagnose and mitigate the issue?
    • Assume you can change both infrastructure and application code.
    • Discuss both immediate mitigations and longer-term architectural changes.
  2. Given a set of assumptions (users, request rates, data volume), how would you estimate required server capacity?
    • Explain what inputs you need (traffic, latency/SLO, CPU/memory per request, storage growth, peak-to-average factor, etc.).
    • Provide a method to translate those assumptions into numbers of instances, database capacity, and network/storage needs.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Headway•More Software Engineer•Headway Software Engineer•Headway System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.