Can I reach a device from any unit using Azure Service SignalR?

Viewed 46

I have a websocket server which handles connection to some devices (from third parties so I don't control their implementation).

My system was working fine with .NET framework on an app service until I figured out that app services have a max outbound IPs of 8000 connections in my case.

I need to move towards a more scalable server which brings me some questions.

My constraints : I need to keep a constant websocket open with the devices and be able to reach them at any time to send them messages (one by one).

I started looking into Azure app service Signal R (or the Web Pub Sub which seems very similar). The code and the pricing seems to fit my needs. Using the upstream feature I could also send custom messages to my devices.

However I don't understand the scaling part, it says each unit can contain 1000 devices.

Following this question : What is a Unit in terms of Azure Signal R Service?

All my devices are going to connect to myapp.com, 5000 of them so divided in 5 units. They are going to send me messages sent to Azure functions for analysis.

But if I decide to send a message to device n° 4300 do I need to know on which Unit it is? Can I reach it if I have several units?

I couldn't find the answer on azure's docs or signalr.

0 Answers
Related