超出 Firebase 实时数据库限制
Firebase Realtime Database Limit Exceed
我想知道当超过 Firebase 实时数据库的限制时会发生什么。问题是我知道我可以拥有的最大连接数仅为 100。现在,假设我的 android 应用程序有 1,000 个活跃用户并且我实施了实时数据库。然后前 100 个用户将连接到数据库。我想知道用户号 101 会发生什么,我怎么知道连接不成功,是否有任何异常抛出或某些函数 isSuccessful()。如何在我的应用程序中处理此类事情。
我已经看到了:
我想知道如何告诉应用程序它没有连接以及当任何用户断开连接时,我是否需要再次 运行 init 语句以及何时?
提前致谢:)
来自 Firebase 开发者here
There is no current way to detect this programmatically. An error
message will be asynchronously thrown in the developer console when
the 51st connection is made.
但是这个 post 是 2014 年的,所以可能已经改变了。
我想知道当超过 Firebase 实时数据库的限制时会发生什么。问题是我知道我可以拥有的最大连接数仅为 100。现在,假设我的 android 应用程序有 1,000 个活跃用户并且我实施了实时数据库。然后前 100 个用户将连接到数据库。我想知道用户号 101 会发生什么,我怎么知道连接不成功,是否有任何异常抛出或某些函数 isSuccessful()。如何在我的应用程序中处理此类事情。
我已经看到了:
我想知道如何告诉应用程序它没有连接以及当任何用户断开连接时,我是否需要再次 运行 init 语句以及何时?
提前致谢:)
来自 Firebase 开发者here
There is no current way to detect this programmatically. An error message will be asynchronously thrown in the developer console when the 51st connection is made.
但是这个 post 是 2014 年的,所以可能已经改变了。