gpt4 book ai didi

火力地堡 : Differences between realtime database and file storage

转载 作者:行者123 更新时间:2023-12-02 12:43:46 24 4
gpt4 key购买 nike

我从这篇文章中了解了实时数据存储和托管存储Difference between Data Storage and Hosting Storage?

但是我仍然不清楚实时数据库和新引入的文件存储。

有人对此有一些简短的解释吗?

提前致谢。

(根据与 Difference between Data Storage and Hosting Storage? 重复的问题,问题解决的问题和我要问的是两个不同的事情,并且在 google firebase 的情况下,托管存储和文件存储是不同的)

最佳答案

Firebase 现在提供以下位置来存储您的数据:

存储数据的最佳位置取决于您想要存储的数据类型以及您想要使用数据的方式。

Firebase documentation对此是这样说的:

  • The Firebase Realtime Database stores JSON application data, like game state or chat messages, and synchronizes changes instantly across all connected devices.

  • Firebase Remote Config stores developer-specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.

  • Firebase Hosting hosts the HTML, CSS, and JavaScript for your website as well as other developer-provided assets like graphics, fonts, and icons.

  • Firebase Storage stores files such as images, videos, and audio as well as other user-generated content.

在 Cloud Firestore 和 Firebase 实时数据库之间进行选择时,Firebase documentation says :

Firebase offers two cloud-based, client-accessible database solutions that support realtime data syncing:

Realtime Database is Firebase's original database. It's an efficient, low-latency solution for mobile apps that require synced states across clients in realtime.

Cloud Firestore is Firebase's new flagship database for mobile app development. It improves on the successes of the Realtime Database with a new, more intuitive data model. Cloud Firestore also features richer, faster queries and scales better than the Realtime Database.

关于火力地堡 : Differences between realtime database and file storage,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37482907/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com