[Wikitech-l] API data push/pull guidelines

2013-02-02 Thread Small M
Hello,

There is a lack of guidelines regarding the rate at the mediawiki API may be 
used.

Specifically for the enwiki and commons api (if it doesn't matter, please say 
so):

For bots:

Are simultaneous uploads permitted? E.g. uploading 3 20MB files simultaneously 
to the commons on a 1Gbit/s line. What is the max rate permitted?

I was recommended at https://bugzilla.wikimedia.org/show_bug.cgi?id=44584 to 
post to this mailing list.

-Small


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] API data push/pull guidelines

2013-02-02 Thread Petr Onderka
There is a page about the etiquette of using the API. [1]

In short, your bot should ideally make requests in a series (not
multiple requests in parallel)
and use maxlag=5.

But the bug you referred to already includes this link,
and I don't think there are better guidelines.

[1]: http://www.mediawiki.org/wiki/API:Etiquette

Petr Onderka
[[en:User:Svick]]

On Sat, Feb 2, 2013 at 8:07 PM, Small M smallma...@yahoo.com wrote:
 Hello,

 There is a lack of guidelines regarding the rate at the mediawiki API may be 
 used.

 Specifically for the enwiki and commons api (if it doesn't matter, please say 
 so):

 For bots:

 Are simultaneous uploads permitted? E.g. uploading 3 20MB files 
 simultaneously to the commons on a 1Gbit/s line. What is the max rate 
 permitted?

 I was recommended at https://bugzilla.wikimedia.org/show_bug.cgi?id=44584 to 
 post to this mailing list.

 -Small


 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l