Joe added a comment.

Looking at the attached diagrams, it seems that the flow of a request is as follows:

  • page gets requested to MediaWiki
  • MW sends a request to the rendering service
  • the rendering service sends request(s) to mediawiki via api.php to fetch the data, and sends back the rendered termbox to MediaWiki

wouldn't it be faster, more efficient and less error-prone to modify the workflow as follows:

  • page gets requested to MediaWiki
  • MW collects all the data needed for rendering the termbox, and sends a request to the rendering service
  • The rendering service sends back the HTML to MediaWiki

in this scenario, the termbox SSR becomes a pure lambda-like service that just transforms structured data to HTML.


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

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

To: Joe
Cc: Joe, Matthias_Geisler_WMDE, Jakob_WMDE, Pablo-WMDE, Aklapper, Lydia_Pintscher, Lea_WMDE, Addshore, WMDE-leszek, Legado_Shulgin, Nandana, thifranc, AndyTan, Davinaclare77, Qtn1293, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, LawExplorer, Zppix, _jensen, D3r1ck01, SBisson, Wong128hk, Eevans, mobrovac, Hardikj, Wikidata-bugs, aude, daniel, faidon, Nikerabbit, Mbch331, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to