The Science Behind Qstream