A real-time analytics system