As a note, I recently attended a presentation at wpcampus, showing how Roy Sivan uses WordPress and firebase to build real-time applications. Here you can see his slides and video of his speech. This is also the topic he discussed in torque. This makes me strongly consider building my own similar system. So far, I have resisted impulse, but who knows.