Firestore可以扩展吗

编程入门 行业动态 更新时间:2024-10-24 18:28:59
本文介绍了Firestore可以扩展吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

新的Firestore服务可以扩展吗? 我知道它是Beta版.我正在寻找Firestore缩放比例的一些实时示例.

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

在以下方面:

  • 数据库事务数.
  • 数据库大小.

也-firebase是否有一些自动缩放策略. Firebase本身可以按以下方式缩放吗?

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

  • 用户数(使用OAuth)

有人有一些Firebase扩展示例并且可以共享.

Does anyone have some Firebase scaling example and could share.

推荐答案

firebaser此处

Cloud Firestore的主要文档页面上的第一行:

使用我们灵活的,可扩展的NoSQL云数据库来存储和同步数据,以进行客户端和服务器端开发.

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

关键功能中的位置较低:

A bit lower in key capabilities:

可按比例缩放

Cloud Firestore为您带来了Google Cloud Platform强大的基础架构的最佳功能:自动多区域数据复制,强大的一致性保证,原子批处理操作以及真实的事务支持.我们将Cloud Firestore设计为可以处理来自世界上最大的应用程序中最艰巨的数据库工作负载.

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.

这告诉您创建Cloud Firestore的人们认为可伸缩性是其主要功能之一.假设这些人都是使用Google Cloud Platform许多功能的人,我倾向于相信他们在这方面. :-)

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:

  • Cloud Firestore与Firebase实时数据库?

可扩展的设计-Cloud Firestore将比实时数据库更好地扩展.重要的是要注意您的查询扩展到您的结果集的大小,而不是您的数据集的大小.因此,无论您的数据集有多大,搜索都将保持快速.

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.

  • 查询根据您的结果集的大小而不是数据集的大小进行缩放
    • Queries scale with the size of your result set, not the size of your data set
    • 请记住,Cloud Firestore仍处于beta版,并且比Firebase的实时数据库要慢(但扩展性更好):

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

      • Firestore获取数据时性能下降的问题

更多推荐

Firestore可以扩展吗

本文发布于:2023-07-16 23:01:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1126837.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Firestore

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!