Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
The future is real time! With the Rails 4.0 Live Streaming API we finally have the ability to easily add real time functionality to our apps. Learn all about the live streaming API, how best to take advantage of this in the browser, and how to deploy a real-time ready Rails app. Get ready to open your apps to a whole new world of interaction and functionality. Topics we will cover: * Live Streaming API * EventMachine vs Rails 4.0 * Node.js vs Rails 4.0 * Polling vs Live Streaming * Websockets & Rails 4.0 * Puma Help us caption & translate this video! http://amara.org/v/FGb4/
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the RailsConf 2013 presentation titled "Real-Time Rails," Brian Cardarella discusses integrating real-time functionality into Rails applications with the introduction of the Rails 4.0 Live Streaming API. The talk highlights the importance of real-time features in modern web applications and compares the advantages of using Rails with pivotal technologies such as Node.js and EventMachine. Cardarella provides a brief history of the evolution of software technologies to illustrate how complacency in established frameworks can lead to innovative opportunities for newcomers like Node.js. Key points addressed in the talk include: - **The Evolution of Technology**: A light-hearted history of how major players such as IBM, Microsoft, Java, Rails, and Node have competed and evolved. - **Real-Time Functionality**: The discussion centers around how Node.js has outpaced Rails in real-time features, emphasizing the importance of handling concurrent requests effectively. - **Concurrency in Rails**: By adopting web servers like Puma, Rails 4 can handle multiple requests more efficiently. Advanced Rails developers must understand threading, deadlocks, and race conditions. - **WebSockets and Server-Sent Events**: Cardarella covers the implementation of WebSockets for two-way communication and Server-Sent Events (SSE) for one-way communication, demonstrating how these can be set up using Action Controller Live in Rails. - **Practical Examples**: He provides demonstrations of real-time chat and drawing applications, showcasing how events are captured and processed. Moreover, libraries like TubeSock simplify WebSocket handling in Rails. - **Challenges and Future of Real-Time Rails**: The presentation discusses the limitations of current infrastructure, like Heroku's support for WebSockets, and highlights the need for API advancements. The conclusion emphasizes that as developers adopt these real-time capabilities in Rails, they will find it possible to build highly responsive applications, thereby enriching user experiences and opening the door to innovative development in future iterations of Rails. Overall, Cardarella inspires developers to explore and embrace the real-time capabilities with the evolving Rails framework.
Suggest modifications
Cancel