Page MenuHomePhabricator

ORES extremely slow when to return when asking for multiple scores.
Open, Needs TriagePublic

Description

My popular ArticleQuality gadget is failing because requests like this are regularly taking more than 30 seconds. Original ORES would usually respond within a second or two.

E.g. https://ores.wikimedia.org/v3/scores/enwiki?format=json&revids=1177236409%7C1176212519%7C1173143824%7C1172966198%7C1171253611%7C1170887657%7C1170709417%7C1168164806%7C1168147234%7C1166243199&models=articlequality

It also appears there might not be any caching in place because re-loading a page where these scores are used does not result in improved performance.

Event Timeline

Hi @Halfak, we don't have caching set up like before in ORES, it is something that we are still thinking about.

Ores Legacy does multiple parallel calls behind the scenes, it may happen that when the models are slow in computing feature extraction or the score itself the whole batch is delayed. We are probably going to work on improving performances this quarter.