Smalyshev added a comment.

Why is an internal service (wdqs) querying a public endpoint?

It needs to load Wikidata data, and I don't know any other way to do it.

It should probably use private internal endpoints like appservers.svc or api.svc, but there may be arguments about desirability of [Varnish] caching.

It doesn't need varnish. If you point me to the docs of how to do it better, I can switch the URLs.

Why is it using webproxy to access it?

It seems to work the same with or without proxy (unless there's a config by puppet that sets the proxy by default?) but my understanding was production hosts need proxy to talk to the web. I've enabled proxy because in the past I had issues reaching www.wikidata.org from production without proxy.


TASK DETAIL
https://phabricator.wikimedia.org/T199146

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Mahir256, Jonas, Aklapper, BBlack, Gehel, Smalyshev, AndyTan, Davinaclare77, Qtn1293, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, EBjune, merbst, LawExplorer, Zppix, Xmlizer, Wong128hk, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to