A Realtime analytics service based on websockets