I am very new to UM and am trying to integrate UM in our application. I have implemented the basic functionality of UM within our application - however am not sure if that is the best way.
Our application is a .Net Core web application which serves multiple users. The requirement is such that when a User performs a certain action, another application is called which performs an action and sends a message to UM. Our application is subscribed to these messages and we update our front-end browser with the latest data arriving from the other application.
Now, I have the below queries
- I am ending up creating 1 connection per User to the UM realm. Is that correct? This would mean that the number of connections to the Server will be equal to the number of Users. Not sure if that is ideal
- Ours is a web application. Hence there are chances that the application is kept open by the User on the browser. This would mean that the User’s “connection” to the realm is “Open”. What is the best way to handle this? We would not want any connections to be un-necessarily open.