Rx API in depth: Hot and Cold observables

Sign in to queue

Description

In this episode of the Rx API in depth, Wes talks talks about hot and cold Observables.

Visit the Reactive Extensions DevLabs page to download and learn more about Rx.

Embed

Download

Download this episode

The Discussion

  • User profile image
    tomkirbygre​en

    I'm amazed there don't appear to be any so-called early-access / alpha books on Rx coming from Manning or APress. At least they're not listed yet. I'd really like to find something longer than 'just' a couple of blog postings that really digs into specifically Rx and reactive programming in general in .NET. These videos are great and I'm very grateful they're being make available, however for study purposes nothing beats the one-to-one, deep dive that the printed word delivers. Does anyone know when we might see a Rx book?

  • User profile image
    head.in.the.​box

    That is one of my new year's resolutions. 

  • User profile image
    Bjorg

    I'm curious, what is the origin of the terms "hot" and "cold?"  Were other terms considered like "static" vs. "dynamic," or "immutable" vs. "mutable?"

  • User profile image
    Wes Dyer

    Hot = Running

    Cold = Not Running

     

    Static/Dynamic would be misleading.  Immutable/Mutable is also misleading.  Perhaps, the closest terms are Deferred / Not-Deferred or Latent / Active.

     

    The terms Hot and Cold came from whiteboarding and design sessions where we needed a term to describe the difference between something that running versus something that represents a thing that can be run.  We definitely didn't sit down and figure out a vocabulary, these things just happen.  I'm sure that at some point in time people will think about standard terminology, but we usually can't wait for that to happen.

  • User profile image
    LeeCampbell

    As Wes mentioned above, I like to think of them as 

    Hot = Active

    Cold = Passive.

     

    I think we can do better than the explanation JVG gives here.

  • User profile image
    LeeCampbell

    Ok instead of being part of the problem I thought I would put my 2c in. Angel

     

    Here is my post on Hot vs Cold Observables.

     

    http://leecampbell.blogspot.com/2010/08/rx-part-7-hot-and-cold-observables.html

     

  • User profile image
    ghd

    This is a very nice site.I like it very much!

Add Your 2 Cents