Lovable Blog· Ata Marzban·· 6 days agoAI score38
How we moved our frontend off Firestore and built Lovable Realtime
How we moved our frontend off Firestore and built Lovable Realtime
AI summary
Lovable built its own WebSocket-based realtime service, Lovable Realtime, to replace browser-side Firestore listeners, letting its Go backend control payload shape and re-evaluate authorization continuously across Firestore and Spanner data. The service handles peaks of over 2 million concurrent subscriptions and delivered about 2.61 billion data and patch frames in a month, with update latency of 66 ms at p50 and 249 ms at p99. The rollout used shadow traffic and a gradual feature-flag ramp to 100% of users without a user-facing incident.
Source: Lovable Blog · lovable.dev