Azure SignalR服务限制 [英] Azure SignalR Service Limitations

查看:71
本文介绍了Azure SignalR服务限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个带有后端的实时应用程序,它将通过SignalR服务提供更新。

目前我们正在使用SignalR Service Rest API从我们的后端发送更新到客户。



关于限制的问题是:


如果我们向Rest API发送一条消息至1000人。

- 这是1条信息还是1000条信息?


如果我们向没有接收者的Rest API发送一条消息:

- 这是否仍被视为消息?


它在您的限制网页上说:

'标准等级每单位每天的连接数'是1000

- 这听起来像1000人一样今天已连接服务已达到配额?

$
'标准等级每单位每天包含的消息'1.000.000标准 

- 达到此限制时会发生什么? Rest API有什么回应以及我们如何处理这种情况?
b


'标准等级'1000标准&
$每天每单位连接数b $ b'标准等级'100标准的每个实例的SignalR服务单位(我们的情况是因地区而为50)

- 我们一次只能连接50到10万人吗?


另外:


- 什么算作一个连接?



参考:

https://github.com/MicrosoftDocs/azure-docs/blob/master/includes /signalr-service-limits.md

如果此限制已过时,请通知我们。

解决方案

< strong style ="border:0px; font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; margin:0px; outline:0px; padding:0px; color:#333333; font -size:14px">


如果我们向Rest API发送一条消息,发送给1000人。



- 它是单个连接,内部有1000条消息



如果我们向Rest API发送一条没有接收器的消息:



- 是的,这是一个连接



每天每单位的连接数为1000,你可以拥有50-100个单位每个实例(标准计划)。



是的,您可以同时连接50-100万人。



SignalR连接是指客户端和服务器URL之间的逻辑关系,由SignalR API维护,并由连接ID唯一标识。



听起来更像你需要通知中心而不是SignalR - https://azure.microsoft.com/en-gb/services/notification-hubs/





$



We have a real time application with a backend that will deliver updates via SignalR Service.
At the moment we're using the SignalR Service Rest API to deliver updates from our backend to clients.

The question about the limits is:

If we send one message to Rest API that is delivered to 1000 people.
- Is this counted as 1 message or as 1000 messages?

If we send one message to Rest API that will have no receivers:
- Is this still counted as a message?

It says on your limitation web pages that:
'Connections per unit per day for Standard tier' is 1000
- This sounds like that once 1000 people have connected today the service has reached is quota?

'Included messages per unit per day for Standard tier' 1.000.000 for Standard 
- What happens when this limit is reached? What does the Rest API respond with and how could we handle this scenario?

'Connections per unit per day for Standard tier' 1000 Standard &
'SignalR service units per instance for Standard tier' 100 Standard (our case it's 50 due to region)
- Can we only have 50 - 100 thousand people connected at once?

Also:

- What counts as one connection?

Reference:
https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/signalr-service-limits.md
If this limit is outdated please notify us.

解决方案

If we send one message to Rest API that is delivered to 1000 people.

- It is a single connection and inside that there are 1000 messages

If we send one message to Rest API that will have no receivers:

- Yes, it is a connection

Connections per unit per day is 1000 and you can have 50-100 units per instance (standard plan).

Yes you can have 50-100 thousand people connected at once.

SignalR connection refers to a logical relationship between a client and a server URL, maintained by the SignalR API and uniquely identified by a connection ID.

It sounds more like you need Notification Hubs rather than SignalR - https://azure.microsoft.com/en-gb/services/notification-hubs/





这篇关于Azure SignalR服务限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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