-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Describe the bug
SignalR messages sent to the client are processed in order (when sent from the same source to the same clients). This behaviour is observed when hosting signalr yourself. However when Azure SignalR is used then some messages are received out of order when there is a high volume of messages. I couldn't find anything about this in the docs, but according to @davidfowl this should be the case, https://twitter.com/bacobart/status/1557296764100743168.
Expected Behavior
When adding AzureSignalR messages received on the client are in order.
Steps To Reproduce
Reproduction at https://github.com/bacobart/azure-signalr-out-of-order-repro
Without adding .AddAzureSignalR() in the server messages are processed in order as expected. When .AddAzureSignalR() is added some messages are processed out of order.
Exceptions (if any)
none
Further technical details
.net 6.0.400
Microsoft.AspNetCore.SignalR.* are 6.0.8
Microsoft.Azure.SignalR is 1.18.1