R-Store: A Scalable Distributed System for Supporting Real-time Analytics