Discussion:
[Wikidata] Slow response and incomplete result for RecentChange API in wikidata.org
Wenjie Song
6 years ago
Permalink
Dear WikiMedia,
...
But we've found that this API become very slow recently, the response time
of one API request is between 15s ~ 25s.

Sometimes the API returns an empty recent change list:
[image: SHgNOsVRJPz.png]
Other times the length of the response recent change list is always between
35~37, even if we set the rclimit parameter to 500.

Is there any changes related to www.wikidata.org recently?

Sincerely,
Wenjie
--
Best Regards,
Wenjie
Thomas Arrow
6 years ago
Permalink
Hi,

Thanks for the report!

We've just opened a ticket about this:
https://phabricator.wikimedia.org/T209459#4745495 where you can follow
along for updates.

You'll see that the problem appears to be related to the `oresscores`
parameter. If you omit this then you get a timely response.

Best,
Tom
Lydia Pintscher
6 years ago
Permalink
...
Hi Wenjie,

Can you please check and let us know if you are still experiencing the
problem?


Cheers
Lydia
--
Lydia Pintscher - http://about.me/lydia.pintscher
Product Manager for Wikidata

Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 Nz. Als gemeinnÃŒtzig anerkannt durch das Finanzamt fÃŒr
Körperschaften I Berlin, Steuernummer 27/029/42207.
Stas Malyshev
6 years ago
Permalink
Hi!
Post by Lydia Pintscher
Can you please check and let us know if you are still experiencing the
problem? 
We have a task https://phabricator.wikimedia.org/T202764 which I suspect
describes the same issue. It is still open, and even though WDQS is
running on Kafka in production and thus is not affected by it, I see it
every time I run it on Labs (where Kafka stream is not available). So I
think the issues with RC API on wikidata are still alive.

There's also a parallel issue of
https://phabricator.wikimedia.org/T207718 with RDF fetching, which also
still happens.
--
Stas Malyshev
***@wikimedia.org
Amir Sarabadani
6 years ago
Permalink
Also given that it uses oresscores, we recently fixed some performance
issues caused by it. Do you still have issues with it?

Best
...
--
Amir Sarabadani
Software Engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
http://wikimedia.de

Stellen Sie sich eine Welt vor, in der jeder Mensch an der Menge allen
Wissens frei teilhaben kann. Helfen Sie uns dabei!
http://spenden.wikimedia.de/

Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnÃŒtzig anerkannt durch das Finanzamt fÃŒr
Körperschaften I Berlin, Steuernummer 27/029/42207.
Stas Malyshev
6 years ago
Permalink
Hi!
Post by Amir Sarabadani
Also given that it uses oresscores, we recently fixed some performance
issues caused by it. Do you still have issues with it?
Yes, the issues I have listed still happen. My API calls do not use
ORES. E.g. see:
https://logstash.wikimedia.org/goto/63db4ce68fb5da3cdc7828150de10c59
--
Stas Malyshev
***@wikimedia.org
Loading...