Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Better WebSockets - Server-Sent Events, a Carefree Alternative

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Server-Sent Events as a carefree alternative to WebSockets in this EuroPython 2019 conference talk. Discover the inner workings, key differences, and implementation techniques for Server-Sent Events in Python. Learn how to handle real-time communication challenges such as disconnections, reconnections, and scaling. Gain insights into use cases, including push notifications and games, and understand the advantages of Server-Sent Events over WebSockets and long polling. Dive into practical examples using frameworks like TurboGears and Flask, and explore browser support and available libraries for seamless integration.

Syllabus

Intro
About Andrei
Travel to Italy
Agenda
Have you used WebSockets
ServerSent Events
Polling
Long polling
WebSockets
ServerSentEvents
Event Source API
Event Handlers
TurboGears
Flask
Data package
Custom event listener
Redirect
Coverage
Browser support
Libraries
Differences
Unfortunate place
Comment
Use cases
Push notifications
Games
Links
ServerSent Events vs LongPolling

Taught by

EuroPython Conference

Reviews

Start your review of Better WebSockets - Server-Sent Events, a Carefree Alternative

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.