Design a Note-Taking App (Evernote-like)

Hard45 min
1 / 30
System design answer

Design a Note-Taking App (Evernote-like)

Hard45 min30 sections
understanding•9 min read

Problem Statement: A Local-First Knowledge Store, Not a CRUD App

Frames the product as a sync-and-durability system where the device is a first-class replica, not a thin client.

Problem statement

Design a cross-platform note-taking app where users create rich-text notes with images, audio, and PDF attachments, organize them into notebooks and tags, edit offline on any device, and see every change appear on every other device. Notes must be searchable by keyword in milliseconds, and text inside images and scanned PDFs must become searchable through OCR.

The trap is to draw a CRUD web app: browser, REST API, Postgres, S3. That design fails the three requirements that actually define this product. First, offline editing is not an edge case; a note app that loses typing when a tunnel kills the network is unusable, so every device must hold a writable local replica with a durable change journal. Second, sync must converge: the same note edited on a phone in airplane mode and on a laptop in a cafe must produce one agreed result on both, with no silent loss. Third, search is a product feature, not an afterthought: users with 20,000 notes and 3,000 attached receipts expect sub-second keyword hits and hits inside photographed documents.

Why this problem is distinctive

A note is small but precious. Unlike a social feed post, a note library is a decade-long personal archive: legal documents, medical records, meeting minutes, password hints. The system therefore optimizes for durability and convergence over raw throughput. Writes are modest in volume but must never be dropped; reads are bursty at app open; attachments dominate bytes while note text dominates value. The design splits accordingly: a transactional spine for note metadata and versions, an append-only revision log for recovery, a content-addressed blob store for attachments, and an eventually consistent search plane rebuilt from the durable spine.

Public evidence shows the category operates at large scale with exactly these properties. Evernote, launched in 2008, has publicly reported more than 225 million registered users and tens of billions of stored notes, and it documents a sync protocol driven by per-user update sequence numbers and Lucene-based full-text search, plus OCR search of images and PDFs introduced around 2011 as a premium capability. Notion publicly passed 100 million users in 2023 and describes every paragraph, table row, and image as a block stored as a database row, with an engineering blog account of outgrowing a single Postgres instance and sharding it in 2021. Standard Notes publishes an end-to-end encrypted, zero-knowledge architecture using AES-256-GCM, proving encrypted note storage is a shipping product pattern, not a research idea. These anchors are context; every capacity number used later in this answer is an explicitly labeled design assumption.

The four architectural planes

  1. Device plane: local SQLite replica, rich-text editor state, offline change journal, attachment staging, and a sync engine with checkpoints and backoff.
  2. Sync and truth plane: per-user monotonic change sequence, note aggregate ownership, conflict detection and resolution, revision history, and attachment manifests.
  3. Discovery plane: full-text index, OCR extraction pipeline, tag and notebook facets, relevance ranking, and index rebuilds.
  4. Governance plane: identity, plans and quotas, encryption key policy, audit, retention, and compliance exports.

A strong answer keeps the planes separate: the discovery plane may lag seconds behind the truth plane, the truth plane may queue during a region outage, but the device plane must never lose a keystroke and must never apply a remote change it cannot persist locally.

Key Highlights

  • •Every device is a writable replica with a durable journal; the cloud is the convergence authority, not the only writer.
  • •Note text is small and precious; attachments dominate bytes; search dominates product perception.
  • •Model note durability as an invariant and sync freshness as an eventually progressing workflow.
  • •Four planes: device, sync-and-truth, discovery, governance.
  • •Public figures from Evernote, Notion, and Standard Notes provide context; all uncited scale in this answer is an explicit assumption.
Lead With the Local Replica
State in the first two minutes that every device holds a writable copy with a durable journal and that sync is a convergence protocol, not a file upload. That instantly separates a note-taking architecture from a generic web app.
Do Not Draw a CRUD Toy
A design where typing goes straight to a REST API and the database is the only copy loses data in tunnels and elevators, and it cannot answer offline search. Reviewers reject it quickly.

Section Rescue Kit

Buzzwords to use:

Local-FirstConvergence

Safe statements:

  • "I will separate note durability, which must never fail, from search freshness, which may lag a few seconds."
  • "Before choosing databases, let me define which writes happen on-device, which need the cloud, and which need human review."
Design a Note-Taking App (Evernote-like) - System Design | WinJob | WinJob