View on GitHub

reading-notes

Message Queues

It means the sockets can receive and send data, that is helpful when you are trying to make a system that needs to send data as also as receive it.

 

Only at the first request, afterwards no, because HTTP takes too much time and effort for it to be used for realtime apps.

 

It gets sent to the specified socket.

 

It gets sent to the specified socket.

 

Depends if it’s using TCP or UDP, if it’s using TCP then that gets sorted out between the client and the server until it’s received or it times out. In UDP the operation just keeps going since UDP doesn’t check with the client for missed events.

 

By writing code that takes into account probably exceptions.

Go back to table of contents