Closed yashha closed 8 years ago
Should we run only one instance of d4 and d5 or it doesn't matter?
At the moment I get often:
[crawler/mobile][WARN] Too Many Requests - Retry ...
@CavidSalahov
@jonny3576
Mannnnn... I don't know... :D I love multicore, don't get me wrong, but I think for the twitter things you would need something like as many twitter keys as cores you run the thing on... Sooooo 16 cores = 16x2 twitter keys :D :D
What you could do is the following, very interesting actually:
I guess you would need to take care of understanding which worker died in that case, so that you respawn the right one.
Yes D5 always runs in the background. And I think this depends on your infrastructure, if you have to run them on several cores, but it is not inevitable needed, as far as I understood D5. @sacdallago's suggestion sounds reasonable. Maybe you think of using two Twitter accounts (request limit blablabla). So D4 and D5 do not interfere with each other.
Sorry @yashha . The idea was really good, the code also, but this needs some more thought :) Future work, future work
Closes #51