Deferred work for Rails on Windows?

I am starting to develop a site using Rails 3.x, and I need to run several tasks in parallel. Now I am locked in Windows.

I was able to do the delayed work (collectidea) using "rake jobs: work", but it looks like it runs jobs 1 at a time. I tried to run "ruby script \ delayed_job", but on Windows there is no "fork".

Can delayed_job run in parallel under Win? Do I have other options besides delayed_job?

Thanks.

+6
source share
1 answer

To run multiple employees, I recommend running several team requests (or the like) and propagating the worker in each window. In addition, you can create it as a process in the same CMD shell and just call several processes.

Installing as a process is not so difficult, but I do not have a window to check how to do this.

+3
source

Source: https://habr.com/ru/post/901366/


All Articles