From the source
Lovable built its own realtime service, Lovable Realtime, to move its frontend off direct Firestore listeners and put authorization and payload shaping in its Go backend.
- The company says the browser previously received whole Firestore documents, so adding a database field could expose it, and permissions had to be kept in sync between Firestore rules and the Go API.
- Firestore rules also could only query Firebase data, which blocked authorization updates for large groups such as enterprise SCIM-synced engineering groups whose data lives in Spanner.
- Lovable says it built the core in 40 hands-on working days and rolled it out to every user without a single user-facing incident.
- The service handles peaks of over 2 million concurrent subscriptions and delivers around 2.6 billion data and patch frames per month.
- It is a dedicated WebSocket service with one connection per tab and all subscriptions multiplexed over it, and it works with the existing Firestore and Spanner stores rather than requiring a new primary database.






