How we moved our frontend off Firestore and built Lovable Realtime
To eliminate frontend dependencies on Firestore and improve authorization controls, the author built Lovable Realtime, a dedicated WebSocket service written in Go and backed by NATS. The architecture uses change data capture, server-side data shaping, hash-based deduplication, and reactive data sources to handle millions of concurrent subscriptions while reducing payload volume significantly. The rollout was completed without user-facing incidents, allowing the backend to centrally manage permissions and payloads. Open article →