I've been reading about SignalR for the past few days and I've basically realized that one of its key features is to maintain a persistent connection of the server to the possible clients by accessing the server. Basically, it allows us to create Hubs and then allow several clients (which can be both Web and .NET applications) to connect to these Hubs and there is a kind of continuous connection.
I've been working with web programming since 2009 and this is quite different from the traditional approach using stateless HTTP. In these cases everything is based on requisitions and answers. The client makes a request, the request is processed in a pipeline on the server, the server returns a response and when the response arrives on the client the connection to the server is over. Even in single page applications the logic is this, except that the server starts serving a RESTful API.
Being accustomed to this approach I can not see what the utilities are, the real cases of using a persistent connection. This seems to be a very useful thing, but in what cases is this really relevant and does it make sense to use?
I always see the same example of chat, which has several clients connected and they need to receive messages from others in real time. Okay, it's a valid example, but the only use case for this kind of technology is to send messages from the server to the client without relying on the client p>