Dear /(Wom|M)anly/ Monks,
I recently used Mojolicious and AJAX to create a GUI for a Perl system I use; it works wonderfully, and launches the process. Now I need some general strategy guidance: the process can take hours, sometimes a full day. I built it so that from the command line it prints progress as it goes ("Processed 1 million ... processed 2 million..."). What strategy and technologies can I use to provide a feedback function for the web app? I assume this will require multiple threads, something I have no knowledge about in Perl (and, from what I've heard, they can be scary).
I don't think a progress bar will be ideal; instead a status page would be better, simply stating progress so far, and perhaps average speed (all things I printed to the console before the web GUI). But I'm not sure where to start for an approach to this task.