PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design a scalable key-value configuration service

Last updated: Mar 29, 2026

Quick Overview

This question evaluates expertise in distributed systems and system design, testing competencies in schema and API design, partitioning/sharding, storage engine trade-offs, consistency and replication strategies, and operational features like watches, TTLs, backups, and capacity planning within a multi-region key–value configuration service.

  • hard
  • Meta
  • System Design
  • Software Engineer

Design a scalable key-value configuration service

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design a globally distributed key–value configuration service used by thousands of microservices. Define the key schema (namespacing, composability, versioning) and value schema (serialization format, validation, schema evolution). Explain partitioning/sharding strategy, indexing, and storage engine choices (e.g., LSM-tree vs B-tree), including write/read paths and hot-key mitigation. Specify the consistency model (linearizable vs eventual), leader election, replication/quorums, and handling of network partitions and failover. Describe support for transactions, watches/subscribe for updates, TTLs, and backup/restore. Provide capacity planning, SLAs, multi-region replication strategy, and testing approaches.

Quick Answer: This question evaluates expertise in distributed systems and system design, testing competencies in schema and API design, partitioning/sharding, storage engine trade-offs, consistency and replication strategies, and operational features like watches, TTLs, backups, and capacity planning within a multi-region key–value configuration service.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • 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)
Meta logo
Meta
Jul 15, 2025, 12:00 AM
Software Engineer
Onsite
System Design
3
0

Design a Globally Distributed Key–Value Configuration Service

Background

You are asked to design a globally distributed key–value configuration service powering thousands of microservices across multiple regions. The service should provide low-latency reads, strong safety for updates, and global availability.

Requirements

  • Define the key schema (namespacing, composability, versioning).
  • Define the value schema (serialization format, validation, schema evolution).
  • Explain partitioning/sharding, indexing, and storage engine choices (e.g., LSM-tree vs B-tree).
  • Describe write/read paths and hot-key mitigation.
  • Specify the consistency model (linearizable vs eventual), leader election, replication/quorums, and handling of network partitions and failover.
  • Describe support for transactions, watches/subscribe for updates, TTLs, and backup/restore.
  • Provide capacity planning, SLAs, multi-region replication strategy, and testing approaches.

Assumptions

  • Read-heavy (≫95% reads), small values (0.5–8 KB), small key space (≤ few million keys), but very high fanout of clients.
  • Writes are rare but correctness-critical; clients expect fast propagation of changes.
  • Multi-tenant namespaces, multi-region footprint, thousands of services, tens of thousands of instances.

Solution

Show

Submit Your Answer to Earn 20XP

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 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
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.