SignalR,
a framework that facilitate asynchronous data transfer between the server and the clients in real time.
Basically,
SignalR isolates us from low-level details, giving us the impression
of working on a permanently open persistent connection. To achieve
this, SignalR includes components specific to both ends of
communication, which will facilitate message delivery and reception
in real time between the two.
In
a way that is transparent to the developer, SignalR is in charge of
determining which is the best technique available both at the client
and at the server( Long Polling, Forever Frame, Websockets...) and
uses it to create a underlying connection and keep it continuously
managing disconnections and reconnections when necessary. We will
only see and use permanently open connection, and SignalR will make
sure that everything works correctly in the backstage. Thus, with
this framework, we say that we work on a virtual persistent
connection.
SignalR
also includes a messaging bus capable of managing data transmission
and reception between the server and the clients connected to the
service. That is, server is able to keep track of its clients and
detect their connections and disconnections, and it will also have
mechanisms to easily send messages to all clients connected or part
of them, automatically managing all issues concerning communications (different speeds, latency, errors … ) and ensuring
the delivery of messages.
No comments:
Post a Comment