Today, we build website with an API and a front with JavaScript. To fetch data from API, we usually use XHR request. But, it is slow because of overhead of HTTP. THere is an other way to share information: WebSocket. It is lightweight and faster than XHR.