Applying Analytics in Real-Time