PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/System Design/Coinbase

Design a crypto trading platform

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competence in system design, distributed systems, reliability engineering, and operational concerns such as idempotency, retries, reconciliation, and SLA‑aware API design when integrating with synchronous third‑party HTTP exchange APIs.

  • hard
  • Coinbase
  • System Design
  • Software Engineer

Design a crypto trading platform

Company: Coinbase

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design a cryptocurrency trading platform that integrates with third‑party exchanges via synchronous HTTP APIs. Address: - Overall architecture (services, databases, messaging, third‑party connectors). - Order lifecycle: define the state machine and transitions and how to persist and recover state. - Why the flow is effectively asynchronous despite a 'sync' API; how you decouple submission from fills/cancellations. - Handling third‑party timeouts and failures: retries, idempotency, deduplication, circuit breakers, dead‑letter queues, and reconciliation. - Traffic spikes: rate limiting, backpressure, autoscaling, queueing, batching, and hot‑shard mitigation. - Data consistency guarantees for orders, trades, and balances. - Client‑facing APIs, SLAs, monitoring/alerting.

Quick Answer: This question evaluates a candidate's competence in system design, distributed systems, reliability engineering, and operational concerns such as idempotency, retries, reconciliation, and SLA‑aware API design when integrating with synchronous third‑party HTTP exchange APIs.

Related Interview Questions

  • Design Crypto Order Routing - Coinbase (hard)
  • Design a crypto trading web frontend - Coinbase (hard)
  • Design query pagination for large datasets - Coinbase (medium)
  • Design real-time crypto prices homepage - Coinbase (hard)
  • Design a food delivery system - Coinbase (medium)
Coinbase logo
Coinbase
Jul 31, 2025, 12:00 AM
Software Engineer
Onsite
System Design
9
0

System Design: Crypto Trading Platform via Synchronous Third‑Party HTTP APIs

Context

You are designing a trading platform that routes client orders to external cryptocurrency exchanges which expose synchronous HTTP APIs (place/cancel/get). Fills and cancellations occur at the exchanges and must be reflected back to clients reliably and quickly.

Requirements

Design the system and address the following:

  1. Overall architecture
    • Services, databases, messaging, and third‑party connectors.
  2. Order lifecycle
    • Define the order state machine and transitions.
    • How to persist, replay, and recover state after failures/restarts.
  3. Sync vs async
    • Why the flow is effectively asynchronous despite using synchronous HTTP.
    • How to decouple submission from fills/cancellations.
  4. Third‑party timeouts and failures
    • Retries, idempotency, deduplication.
    • Circuit breakers, dead‑letter queues, reconciliation.
  5. Traffic spikes
    • Rate limiting, backpressure, autoscaling, queueing, batching, hot‑shard mitigation.
  6. Data consistency guarantees
    • For orders, trades, and balances.
  7. Client‑facing surface
    • APIs, SLAs/SLOs, monitoring/alerting.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Coinbase•More Software Engineer•Coinbase Software Engineer•Coinbase 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.