I’m developing the backend server for a turn based game using App Harbor and thus far it seems perfectly suited to my needs. I would really like to run a background process to process turn data etc and I was wondering if someone could clarify what the difference between ‘Web workers’ and ‘Background workers’ are? I have fairly limited experiance with web development, but as far as I can tell ‘Web workers’ are for interacting with AJAX pages (which I don’t need) and ‘Background workers’ allow you to run a console application in the background (which I do need!)
Thanks!
Web workers is connected with the request from browser and can get and send data to the request on browser.
Background Workers are independent threads that are not connected with any request and can not send data to the browser alone*.
[*] Only through a web worker.