
Talk Python To Me #537: Datastar: Modern web dev, simplified
51 snips
Feb 21, 2026 Chris May, a Django developer and advocate who demos Datastar apps. Ben Croker, core maintainer focused on SDKs and docs. Delaney Gillilan, creator with a background in game and performance engineering. They discuss a tiny backend-driven framework that replaces HTMX+Alpine, server-sent-events for real-time streaming, multiplayer collaborative state, ultra-low-latency performance, and the design/philosophy behind Datastar.
AI Snips
Chapters
Transcript
Episode notes
Avoid Polling, Use Push Updates
- Prefer push over polling to reduce bandwidth and latency; send updates only when relevant events occur.
- Use built-in SSE features (compression, streaming) and avoid naive polling to cut resource use dramatically.
Real-Time DB Monitor On A Potato Server
- The DB monitor example updates a grid of databases dozens of times a second on a cheap server.
- Ben and Delaney use microsecond-level backend updates to show Datastar's real-time capability on low-cost hardware.
Multiplayer By Server-First Updates
- Datastar supports real-time multiplayer by routing changes through the server so all clients stay consistent.
- Actions go to the server and the server simultaneously updates all connected clients rather than relying on optimistic local-only updates.
