我从这篇文章
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.
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|