-
I have one main server, which runs Scrapy via Cronicle. I added a worker without Scrapy, but this is not going to work. My question is a bit vague, because I have no idea what to look for. How do I allow main server to execute Scrapy on workers? If I install Scrapy on the worker, then I have to specify the Worker in Events. This defeats the purpose of having Cronicle in the first place, which is allowing it to divide the load as it sees fit among workers. I also read this, not sure if that's the way to go: #720 (comment) Any direction where I'm supposed to look is welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm having trouble understanding your problem.
You will need to preinstall "Scrapy" on all your worker servers. Cronicle cannot do this for you.
To load balance between multiple worker servers, create a Server Group that targets ALL of your worker servers. You can do this by entering a hostname match pattern. Then, when configuring your event, target the server GROUP, not an individual server. You can then select a load balancing algorithm: Good luck. |
Beta Was this translation helpful? Give feedback.
I'm having trouble understanding your problem.
You will need to preinstall "Scrapy" on all your worker servers. Cronicle cannot do this for you.
To load balance between multiple worker servers, create a Server Group that targets ALL of your worker servers. You can do this by entering a hostname match pattern.
Then, when configuring your event, target the server GROUP, not an individual server. You can then select a load balancing algorithm:
Good luck.