Design Notion (Block-based Workspace & Knowledge Base) - Frontend System Design Interview Guide

Hard

Design a production-ready block-based workspace that supports nested pages, structured databases, real-time multi-user editing, rich block composition, and offline capabilities.

Difficulty Note: This is one of the most challenging frontend system design problems (Hard+). It combines tree-structured document modeling, database-style views over the same content, real-time synchronization, and complex permission inheritance.

Key Challenges:

  • Block-based document tree with arbitrary nesting depth
  • Multiple views (table/board/calendar/gallery) over the same database blocks
  • Real-time synchronization across users and devices
  • Conflict resolution when users edit the same block or reorder siblings
  • Permission inheritance through the page tree (workspace -> page -> block)
  • Offline editing and reconnect-time merge
  • Performance with very large pages and 10k+ row databases

Real-World Complexity:

This is one of the most challenging frontend system design problems because it involves:

  • Tree CRDTs / block-level operational semantics for moves and reparenting
  • Polymorphic block schemas with extensible properties
  • Database query/sort/filter executed on the client over partial cached data
  • WebSocket management with reconnection and delta catch-up
  • Distributed permission resolution at frontend scale
Asked In
Unlock with Pro

Full system design walkthrough

Get the complete interview-ready solution with requirements, architecture, data model, API contracts, tradeoffs, scaling notes, and evaluation signals.

Unlock with Pro