PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Product / Decision Making/Google

Web Application Performance Debugging

Last updated: Mar 29, 2026

Quick Overview

Practice troubleshooting intermittent slowness in a multi-tier web application. The solution covers impact scoping, client and network checks, app traces, database and search diagnostics, cache behavior, background jobs, hypothesis testing, mitigation, stakeholder communication, and prevention.

  • medium
  • Google
  • Product / Decision Making
  • Product Manager

Web Application Performance Debugging

Company: Google

Role: Product Manager

Category: Product / Decision Making

Difficulty: medium

Interview Round: Technical Screen

##### Question A client reports that the web application is intermittently very slow when generating reports or performing searches, even though no code has changed for five months. Explain your step-by-step troubleshooting approach. Include how you would: Verify whether the issue affects a single user or multiple users. Gather and analyze performance metrics (e.g., server logs, DB queries, network latency). Form hypotheses, run experiments, and prioritize fixes.

Quick Answer: Practice troubleshooting intermittent slowness in a multi-tier web application. The solution covers impact scoping, client and network checks, app traces, database and search diagnostics, cache behavior, background jobs, hypothesis testing, mitigation, stakeholder communication, and prevention.

Related Interview Questions

  • Product Ideation with Street-View Car Images - Google (hard)
  • Market Sizing & Revenue Diagnostics - Google (hard)
  • Historical FX-Rate Service – System Design - Google (hard)
  • Real-Time Google Maps Photos — New Product Ideation - Google (medium)
  • YouTube Data Throughput Estimation - Google (medium)
|Home/Product / Decision Making/Google

Web Application Performance Debugging

Google logo
Google
Jul 4, 2025, 8:28 PM
mediumProduct ManagerTechnical ScreenProduct / Decision Making
7
0

Troubleshooting Prompt: Intermittent Slowness in a Web Application

A client reports that a web application is intermittently very slow when generating reports or performing searches. No code has changed in the last five months.

Assume a typical multi-tier architecture: browser, CDN or load balancer, application services, database and search cluster, caches, background jobs, and external dependencies.

Explain your step-by-step troubleshooting approach.

Constraints & Assumptions

  • Treat this as an incident and diagnosis problem, not just a generic performance checklist.
  • Intermittent slowness may come from data growth, traffic shifts, infrastructure changes, cache behavior, database plans, search indexing, background jobs, or network issues even when application code has not changed.
  • The answer should show how you scope impact, localize the bottleneck, form hypotheses, test safely, and prioritize fixes.

Clarifying Questions to Ask

  • Which actions are slow: reports, searches, login, page load, exports, or all requests?
  • What timestamps, user IDs, accounts, geographies, browsers, and query parameters are affected?
  • Is the slowness in time to first byte, client rendering, backend processing, database query, search query, or download?
  • Did data volume, traffic, configuration, infrastructure, dependencies, or scheduled jobs change recently?
  • What SLOs or customer-impact thresholds apply?

Part 1 - Scope and Verify Impact

Explain how you determine whether the issue affects one user, one account, one segment, or many users.

What This Part Should Cover

  • Collect timestamps, HAR files, request IDs, user/account IDs, screenshots, and affected workflows.
  • Check p50/p95/p99 latency, error rate, traffic, and saturation over time.
  • Segment by tenant, geography, browser, device, app version, endpoint, query type, and time of day.
  • Compare affected users with unaffected peers.
  • Decide severity and communication cadence.

Part 2 - Gather Metrics and Localize the Bottleneck

Describe how you analyze server logs, database queries, network latency, search cluster behavior, caches, and background jobs.

What This Part Should Cover

  • Golden signals: latency, traffic, errors, saturation.
  • Client/browser waterfall and CDN/load-balancer metrics.
  • Application traces, logs, queue depth, thread pools, memory, CPU, and dependency calls.
  • Database slow queries, query plans, locks, connection pool, indexes, and data growth.
  • Search cluster query latency, indexing lag, shard health, and cache hit rate.
  • Background jobs, cron schedules, cache eviction, and external dependencies.

Part 3 - Hypotheses, Experiments, and Fixes

Explain how you form hypotheses, test them, and prioritize fixes.

What This Part Should Cover

  • Rank hypotheses by impact, likelihood, and testability.
  • Use safe experiments such as replaying queries, disabling a job, adding an index in staging, warming caches, or routing traffic.
  • Separate mitigation from root-cause fix.
  • Prioritize customer-impact reduction, reversibility, and long-term prevention.
  • Add monitoring and regression tests after the fix.

What a Strong Answer Covers

A strong answer scopes the blast radius first, localizes the problem across tiers, uses data to test hypotheses, communicates clearly with stakeholders, and ships mitigations plus prevention rather than guessing from symptoms.

Follow-up Questions

  • What if only one enterprise account is affected?
  • What if p99 latency spikes but p50 is stable?
  • What if no application code changed but database query plans changed?
  • How would you communicate with the client during investigation?
  • What monitoring would you add afterward?
Loading comments...

Browse More Questions

More Product / Decision Making•More Google•More Product Manager•Google Product Manager•Google Product / Decision Making•Product Manager Product / Decision Making

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,000+ 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
  • AI Coding 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.