What is a Signal in ASP.NET SignalR?

I've heard that Damian Edwards, co-author of SignalR, often uses the term signal when talking about SignalR. What exactly does this mean? Does this refer to connection or hub in SignalR terms?

I understand that a publisher can publish a signal, and whoever subscribes to this signal receives this message. This makes sense for broadcast or group messages, but what about messages intended for individual users? In this case, each user subscribes to a different signal?

The configuration parameter - DefaultMessageBufferSize - an integer indicating the size of the message buffer for a specific signal (connection, group, users, etc.). The default is 1000.

  • From SignalR documentation

So, does this mean that this message buffer is maintained for each individual user?

+3


source to share


1 answer


This is how the configuration setting works DefaultMessageBufferSize

: it sets in memory every message sent behind the hub to connect. SignalR saves 1000 messages by default.



+1


source







All Articles