I would like to know what is my alternative for the next problem in a window other than a window that will work with ruby ββon the rails web application.
The scenario is this:
The user activates a deep web crawl of the site, which can take about 15 minutes. I can use ajax to refresh a webpage as often with the results as they happen. I want to send the user a message about the results when the work is completed.
The problem is that I want to move the work of writing the results to the database and send a message to the user from the process so that the user can close the browser and exit.
If I did this on Windows, I would use msmq (message queue) to send the job to a Windows service that will complete the job.
How do I make it from rubies on rails and are there any gems that you would recommend?
I can also upgrade to JRuby, so this can also be considered.
source
share