Il 03/10/2014 22:31, Legoktm ha scritto:
On 9/30/14 10:00 AM, Andra Waagmeester wrote:
Would it be accepted if we increase the
throughput by running multiple
instances of ProteinBoxBot in parallel. If so, what would be an accepted
number of parallel instances of a bot to run? We can run multiple
instances from different geographical locations if necessary.
<https://www.mediawiki.org/wiki/API:Etiquette> recommends that you don't
make parallel requests. But if you're just going to run another instance
of your bot I doubt it would cause any problems.
Could you provide a link to your source code (I didn't see a link on the
bot's userpage)? IIRC, you might be using pywikibot, but I don't
remember exactly. Myself and other pywikibot developers can help you
optimize your code :)
-- Legoktm
I suppose the latest version is
https://bitbucket.org/chinmay26/proteinboxbot/.
Pywikibot recently introduced a very simple way of manipulating items
and sending back the changes via wbeditentity.
If the whole Gene Wiki Project codebase were hosted on
gerrit.wikimedia.org, more people could help ;-)