ARTICLE AD BOX
I'm trying to set up a worker to perform jobs created by my backend server. I took at look at Redis Queue and came across this example from their page:
from my_module import count_words_at_url result = q.enqueue(count_words_at_url, 'http://nvie.com')If I'm understanding that correctly, my server needs to have access to the worker code (i.e., my_module). Is that correct? I'm hoping not as my worker code has a bunch of dependencies that are irrelevant to my server. I'd like to separate the server and worker as much as possible.
Is this doable?
