数据存储和主机存储之间的区别? [英] Difference between Data Storage and Hosting Storage?

查看:169
本文介绍了数据存储和主机存储之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firebase中,定价与定价"免费的Hacker Plan计划",它说我们有"100MB数据存储"和"1GB主机存储",但是数据和主机存储之间到底有什么区别?

In the Firebase 'Pricing & Plans' for the free Hacker Plan, it says we have "100MB Data Storage" and "1GB Hosting Storage" but what exactly is the difference between data and hosting storage?

通过扩展,计划说明中也提到了数据传输和主机传输之间的区别吗?

By extension, is there a difference between Data and Host transfers which are also mentioned in the plan description?

推荐答案

Firebase是一个在线JSON数据库,可实时同步更改.您存储在该JSON数据库中的任何数据均计入该数据存储限制.写入或读取JSON数据库的任何数据均计入数据传输限制.

Firebase is an online JSON database that synchronizes changes in realtime. Any data you store in that JSON database, counts against that data storage limit. Any data written to or read from the JSON database, counts against the data transfer limit.

Firebase还提供了一个托管解决方案,您可以在其中存储静态资源,例如HTML,JavaScript和CSS. Firebase托管服务器上存储的所有文件均计入托管存储限制.每当这些文件被更新或提供给访问者时,都将计入托管传输限制.

Firebase also offers a hosting solution, where you can store static resources, such as HTML, JavaScript and CSS. Any files stored on Firebase's hosting servers, count against the hosting storage limit. Any time those files are updated or served to a visitor, counts against the hosting transfer limit.

通过将静态文件放在Firebase托管上,您可以构建整个动态Web应用程序,而无需您自己的服务器.

By putting static files on Firebase hosting, you can build an entire dynamic web application, without requiring your own server.

请参阅有关Firebase JavaScript API的文档,该文档是您用于访问数据存储的API;以及 Firebase托管的功能,这就是您用于

See the documentation on Firebase's JavaScript API, which is the API you'd use to access the data storage; and the features of Firebase's hosting, which is what you'd use to update the hosted files.

这篇关于数据存储和主机存储之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆