Streaming over the web with modern Ruby

December 13, 2024 36 min Free

Description

This session will explore streaming data over the web with modern Ruby. We’ll take a look at the new Rack 3 streaming interface and the state of Ruby HTTP client support for Server-Sent Events (SSE) and WebSockets over HTTP/2, and soon, HTTP/3. Then we’ll dive into practical code examples and demonstrate how to use Rack 3 streaming directly and how to leverage WebSockets and SSE with Roda to stream hypertext to the browser with HTMX representing the application state.

This session will provide foundational definitions along with practical insights and examples, showcasing how Ruby library advancements can be applied in real-world applications.