Node Web App
An as close to realtime as possible results/events monitoring service. The results were being written at high speed to files on the server.
Skills & Technologies
Once a client has authenticated with the server and setup the socket connection they indicate via a message on the socket which results files they wished to see events from.
Assuming the files were not already being monitored by the service, it opens the files on the server using the node “tail” package which monitors the files for events and alert us when new lines appear. We then push these lines down the socket(s) monitoring them.