Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Browser-Based Graphics Editor

Design the browser and backend architecture for editing layered graphics with low-latency interactions and durable saves.

Problem statement

For this exercise, assume you are designing a browser-based graphics editor for layered documents. A user opens a document, selects, moves, resizes, and restyles layers, imports image assets, and expects edits to remain responsive while changes are saved durably.

Focus on client/server boundaries, document state, rendering, persistence, and recovery. Real-time multi-user collaboration and plugin execution are out of scope.

What to build

  1. A signed-in user can open an existing layered document and see its latest accepted state.
  2. A user can create, delete, reorder, move, resize, and update properties of layers with immediate visual feedback.
  3. A user can upload image assets, reference them from layers, and reopen the document without embedding large binaries in document metadata.
  4. Edits are autosaved, retry safely across transient failures, and recover after a refresh without silently losing an accepted change.

At scale

  • For this exercise, assume a document can contain 10,000 layer records and reference up to 200 MB of binary assets.
  • For this exercise, assume ordinary pointer-to-pixel feedback should fit within one animation frame, about 16 ms, while a durable autosave acknowledgement should normally arrive within 2 seconds.
  • For this exercise, assume a durable autosave acknowledgement means the accepted edit survives a service-instance failure and is not silently lost.