~/coding-interview/facebook-system-design-interview-types.md

Coding Interview - Facebook System Design Interview Types

2 min readDecember 23, 2020by Gorav Singal#coding-interview#system-design-interview
// TL;DR

Facebook has two system design tracks: backend (focus on scalability, storage, APIs) and product/full-stack (focus on end-to-end feature design). Clarify with your recruiter which type you'll face.

Coding Interview - Facebook System Design Interview Types

System design interview is pretty common these days, specially if you are having experience of more than 4-5 years. It is infact a good way to judge a candidate about his software designing or architecting skills.

Facebook does have a System design interview. They tries to match your skills with the right kind of System Design Interview. Be clear with your recruiter about this, and you should clarify with your recruiter about what kind of questions will be there in this interview. You can actually ask them for a sample question from each category, and they are very helpful.

Facebook System design interview actually involves two broad categories which decides what kind of detailing you can expect in a system design interview.

Backend Engineer System Design Interview

This type of interview starts by a fairly defined problem and a focus on the backend system components and their interactions. The focus is on the standard parts of building a solution.

An example question is “Design a URL shortener”. There is some ambiguity and product design elements to this question, typically used as extensions once the initial solution has been proposed.

What you can expect here:

  • Solution of the problem
  • Scalability (Important) If you have worked on how to scale an app, you should choose this kind of interview. You should be clear on how to handle large number of calls and how to scale well.
  • Details about each backend technology You should be clear about which technologies to use for particular use case. Example: which database, which caching, which communication etc
  • Sharding You should know how to shard your database for large scale applications.
  • Trade-offs in different technologies
  • Monitoring/health of systems

Fullstack Engineer System Design Interview

This is also called as Product Design Interview. The focus is typically on the more holistic parts of building a software solution and less on focus on the backend components. A full stack design interview question typically has a lot more product-oriented questions to be considered and more lee way in terms of the direction that the interview question can go in.

An example question is, “Design the news feed API”. In discussing this question you are expected to explore the problem domain more fully, to think about the entities in the system, a logical data model, potentially the physical data model (how the data is stored within the client and the server), the APIs and the interactions between the servers and clients.

What you can expect here:

  • Solution of the problem
  • Load balancers
  • Sharding
  • Caching
  • Distribution of Data
  • Speed/space/time trade-offs
  • Pagination
  • APIs
  • Client/Server communication
  • Partitioning

$ subscribe --weekly

One deep dive a week, in your inbox

System design, AI engineering, trading systems and interview prep. Tested code, real numbers. Free, and you can unsubscribe any time.

or read it on gyanbyte.substack.com

Share

Related Posts

System Design Interview Vocabulary Notes

System Design Interview Vocabulary Notes

In this post, we will see some of the frequently used concepts/vocabulary in…

Find the maximum sum of any continuous subarray of size K

Find the maximum sum of any continuous subarray of size K

Introduction You are given an array of integers with size N, and a number K…

What FAANG companies expect in their interview from candidates

What FAANG companies expect in their interview from candidates

Its every software engineer’s dream to work with the big FAANG companies…

Magical usage of Bitwise operators - Get optimized solutions for many arithmatic problems

Magical usage of Bitwise operators - Get optimized solutions for many arithmatic problems

Introduction I will list some of the interesting usage of bitwise operators…

How to prepare for your next Coding Interview

How to prepare for your next Coding Interview

Here are some tips while preparing for your coding interviews. 1. Do study or…

Radix Sort Algorithm

Radix Sort Algorithm

A number consists of digits. Example: 843. Its a 3-digit number. Radix sort…

Latest Posts

How to Stay Valuable as a Software Engineer in the AI Era: A Practical Playbook

How to Stay Valuable as a Software Engineer in the AI Era: A Practical Playbook

In the previous article I argued that AI is not killing software engineering…

How to Review AI-Generated Code: A Checklist for Catching What the Model Missed

How to Review AI-Generated Code: A Checklist for Catching What the Model Missed

A few months back I approved a PR that was almost entirely AI-generated. It…

How to Debug AI-Generated Code: Understand First, Fix Last

How to Debug AI-Generated Code: Understand First, Fix Last

In the last article I wrote about reviewing AI code before it goes in. This one…

The Future of Software Engineering: What AI Changes, What Stays, and Where the Jobs Go

The Future of Software Engineering: What AI Changes, What Stays, and Where the Jobs Go

Every few weeks somebody sends me a scary headline — “AI will replace all…

The Transactional Outbox Pattern: Never Lose an Event Again

The Transactional Outbox Pattern: Never Lose an Event Again

This is one of those patterns that looks like nothing until you get burnt once…

Event Sourcing, Explained: Store What Happened, Not Just the Final State

Event Sourcing, Explained: Store What Happened, Not Just the Final State

Here is a question I like to ask in interviews: your bank account shows a…