I suspect you got my question wrong, I'll try better to rephrase & elaborate more regarding our janus use-case
Our WebRTC signalling flow:
browser requests to either publish or subscribe to a janus media server through our custom signalling server
Our signalling server is connected to each browser via websocket, and signals (sends reguests to the janus media server) via REST
important to add that we migrated from a blocking i/o , thread per connection (thread per proxy socket connection) to a non blocking i/o signalling server
Iv'e added that since in the past we used to establish the signalling dialog with the client and the browser via websocket (through our signalling server)
Now once we redesigned the blocking i/o server, we prefer to use REST for the signalling issue.
So my question is:
Will there be any consequence from the janus media server when sending it REST posts /gets instead of websocket per each client?
I witnessed that janus media server on a C5xLarge AWS virtual machine can hold up a max limit of 800 peer connections.
Since the dialog that is required to establish a webrtc connection with a browser and janus is considerably short,
I assume REST should be the better option, instead of opening and closing a websocket per each client just for a simple negotiation like this (create: sessionId, handleId, plugin request, plugin configure)