Deactivated User's photo

How does firebase distribute user's DB data across multiple servers to achieve scalability? LevelDB? Or Is it using sharded mysql with some raft/paxos consensus similar to dynamo? Or is it some internal proprietary solution?

Samuel Stern's photo

At a very high level:

  • Cloud Firestore - powered by the same technology that powers Cloud Spanner, which you can read about online if you're interested.
  • Realtime Database - secret Firebase magic sauce, sorry!
Peter Friese's photo

We're using LevelDB on the client side in the iOS SDK