The Ember.js Run Loop

Rizwan Reza became interested in the Ember.js run loop because he didn’t understand it. He describes his initial encounters with it as “kind of a black box.” Even then, though, he recognized that it was significant engineering feat on the part of Ember Core, so he decided to investigate further.

His questions centered around “why the Ember.js run loop helps apps to be more performant” and “how it does it.” How do the internals work? How do the coordinating of different events happen?

There are many reasons the run loop exists, but Rizwan’s talk focuses on these three (what he describes as the main) benefits:

  • Coalescing
  • Modularity
  • Performance

This is talk is all about demystifying the Ember.js run loop. We talk about what it is, how it processes tasks into different queues, and some of the design decisions that guided its creation.

Additional Resources from ProTech:

Published April 29, 2015