How is your stack wired – WebSockets

Deciding on the communication layer for your API driven projects (4/5)

Michael Gerzabek Michael Gerzabek on Sep 6, 2024

Now I can hear you. Where is the push facade of web protocols?

Well one answer to the increasing need for real-time web applications, such as online gaming, live chats, stock market tickers, and collaborative tools is WebSockets.

In 2008, Ian Hickson, an engineer at Google and one of the primary contributors to the HTML5 standard, proposed WebSockets as part of the HTML5 specification.

The goal was to enable a full-duplex communication channel over a single TCP connection between a client and server, where both can send messages to each other independently of any request/response cycle.

By 2011, the WebSocket protocol (RFC 6455) was standardized by the IETF (Internet Engineering Task Force), while the WebSocket API was standardized by the W3C (World Wide Web Consortium). This marked a major leap forward for enabling real-time communication on the web.

Main advantages offered by WebSockets:

Current Adoption:

Due to its benefits, WebSockets remain a crucial technology for bidirectional, real-time communication in web applications.

With the rise of other real-time communication protocols like Server-Sent Events (SSE) and HTTP/2, the landscape evolved.

Read on tomorrow, where we expand on SSE.

Join the LaravelUi5 Insider List

Get curated updates about LaravelUi5 — product milestones, architectural insights, and upcoming events.

Our newsletter is written for technical decision-makers who want to stay ahead of the curve without being overwhelmed by noise.

We send updates only when something significant happens — releases, webinars, or new SDK capabilities worth your attention.

    We respect your privacy: read our privacy policy.