Design In-Play Bet Placement With Odds Changes

Last updated: November 29, 2026

Quick Overview

Design the bet placement path for a live sportsbook where odds change many times a minute during a game: accept or reject a bet against the current price, honor the bettor's odds-change preference, debit the wallet exactly once, and apply risk limits, all within a tight latency budget.

Fanatics
System Design
Software Engineer
Fanatics
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the bet placement path for a live sportsbook where odds change many times a minute during a game: accept or reject a bet against the current price, honor the bettor's odds-change preference, debit the wallet exactly once, and apply risk limits, all within a tight latency budget.

Fanatics Betting & Gaming built its sportsbook in-house, and in-play betting is where latency, correctness and risk management collide. The interviewer checks money correctness (no double debits, no accepted bet at a stale price) and how you separate the hot pricing feed from the transactional path.

What the Interviewer Expects
  • Clear bet lifecycle states and where each transition happens
  • Price validation against a versioned market snapshot
  • Odds-change acceptance policy (exact, better only, any)
  • Wallet debit and bet record committed atomically or via a saga
  • Risk and liability checks without a global lock
  • Suspension handling when a market is closed mid-request
Key Topics to Cover
Low-latency services
Optimistic concurrency
Wallet ledger
Risk management
Event streaming
Idempotency
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you implement a short in-play acceptance delay without blocking threads?
  • A goal is scored while 5,000 bets are in flight. What happens to each?
  • How do you enforce per-state regulatory rules and geolocation on this path?
  • How would you settle and void bets if the data provider corrects a result?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: bettor submits selection, stake, the odds they saw and a preference; system returns accepted (with final odds), rejected, or price changed. Non-functional: p99 decision under about 1 secon...

High-Level Design

Odds feed (from trading models and data providers) publishes market updates with a monotonically increasing version to a stream; a pricing cache in every placement node holds the latest version per ma...


Submit Your Answer
Markdown supported

Related Questions