在Firebase中达到100个并发连接的限制后,何时允许新的连接? [英] When are new connections allowed after limit of 100 concurrent connection is reached in firebase?
问题描述
例如:用户不得不等待一段时间,或者只要一个连接关闭,另一个连接就可以连接。
如果一个现有的连接消失,下一个连接将被允许。
所以如果你有一个聊天应用程序,在聊天室中有100个活跃用户,下一个用户将无法加入,并且Firebase客户端在尝试时将引发错误(LIMIT_EXCEEDED)。如果其中一个活跃用户离开(断开,关闭他们的浏览器选项卡等),下一个用户将被允许连接。
According to the website they have a limit of 100 concurrent connections in the free plan but when 101th connection tries to connect it is refused, so when the new connections are allowed?
For example : do the users have to wait for certain time period or as soon as one connection is closed ,the other is given the chance to connect.
If one of the existing connections disappears, the next incoming connection will be allowed.
So if you have a chat application and there are 100 active users in the chat room, the next user won't be able to join and the Firebase client will throw an error (LIMIT_EXCEEDED) when they try. If one of the active users leaves (disconnects, closes their browser tab, etc), the next user will be allowed to connect.
这篇关于在Firebase中达到100个并发连接的限制后,何时允许新的连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!