PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Jane Street

Validate order book data across multiple databases

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competency in designing data-validation and reconciliation systems for financial order books, including defining invariants, ensuring cross-database consistency, and handling edge cases like partial fills, cancels, out-of-order events, duplicates, and replayed messages.

  • easy
  • Jane Street
  • System Design
  • Software Engineer

Validate order book data across multiple databases

Company: Jane Street

Role: Software Engineer

Category: System Design

Difficulty: easy

Interview Round: Onsite

Assume your organization stores order book–related data in multiple databases (e.g., one for raw exchange messages, one for normalized orders, one for trades/executions, one for analytics). You suspect data quality issues and want to validate that **all stored data follows order-book logic**. Design a validation approach that answers: 1. What **invariants** must always hold for orders, executions, and the resulting order book? 2. How do you validate **within one database** (table-level constraints, batch checks)? 3. How do you validate **across databases** (reconciliation) when they may be eventually consistent? 4. How do you handle edge cases: partial fills, cancels, replaces, out-of-order events, duplicates, and reconnect replays? Be explicit about what you would compute and compare, and how you’d operationalize it (alerts, dashboards, backfills).

Quick Answer: This question evaluates a candidate's competency in designing data-validation and reconciliation systems for financial order books, including defining invariants, ensuring cross-database consistency, and handling edge cases like partial fills, cancels, out-of-order events, duplicates, and replayed messages.

Related Interview Questions

  • Design exchange–trading system message flow - Jane Street (easy)
  • Implement compiler for custom language - Jane Street (hard)
  • Design and implement a tiny language runtime - Jane Street (hard)
Jane Street logo
Jane Street
Dec 15, 2025, 12:00 AM
Software Engineer
Onsite
System Design
22
0

Assume your organization stores order book–related data in multiple databases (e.g., one for raw exchange messages, one for normalized orders, one for trades/executions, one for analytics).

You suspect data quality issues and want to validate that all stored data follows order-book logic.

Design a validation approach that answers:

  1. What invariants must always hold for orders, executions, and the resulting order book?
  2. How do you validate within one database (table-level constraints, batch checks)?
  3. How do you validate across databases (reconciliation) when they may be eventually consistent?
  4. How do you handle edge cases: partial fills, cancels, replaces, out-of-order events, duplicates, and reconnect replays?

Be explicit about what you would compute and compare, and how you’d operationalize it (alerts, dashboards, backfills).

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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