Going realtime with Ember
summary
Nomad’s web UI becomes live by implementing long polling with monotonic index over the existing HTTP API, built in ~three months using Ember Data adapter overrides, a watch-list service to track indices, custom reloadRelationship and stale-record removal logic, and ember-concurrency tasks for cancellable polling loops. Browser connection limits force explicit XHR cancellation and abort-error handling. The result is globally updating pages (deployed in the Nomad UI repo via an open PR) and a tested, working realtime layer.
AI-written summary · about
chapters (10)
- 0:00Introduction to Nomad UI
- 1:56Live demo of real-time views
- 3:43Long polling architecture
- 5:53Managing code complexity
- 8:32Implementing the data layer
- 11:45Ember service integration
- 14:47Relationships and data removal
- 19:29Refactoring and abstractions
- 22:52Handling browser limitations
- 29:39Conclusion and open source
related talks
19mBuilding Real-Time Applications with Ember
31mEmber on Rails: #REALTALK
37mThe road to Ember-Data 1.0
22mUsing Ember to Make the Seemingly Impossible Easy
25mThe Great Migration, Redesigning and Rewriting our App in Ember.js
22mUsing Ember to Make the Seemingly Impossible Easy
45mThe Future of Data in Ember
32mYou're Building a Distributed System!
