Welcome to the fourth lesson in your system design course. In our last session, you translated requirements and scale estimations into a high-level architecture diagram, sketching the primary components and data flows for a system. This gave you a structural blueprint.
Today, we'll pressure-test that blueprint. A crucial skill for a senior engineer is not just designing a system, but also anticipating how it will break. This lesson focuses on identifying and prioritizing the most critical scalability bottlenecks in a given design. You'll learn to analyze an architecture, pinpoint its weakest links, and propose solutions, demonstrating the proactive, production-oriented mindset that interviewers look for. This moves us from simply drawing boxes and arrows to strategically reinforcing them.
The System Design Interview Process
In many system design interview frameworks, after sketching an initial high-level design, the conversation naturally shifts toward its limitations. Proactively leading this part of the discussion is a strong signal of seniority.

A common 7-step framework for system design interviews. Our previous lessons covered steps 1-3 and 5. This lesson focuses on step 7: Identifying and Resolving Bottlenecks.
A Framework for Identifying Bottlenecks
Identifying bottlenecks isn't about random guessing; it's a systematic process of asking "What if?". You should be constantly probing your own design for weak points. As a senior engineer, your goal is to anticipate these issues before the interviewer has to ask.
The following resource from Exponent outlines a great set of questions to guide your thinking.
How to Answer System Design Interview Questions - Exponent
This article provides a concise checklist of questions to ask yourself when looking for scalability issues in a design. It helps structure your analysis around common failure modes.
As you read the section titled "Step 4: Identify bottlenecks and scale," focus on the list of potential topics. Internalize these questions: Is there a single point of failure (SPOF)? How do we handle data replication and consistency? How do we support a global service? Are there edge cases (like "hot" users or content) that could break the system? How does the system scale to 10x the load? Keep these questions in mind as we analyze a concrete example.
Keep these questions in mind as we analyze a concrete example.
Deep Dive: Uncovering Bottlenecks in a News Feed Design
Let's apply this framework to a system like the photo-sharing app we discussed in the previous lesson, which shares many characteristics with a Facebook or Instagram news feed.
Recall the high-level design: users can post photos, and they can view a feed of photos from people they follow. A naive approach to generating the feed (the "read path") might be:
- A user requests their feed.
- The service gets the list of people the user follows from the database.
- The service then queries the database for the most recent photos from each of those people.
- Finally, it merges, sorts, and returns the results.
While simple, this design hides several critical bottlenecks that will surface at scale. The following video provides a masterclass in identifying and solving these very issues in a Facebook News Feed design.
Design FB News Feed System Design Interview w/ ex: Meta Senior Manager
This mock interview with an ex-Meta manager walks through the iterative process of identifying a bottleneck, proposing a solution, and then critically analyzing the new bottleneck created by that solution. This layered thinking is exactly what's expected at a senior level.
Please watch the following segments carefully: The Initial Problem: First, watch the segment from "How can we deal with accounts that follow a lot of people?". The presenter identifies the first major bottleneck: read amplification. A user following 5,000 people would trigger 5,000 separate database queries, which is completely unscalable. This is often called fan-out on read. The First Solution & Its New Problem: Next, watch from the proposed solution. The solution is to precompute the feed. When a user posts, the system finds all their followers and writes the new post into each follower's cached feed. This is fan-out on write. Notice how solving the read bottleneck creates a new one: write amplification. What happens when a celebrity with 10 million followers posts? The Hybrid Solution: Continue watching from the discussion of async workers and the hybrid approach. To solve the celebrity problem, the design is refined: use fan-out-on-write for regular users but revert to fan-out-on-read for "mega accounts." This balances the load between the read and write paths. The Hotkey Problem: Finally, watch the analysis of the "hotkey" or "hot shard" problem. When a post goes viral, a single data record (the post's metadata) and a single file (the image) are requested millions of times. This can overwhelm a single database partition or cache node. The presenter discusses using a cache to shield the database, but then astutely points out that the cache itself can now have a hotkey, proposing a solution for that as well. The key takeaway here is the iterative cycle: Identify Bottleneck -> Propose Solution -> Identify New Bottleneck in Solution. The final clip from the video's conclusion perfectly summarizes this mindset. Common Bottlenecks and Their Solutions Let's consolidate the patterns we saw in the video: Bottleneck Type Description Common Solution(s) Single Point of Failure (SPOF) A component whose failure would cause the entire system to go down. Redundancy: Add multiple instances, use load balancers, implement leader-follower replication for databases. Read Amplification A single client request results in a large number of database read operations. Pre-computation, caching, denormalization. For a feed, this is the fan-out-on-write strategy. Write Amplification A single client request results in a large number of database write operations. Asynchronous processing with message queues, batching writes, using a hybrid model (as seen with the celebrity problem). Hotspots (Hot Keys/Shards) A disproportionate amount of traffic is directed to a small part of the system (e.g., one database row, one cache key, one server). Caching (with multiple replicas to distribute cache load), using a CDN for static assets. Computational Bottlenecks A service is overwhelmed by CPU-intensive tasks (e.g., sorting large result sets, transcoding video). Asynchronous processing with a worker pool, pre-computation, scaling the service horizontally. Discussing Bottlenecks in an Interview Now, let's see how this plays out in a live mock interview. The interviewer will often prompt you directly, as seen in the following clip.
Common Bottlenecks and Their Solutions
Let's consolidate the patterns we saw in the video:
| Bottleneck Type | Description | Common Solution(s) |
|---|---|---|
| Single Point of Failure (SPOF) | A component whose failure would cause the entire system to go down. | Redundancy: Add multiple instances, use load balancers, implement leader-follower replication for databases. |
| Read Amplification | A single client request results in a large number of database read operations. | Pre-computation, caching, denormalization. For a feed, this is the fan-out-on-write strategy. |
| Write Amplification | A single client request results in a large number of database write operations. | Asynchronous processing with message queues, batching writes, using a hybrid model (as seen with the celebrity problem). |
| Hotspots (Hot Keys/Shards) | A disproportionate amount of traffic is directed to a small part of the system (e.g., one database row, one cache key, one server). | Caching (with multiple replicas to distribute cache load), using a CDN for static assets. |
| Computational Bottlenecks | A service is overwhelmed by CPU-intensive tasks (e.g., sorting large result sets, transcoding video). | Asynchronous processing with a worker pool, pre-computation, scaling the service horizontally. |
Discussing Bottlenecks in an Interview
Now, let's see how this plays out in a live mock interview. The interviewer will often prompt you directly, as seen in the following clip.
System Design Mock Interview: Design TikTok ft. Google TPM
In this mock interview, after laying out a high-level design, the candidate is asked to identify bottlenecks if traffic were to increase by 10x.
Watch the segment from where the interviewer asks about bottlenecks. Notice how the candidate systematically addresses different potential issues: Global Latency: Proposes a CDN to reduce latency and absorb load for popular videos (addressing the "hot content" bottleneck). API Server Scalability/Availability: Proposes a load balancer in front of a horizontally-scalable group of API servers (addressing SPOF and general scaling). Database Scalability: Identifies the database as a classic bottleneck. He distinguishes between read and write load, suggesting read replicas. For write scaling, he introduces database sharding.
This is a strong response because it's structured and directly maps common scaling solutions to specific, anticipated problems.
Conclusion
You've now learned how to critically evaluate a system design for its weaknesses under pressure. This is a significant step beyond simply knowing the building blocks of a system.
Key Takeaways:
- Proactive Mindset: Senior engineers don't wait to be asked where their design will break. They point out the limitations themselves and discuss potential solutions.
- Systematic Approach: Use a mental checklist to probe for common bottlenecks: single points of failure, read/write amplification, hotspots, and computational limits.
- Iterative Refinement: Solving one bottleneck often introduces another. The ability to see this next layer of problems and discuss the trade-offs is a hallmark of an experienced architect. For example, moving from fan-out-on-read to fan-out-on-write solves a read-latency problem but creates a write-load problem.
- Prioritization: In an interview, you should address the bottlenecks that are most critical to the core requirements first. For a read-heavy system like a news feed, solving the read-path latency is paramount.
In our next lesson, we will formalize the process of weighing these different solutions. Every architectural choice is a trade-off—between performance and cost, consistency and availability, or simplicity and features. We will explore how to communicate design trade-offs clearly using structured reasoning, which is the final piece of the core interview framework.