Design an Intraday Risk Aggregation Service for Aladdin

Last updated: November 29, 2026

Quick Overview

Design a service that recomputes portfolio risk measures such as duration, spread duration, factor exposures and VaR for thousands of client portfolios as trades and market data change during the day, with drill-down from firm level to individual positions.

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

0

0

0 solved


Design a service that recomputes portfolio risk measures such as duration, spread duration, factor exposures and VaR for thousands of client portfolios as trades and market data change during the day, with drill-down from firm level to individual positions.

Risk analytics is the heart of Aladdin, used by BlackRock and hundreds of external institutions. A senior system design round would probe how the candidate separates expensive per-security analytics from cheap aggregation, handles multi-tenancy, and keeps numbers consistent with the end-of-day official run.

What the Interviewer Expects
  • Separates per-security analytics from position-weighted aggregation
  • Uses event-driven updates from trades and market data
  • Explains how VaR, which is not additive, is aggregated
  • Designs hierarchical rollups with drill-down
  • Addresses client isolation and data entitlements
  • Plans reconciliation with the end-of-day batch
Key Topics to Cover
event-driven architecture
risk analytics
aggregation hierarchies
multi-tenancy
caching
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 keep a trader's what-if trade from leaking into another user's view?
  • What happens when the factor model is re-estimated mid-day?
  • How would you serve a 20-level drill-down in under a second?
  • How do you backfill after a market data outage?
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: per portfolio and per position measures (market value, duration, DV01, spread duration, key rate durations, factor exposures, VaR), rolled up by any hierarchy (firm, client, strategy, sect...

High-Level Design
  1. Security analytics tier computes per-unit sensitivities for each security (rates, spreads, factor loadings) from terms and curves. This is the expensive part (cash flow modeling, OAS for mortga...

Submit Your Answer
Markdown supported

Related Questions