Can Firestore Scale

2019-04-11 17:11发布

Can the new Firestore service scale? I know it's in beta. I'm looking for some live examples of Firestore Scaling.

In terms of:

  • Number of database transactions.
  • Size of database.

Also - Does firebase have some auto scaling policy. Can Firebase itself scales in terms of:

  • Number of users (using the OAuth)

Does anyone have some Firebase scaling example and could share.

1条回答
等我变得足够好
2楼-- · 2019-04-11 17:45

firebaser here

The first line on the main documentation page for Cloud Firestore:

Use our flexible, scalable NoSQL cloud database to store and sync data for client- and server-side development.

A bit lower in key capabilities:

Designed to scale

Cloud Firestore brings you the best of Google Cloud Platform's powerful infrastructure: automatic multi-region data replication, strong consistency guarantees, atomic batch operations, and real transaction support. We've designed Cloud Firestore to handle the toughest database workloads from the world's biggest apps.

That tells you that the folks that created Cloud Firestore thinks that scalability is one of its key features. Give that these are the same folks that worked on many of Google Cloud Platform's features, I tend to believe them on that front. :-)

There were also some earlier questions that may be relevant:

Designed to Scale -- Cloud Firestore will be able to scale better than the Realtime Database. It's important to note that your queries scale to the size of your result set, not your data set. So searching will remain fast no matter how large your data set might become.

Just keep in mind that Cloud Firestore is still in beta and will be slower (but scale better) than Firebase's realtime database:

查看更多
登录 后发表回答