Design the Robux Ledger Behind Developer Exchange Payouts
Last updated: November 29, 2026
Quick Overview
Design the ledger that records every Robux movement (purchases, item sales, marketplace fees, creator earnings) and supports Developer Exchange, where eligible creators cash out earned Robux for real money, with exact balances and auditability.
Roblox
November 29, 20260
0
0 solved
Design the ledger that records every Robux movement (purchases, item sales, marketplace fees, creator earnings) and supports Developer Exchange, where eligible creators cash out earned Robux for real money, with exact balances and auditability.
Economy and payments interviews at Roblox center on a virtual currency that maps to real money for creators, so correctness and auditability dominate. The interviewer checks double-entry modeling, idempotent writes, the hold period on earnings, hot accounts, and reconciliation with the external payout provider.
What the Interviewer Expects
- Use double-entry bookkeeping with immutable entries
- Make every write idempotent with a client-supplied key
- Model pending versus available Robux (escrow and hold periods)
- Handle hot accounts such as a top creator or the platform fee account
- Reconcile Developer Exchange payouts with the external payment processor
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 would you reverse a fraudulent purchase after the creator already cashed out?
- How do you compute a balance quickly without summing millions of entries?
- How do you shard the ledger while keeping a transfer atomic?
- What audit and compliance reports must this produce?
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: record purchases of Robux with real money, in-experience purchases and item sales between users and creators, the platform's marketplace fee, refunds and chargebacks, and DevEx cash-out re...
High-Level Design
- Transaction API accepts a business event with an idempotency key.
- Ledger service turns it into balanced journal entries (debits equal credits) and commits them in one database transaction....