Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
ActionCable for Not-Another-Chat-App-Please by Jesse Wolgamott RealTime updates using WebSockets are so-hot-right-now, and Rails 5 introduces ActionCable to let the server talk to the browser. Usually, this is shown as a Chat application -- but very few services actually use chats. Instead, Rails Apps want to be able to update pages with new inventory information, additional products, progress bars, and the rare notification. How can we make this happen in the real world? How can we handle this for unauthenticated users? How can we deploy this? Help us caption & translate this video! http://amara.org/v/J5Ck/
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 presentation 'Action Cable for Not-Another-Chat-App-Please,' Jesse Wolgamott discusses the capabilities and applications of Action Cable, a feature introduced in Rails 5 that enables real-time updates through WebSockets. The talk highlights the evolution from traditional methods of updating content on the web, such as meta-refreshing and polling, to more dynamic solutions like WebSockets, which allow for two-way communication between the server and clients. Wolgamott frames the discussion by outlining the building blocks of Action Cable, which consist of cables, channels, broadcasting, and subscriptions. Key points include: - **History of Real-time Updates**: The evolution from page refreshes to polling techniques, exemplified by applications like Gmail and Campfire, leading to the introduction of WebSockets. - **Benefits of WebSockets**: WebSockets allow near-instant communication and can significantly enhance user experience by enabling real-time collaboration and updates without page reloads. - **Features of Action Cable**: Wolgamott emphasizes that Action Cable is not a universal solution for all applications but serves to enhance Rails applications with real-time features effectively. - **Real-world Use Cases**: The presentation illustrates how Action Cable can benefit applications beyond chat features. Examples include collaborative tasks in applications like Trello and real-time notifications for asynchronous processes, such as the completion of server-side tasks. - **Deployment Considerations**: The speaker covers deployment strategies, emphasizing the importance of managing connections efficiently, particularly when scaling applications. Using Redis for message synchronization across multiple servers is recommended to prevent message loss. Wolgamott concludes by encouraging developers to explore Action Cable through the available documentation and examples, acknowledging the contributors to this technology and showing enthusiasm for its potential. The talk ultimately underscores the exciting capabilities Action Cable brings to Rails developers aiming to create more interactive and real-time web applications.
Suggest modifications
Cancel