figma.com · Free post · Execution, roadmaps & process · Product strategy & vision

Under the hood of Figma’s infrastructure: Here’s what goes into powering a web-based design tool

FigmaNov 20, 20196 min
Sourcefigma.com
KindFree post
PublishedNov 20, 2019
Originalfigma.com ↗
N:

Figma's infrastructure director explains how the company evolved its backend systems to support a web-based design tool that matches desktop performance while enabling real-time multiplayer collaboration. As Figma scaled from early-stage startup to enterprise adoption (Microsoft, Uber), the simple single-database architecture began straining under load. The post details four major infrastructure initiatives: reducing preloaded data to cut latency, horizontally scaling the database, deploying globally for international users, and building LiveGraph, a real-time schema-based system inspired by GraphQL to simplify feature development.

01Key takeaways

  • Simple, operationally intensive architectures work early but require thoughtful redesign as scale and complexity grow.
  • Infrastructure decisions ripple across the entire product; scaling requires cross-team collaboration, not just backend work.
  • Global distribution of users demands strategic datacenter placement and edge infrastructure, not just centralized scaling.
  • Invest in abstraction layers (like LiveGraph) that reduce per-feature engineering overhead and accelerate feature velocity.
  • Prioritize ruthlessly: finite engineering resources mean choosing which systems to rebuild versus optimize incrementally.

02Key sections

The challenge: Web-based performance at scale
Figma prioritizes speed and stability to keep the tool responsive as designers work. The infrastructure team must prove web applications can match desktop performance while supporting multiplayer collaboration on complex files with large data payloads.
Early architecture limits
Figma's initial backend loaded all shared design components upfront, which worked for small teams but strained as organizations accumulated 10,000+ design elements. The single-database approach, while simple and effective early on, reached its scaling limits.
Speeding up interaction latencies
The team is redesigning client-server interactions so clients request data only as needed rather than preloading everything. This requires cross-team collaboration to rethink the user experience alongside backend optimization.
Scaling the database horizontally
Figma's surprising single-database-instance architecture must evolve to horizontal scaling. This complex project requires rethinking implications across all dependent systems and services.
Global performance and LiveGraph
With 80%+ users outside the US, Figma is deploying remote proxies and multiplayer instances closer to users. LiveGraph, a real-time schema-based database inspired by GraphQL, will let developers build responsive features without custom backend-frontend systems for each feature.
“Designers spend hours each day in the tool painstakingly creating new worlds. The tool becomes an extension of their mind.”Samir Goel · figma.com
“Most people don't believe a web-based application can be as fast as a desktop one and it's our job to prove them wrong.”Samir Goel · figma.com

03Frameworks mentioned

Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.