A scalable realtime framework