Accessibility, Web UI & UXAccessibility, Web UI & UX
Tools-in-Action25min
BEGINNER

A Practical Introduction to WebSockets

This talk recounts a developer’s first experience replacing inefficient polling with WebSockets to deliver real-time job completion updates in an admin console. It explains WebSocket fundamentals, differences from HTTP, and implementation details, offering practical insights for anyone curious to apply WebSockets in simple, real-world scenarios.

talk.summaryAiDisclaimer

Giovanna Monti
Giovanna MontiAdelean
talks.description
For a long time, WebSockets was one of those terms I kept hearing but never really had the chance to experiment with. It sounded complicated, a bit mysterious, and probably only meant for people building huge real-time systems.

Then I happened to need a quite simple thing. I was working on an admin console for search engine configuration, where users can launch indexing jobs that take a while to complete, and the UI needed a way to notify them when a job was finished.
At first I did the classic thing: polling. The front end kept asking the server every few seconds if the job was done yet.
It worked, but it wasn’t the most elegant solution, and the UX wasn't so great... So I decided to try WebSockets.

In this talk I’ll walk through that first experience: how I replaced polling with a WebSocket connection that listens for a “job finished” event and updates the UI instantly. Along the way we’ll cover the basics of how WebSockets work, what changes compared to normal HTTP requests, and what the implementation actually looks like in a real project.

If you’ve heard about WebSockets but never had a good excuse to use them, this talk might give you one!
realtime
implementation
websockets
polling
talks.speakers
Giovanna Monti

Giovanna Monti

Adelean

France

I'm a product-minded developer with a strong passion for front-end and UX design. I love sharing thoughts and experiences with the tech community, and that's why I started my speaker journey in 2023.