加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

Firebase:实时数据库和文件存储之间的差异

发布时间:2020-12-12 16:38:32 所属栏目:MsSql教程 来源:网络整理
导读:我从这篇文章 Difference between Data Storage and Hosting Storage?中了解到实时数据存储和托管存储 但是我仍然不清楚实时数据库和新引入的文件存储. 有人有一些简短的解释吗? 提前致谢 . (根据与Difference between Data Storage and Hosting Storage?重
我从这篇文章 Difference between Data Storage and Hosting Storage?中了解到实时数据存储和托管存储

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

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

提前致谢 .

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

解决方法

Firebase现在提供这些地方存储您的数据:

> Realtime Database
> Remote Config
> Hosting
> Storage

存储数据的最佳位置取决于要存储的数据类型和要使用的方式.

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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读