与Firebase实时数据库定价模型相关的困惑 [英] Confusion related to firebase realtime database pricing model

查看:163
本文介绍了与Firebase实时数据库定价模型相关的困惑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算为一个项目使用firebase。用例场景是这样的,可能会出现与实时数据库同时连接超过100的情况(有时可能是一个月的5到6次) - 免费计划的限制。

引用他们的定价常见问题 -


如果我超过Spark或Flame计划存储或下载

$ b

为了给您提供一个可预测的价格,Spark和Flame计划中
可用的资源将被封顶。这意味着当您
超过任何月份的任何计划限制时,您的应用程序将被关闭到
,以防止任何进一步的资源使用和额外费用。







如果我超过
实时数据库的Spark计划同时连接限制,会发生什么情况?



每月都会测量一次使用情况,如果您的应用因为使用情况而在给定的
月份内被禁用,则会自动在下一个
开始重新启用所以我的问题是 - 比如说'T'我的应用程序超过了100个同时连接到实时数据库的'n' '用户。这是否意味着 -
$ b $ 1)我的应用程序将在本月的其余时间被关闭,并且不会有更多的连接到实时数据库月?

或者

2)前100个活动连接将会工作,而'n'个用户试图连接100个标记后将无法连接,直到从第100个连接断开一个? 解决方案

您的应用程序不会如果超过了限制,将被暂停或关闭。



当您有100个用户连接到您的实时数据库时,数据库停止接受新的连接。但是,一旦现有的用户断开连接,数据库将再次接受新连接,同时连接的数量将永远不会超过100个。

您的项目到付费计划,连接限制立即提出。


I am planning to use firebase for a project. The use case scenario is such that there might be situations (sometimes - may be 5 to 6 times in a month) that the simultaneous connections to 'Realtime Database' exceed 100 - the limit for the free plan.

Quoting from their pricing faq -

What happens if I exceed Spark or Flame plan storage or download limits for Realtime Database?

To provide you with a predictable price, the resources available to you in the Spark and Flame plans are capped. This means that when you exceed any plan limit in any month, your app will be turned off to prevent any further resource usage and additional charges.


What happens if I exceed Spark plan simultaneous connection limits for Realtime Database?

Usage is measured monthly, and if your app is disabled in a given month because of usage, it is automatically re-enabled at the beginning of the next month.

So my question is - say at a time 'T' my app exceeds 100 simultaneous connections to the Realtime Database by 'n' users. Will this mean that -

1) My application will be shut down for the rest of the month and no further connections to the real-time database will be possible for that entire month?

OR

2) The first 100 active connections will work and the 'n' users trying to connect after the 100-mark will not be able to connect until some one from the first 100 disconnects?

解决方案

Your application will not get suspended or shut down if you exceed the limit.

When you have 100 users connected to your real time database, the database stops accepting new connections. But as soon as one of the existing user disconnects, the database will accept the new connection again in this process the number of simultaneous connections will never exceed 100.

When you upgrade your project to a paid plan, the connection limit is immediately raised.

这篇关于与Firebase实时数据库定价模型相关的困惑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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