Lovableยท
How we moved our frontend off Firestore and built Lovable Realtime
TL;DR
Direct browser access to Firestore risked exposing unintended fields, duplicated permission logic, and made cross-database features difficult. Lovable built a Go-based realtime service using WebSockets, NATS, and database change feeds to send backend-controlled views and recheck access whenever relevant data or permissions change, while keeping Firestore and Spanner. It rolled out to every user without a user-facing incident and now handles peaks above 2 million concurrent subscriptions and around 2.6 billion update frames per month.
Relevant links
Sign in to save links