System Design Masterclass
E-Commercemarketplacesearchgeolocationlistingsmessagingintermediate

Design Marketplace Features

Design marketplace features like Facebook Marketplace with millions of listings

100M+ listings, 50M+ DAU|Similar to Facebook, Craigslist, OfferUp, Letgo, Mercari|45 min read

Summary

Marketplace systems connect buyers and sellers with local inventory. The core challenges are geo-based search at scale, real-time inventory management, trust and safety, and building a two-sided network. This problem tests your ability to handle location-based queries, search ranking, and user-generated content moderation.

Key Takeaways

Core Problem

This is fundamentally a geo-spatial search and discovery problem. Users want to find relevant items near them quickly.

The Hard Part

Combining location proximity, relevance ranking, and inventory freshness in sub-100ms queries across 100M+ listings.

Scaling Axis

Scale by geographic region. Each region can operate semi-independently since most transactions are local.

The Question: Design a marketplace like Facebook Marketplace where users can list items for sale and discover items to buy in their local area.

Core Features: - Listing creation: Sellers post items with photos, description, price, location - Discovery feed: Buyers browse items near them, filtered by category - Search: Find specific items by keyword within a geographic radius - Messaging: Buyers and sellers communicate about items - Transaction flow: Mark items as sold, handle disputes

What to say first

Before I design, let me clarify the scale, the primary use case (local vs shipping), and what trust/safety requirements exist. These significantly shape the architecture.

Hidden requirements interviewers test: - Can you design efficient geo-spatial queries? - How do you handle the two-sided marketplace cold start? - What about fraud, scams, and prohibited items? - How do you rank and personalize results? - Can you handle real-time inventory updates?

Premium Content

Sign in to access this content or upgrade for full access.