communication What is the difference between MQTT and Web Sockets, and when should I use them? Internet of Things Stack Exchange

Now obviously creating new TCP connection for every request is not very performant and HTTP has not been unaware of this. In fact, as part of HTTP/1.1, persistent connections were introduced to alleviate this shortcoming of HTTP. In case of WebSocket, the client initiates a Protocol Handshake request in...

Read more...