Skip to content
0:00 / 0:00

#rxjs#reactiveextensions#observables

Netflix JavaScript Talks - Async JavaScript with Reactive Extensions

Matt Marenghi

330 subscribers • 1 video on Hallway

YouTube
  • Recommended by 5 people: 5 on Hacker News.
  • Presented by Jafar Husain, Technical Lead at Netflix
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

69K views12 years ago5 recommendations

Web developmentSoftware designJavaScriptFunctional programmingWeb performance

Jafar Husain explains how Netflix uses Reactive Extensions and Observables to build responsive, event-driven, and resilient user experiences.

Netflix JavaScript Talks - Episode 1 Async JavaScript with Reactive Extensions In this talk, you'll learn how Netflix uses the Reactive Extensions (Rx) library to build responsive user experiences that strive to be event-driven, scalable and resilient. Learn the power of the Observable and how we've simplified our lives through the ability to filter, aggregate, compose and project data streams. Join us while we discuss how Netflix uses Rx to: - Declaratively build complex events out of simple events (ex. drag and drop) - Coordinate and sequence multiple Ajax requests - Reactively update the UI in response to data changes - Eliminate memory leaks caused by neglecting to unsubscribe from events - Gracefully propagate and handle asynchronous exceptions

Why it's here

5 people recommend this

What people say. Recommended as an excellent, mind-changing introduction to reactive programming and Observables.

film42on Hacker News • Recommends

On “Asynchronous JavaScript at Netflix”

The conf talk on youtube by Matt Marenghi linked in the post is really awesome. Provides great examples and resources. Really worth 28-min. Direct Link: link to this video

sktrdieon Hacker News • Recommends

On “Async and Await”

…ams of events, and you work with these events using chains of .map(), .filter(), .reduce(), etc. you'll grasp the true power of this paradigm and how well it fits async and/or concurrent apps. I suggest anybody that doesn't quite swallow the await syntax, to have a look at this presentation about Observables at Netflix as it's quite mind changing: link to this video…

shaydocon Hacker News • Recommends

On “Erik Meijer: Duality and the End of Reactive [video]”

i thought it was a good presentation, however, I recently watched a Netflix one, published by Matt Marenghi, which to me was infinitely better. I think the description of events as just another collection, albeit a time based collection flow was nicer ( Observable === Collection + Time ), and also that this collection must have the ability to tell you that it has terminated. link to this video

mattpodwysockion Hacker News • Recommends

On “An Introduction to Reactive Programming”

It's not a fad at all, with Netflix and other companies using Rx in all flavors on their platforms. See this video from Jafar Husain, a tech lead at Netflix, talk about how they use RxJS at Netflix: link to this video

mattpodwysockion Hacker News • Recommends

On “An Introduction to Reactive Programming”

Why not try watching the video from Jafar Husain, a tech lead from Netflix, talk about Async JavaScript at Netflix which uses RxJS to explain these concepts? link to this video

srikuon Hacker News • Recommends

On “My Golang UI package: lessons learned about threading and plans for the future”

Yes I meant what "Reactive Extensions" does. Should've been clearer that it was a reference to "functional reactive programming" and not a specific library. edit: "Async Javascript at Netflix" is a great talk on this - link to this video

jouberton Hacker News • Mentions

On “Ask HN: Who is hiring? (April 2014)”

…ox360, Apple TV, Chromecast, Roku, and hundreds of Smart TVs and Blu-ray players. You can read more about our flagship UI here: link And here are some articles/videos where we've talked about our technical work: * Building the New Netflix Experience for TV link * WebKit in Your Living Room link * Recent Reactive JavaScript programming event: link to this video * Building the Netflix UI for WiiU link Message me if you want to know more.…

staltzon Hacker News • Mentions

On “Pseudosynchronous JavaScript”

With RxJS, you can compose with existing Promise-based libraries, solve asynchronous programming (and error handling) in an elegant fashion with code that looks like simple linear chains (or DAGs) of Observables, and you don't need to give up non-blocking JS. link to this video

RobertKeranson Hacker News • Mentions

On “Mostly Adequate Guide to Functional Programming in JavaScript”

I assume you use SQL or similar? It's not exactly Haskell-level functional, but still, you're probably already using functional paradigms. In the case of JS, using functional techniques simplifies the code quite substantially. Testing becomes easier. Immutable data can be much easier to reason about. It's often orthogonal to OOP, functional techniques in the small, OOP to structure in the large. FRP is very useful for interactions front-end (form validation for example), but also is just all-round terrific for message passing. Recursion is ideal for certain scenarios. If you take something like handling errors, an example would be the way promises deal with them, with the ability to collect…