So I've been going through Azure Signal R Service for blazor apps and I've noticed they have their pricing according to units as well. The free version allows up to one unit where as the standard version has up to 100 units. I'm currently clueless as to what a "Unit" is, with this regard so it would be nice if someone would be kind enough to give a brief explanation on this. P.s: I am relatively new to Blazor however I have experience with .Net Core & Asp.Net Mvc .
A unit是处理 SignalR 消息的子实例。单位用于提高性能和连接数。
An instance是您需要首先创建才能使用 SignalR 的内容。
这样思考:假设您有一个不足以处理网络流量的网络服务器。您可以再添加两台服务器来平衡流量的负载。这会提高您的环境可以处理的性能和请求数量。在此示例中,环境是一个实例。每个服务器都是一个单元。在添加新服务器之前,您有 1 个实例,并且该实例中有 1 个单元。添加新服务器后,您有 1 个实例,该实例中有 3 个单元。
SignalR 定价
- 在免费计划中,您只能使用 1 个设备,该设备最多可处理 20 个并发连接
- In STANDARD plan, you can use 100 units. Each unit can handle 1,000 concurrent connections
(Please note the difference: The unit in FREE plan supports maximum 20 connections while a unit in STANDARD plan supports 1,000 connections. In terms of pricing, FREE plan unit and STANDARD plan unit are not the same)
Source: SignalR 单元和实例有什么区别? SignalR 定价如何运作? https://port135.com/2020/07/01/what-is-the-difference-between-signalr-unit-and-instance-how-signalr-pricing-works/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)