Design a Real-Time Exchange Rate Quote Service With Guaranteed Windows
Last updated: November 29, 2026
Quick Overview
Design the service that ingests market rates, publishes a mid-market rate per currency pair, and issues quotes that lock a rate for a guaranteed period, while limiting Wise's exposure when markets move sharply.
Wise
November 29, 20260
0
0 solved
Design the service that ingests market rates, publishes a mid-market rate per currency pair, and issues quotes that lock a rate for a guaranteed period, while limiting Wise's exposure when markets move sharply.
Wise's pricing promise is the mid-market rate with a transparent fee, and its apps and Wise Platform partners request quotes constantly. The interviewer wants a read-heavy design that is fast and consistent, plus judgement about the financial risk of guaranteeing a rate.
What the Interviewer Expects
- Defines quote, rate snapshot and guarantee period clearly
- Ingests from several liquidity providers, filters outliers and computes a mid rate
- Serves rates from a low-latency cache and persists every quote for audit
- Handles volatility: shorter windows, pausing guarantees, stale-rate detection
- Explains how a quote is honoured later at funding time
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you detect that a provider is feeding a stale or wrong price?
- How would you serve cross rates for exotic pairs with no direct market?
- What do you do with outstanding guaranteed quotes during a flash crash?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: get current mid rate for a pair, create a quote (amount, fee, rate, expiry), fetch a quote by id at funding time. Non-functional: quote creation under ~50 ms p99, rates no older than a few...
High-Level Design
Ingestion: connectors to several liquidity providers publish ticks to Kafka. A rate aggregator (Kafka Streams or Flink) per pair rejects outliers (deviation from median of providers), computes...