Improving performance in the layers panel
Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.
Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.
FigCache is a stateless Go proxy that speaks the Redis RESP wire protocol.
Figma rebuilt LiveGraph, its real-time GraphQL-like subscription service over Postgres, to scale reads and database update load 100x as the database moved from one instance to vertical and horizontal shards.
Four Figma outages over June 6–7, 2022 were caused by Engine CPU saturation on a Cluster-Mode Enabled AWS ElastiCache Redis node, triggered by Pub/Sub traffic flowing over the Redis Cluster Bus.