Last post Feb 02, 2016 04:55 AM by Fei Han - MSFT
Feb 01, 2016 09:57 PM|Nikita Shah|LINK
I’m looking for some guidance on if it is best to host my signalr hub on the web role or worker role.
We’ll need to pass a message in Step 4 (above) from the worker role to web role to tell the signalr hub on the web role to send the tickle to all the clients
This can be done via either
a) using a queue that the web role polls to pick up the sync message
b) having a signalr client in the worker role that pushes messages to the signalr hub via the client invoking a method on the hub
The worker role will host a signalr hub and we’ll have clients connect to the signalr hub on the worker role and the hub on the worker role will directly call the clients to send them the tickle.
Feb 02, 2016 04:55 AM|Fei Han - MSFT|LINK
Your main problem is choosing Azure web role or worker role to host SignalR Hub, so you could ask for help on Azure forums.
And this blog compare the differences between Web and Worker Roles, you could check it.