PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/System Design/Meta

Design Queue And Taxi Matching Services

Last updated: May 19, 2026

Quick Overview

This question evaluates competency in designing scalable, durable distributed systems and real-time matching workflows, covering distributed messaging/event-streaming concepts (ordering, retention, replication, consumer offsets) and ride-request matching with concurrent acceptances, confirmations, and race-condition handling.

  • medium
  • Meta
  • System Design
  • Software Engineer

Design Queue And Taxi Matching Services

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Answer both independent system design prompts. For each one, clarify requirements, propose APIs, describe core data models, explain the architecture, discuss scaling and reliability, and identify trade-offs. 1. Design a durable queue or event-streaming service Design a distributed queue service similar in spirit to a high-throughput log-based messaging platform. It should allow producers to publish messages, consumers to read messages, consumer groups to track offsets, and users to replay historical messages within a retention window. The system should support ordering within a partition, high throughput, durability, replication, backpressure, monitoring, and failure recovery. 2. Design a taxi request service with user-selected drivers Design the request and matching flow for a ride-hailing service. The requirements differ from a standard one-driver assignment model: - A rider creates a ride request. - The system notifies many nearby drivers. - Multiple drivers may accept or express interest in the same request. - The rider chooses one driver from the accepted drivers. - The chosen driver must explicitly confirm the rider's selection. - Only after confirmation should the trip become assigned. Handle driver/rider cancellations, timeouts, concurrent acceptances, duplicate requests, stale locations, and race conditions.

Quick Answer: This question evaluates competency in designing scalable, durable distributed systems and real-time matching workflows, covering distributed messaging/event-streaming concepts (ordering, retention, replication, consumer offsets) and ride-request matching with concurrent acceptances, confirmations, and race-condition handling.

Related Interview Questions

  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
  • Design an Instagram-like Media Feed - Meta (medium)
Meta logo
Meta
Apr 9, 2026, 12:00 AM
Software Engineer
Onsite
System Design
0
0

Answer both independent system design prompts. For each one, clarify requirements, propose APIs, describe core data models, explain the architecture, discuss scaling and reliability, and identify trade-offs.

  1. Design a durable queue or event-streaming service

Design a distributed queue service similar in spirit to a high-throughput log-based messaging platform. It should allow producers to publish messages, consumers to read messages, consumer groups to track offsets, and users to replay historical messages within a retention window. The system should support ordering within a partition, high throughput, durability, replication, backpressure, monitoring, and failure recovery.

  1. Design a taxi request service with user-selected drivers

Design the request and matching flow for a ride-hailing service. The requirements differ from a standard one-driver assignment model:

  • A rider creates a ride request.
  • The system notifies many nearby drivers.
  • Multiple drivers may accept or express interest in the same request.
  • The rider chooses one driver from the accepted drivers.
  • The chosen driver must explicitly confirm the rider's selection.
  • Only after confirmation should the trip become assigned.

Handle driver/rider cancellations, timeouts, concurrent acceptances, duplicate requests, stale locations, and race conditions.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Software Engineer•Meta Software Engineer•Meta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,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.