akosiaris added a comment.

  In T220402#5177862 <https://phabricator.wikimedia.org/T220402#5177862>, 
@Pablo-WMDE wrote:
  
  > Hi @akosiaris - thanks for getting back to us.
  >
  > > sending a Host: HTTP for the identification of the exact project. Would 
it be possible to add that functionality?
  >
  > It certainly //is// possible and depending on operational needs we 
certainly can make this happen. We quickly discussed this in the team and would 
like to first truly understand the goal to make sure we don't mix up the 
different layers of our proverbial sausage pizza without a valid reason. The 
service would be run in a container inside a k8s pod, controlling its DNS - why 
not use this option to make sure requests reach the intended endpoint? The 
correct host would then come "for free" per the host part configured in 
`WIKIBASE_REPO`.
  
  
  The intended hostname is going to be (as is for all services) 
`appservers.discovery.wmnet`. That is an internal hostname that point to all 
the wiki projects and allows us to do a set of operations easily like switching 
traffic from one datacenter to another. That being said, as you can see, 
nothing specific about a project is coded in that hostname. That's on purpose, 
as we don't have a need - and don't really want - to treat operationally e.g. 
enwiki differently from dewiki. Technically it's just a set of apache 
webservers with many many virtualhosts for all of the hundreds of project we 
have. Hence the need for the `Host: wikidata.org` HTTP header. k8s can't help 
with that.
  
  > FTR: One internal talking point here was that intentionally circumventing 
edge side caching might put additional strain on the infrastructure, increase 
response times - but we assume you have this covered.
  > 
  >> `x-amples` stanza to `/termbox` endpoint
  > 
  > I looked at the change in gerrit 
<https://gerrit.wikimedia.org/r/#/c/wikibase/termbox/+/509391>, please find my 
comment there.
  
  Answered already, thanks for looking into it.
  
  > 
  > 
  >> app does not emit statsd metrics for requests
  > 
  > I will create a story for that => T223202 
<https://phabricator.wikimedia.org/T223202>
  > 
  >> service specific stats
  > 
  > Will be added as we go per the requirements from the technical product 
owner(s)
  > 
  > Thanks
  
  Thanks!

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

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

To: akosiaris
Cc: fsero, mobrovac, Matthias_Geisler_WMDE, Pablo-WMDE, Dzahn, Addshore, 
Tarrow, Lea_WMDE, WMDE-leszek, Jakob_WMDE, Aklapper, akosiaris, darthmon_wmde, 
alaa_wmde, joker88john, Legado_Shulgin, CucyNoiD, Nandana, NebulousIris, 
thifranc, AndyTan, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Davinaclare77, Adrian1985, Qtn1293, Cpaulf30, Lahi, Gq86, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Hfbn0, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Zppix, 
Maathavan, _jensen, rosalieper, Liudvikas, Wong128hk, Eevans, thcipriani, 
Hardikj, Wikidata-bugs, aude, Lydia_Pintscher, dduvall, faidon, 
Jdforrester-WMF, Mbch331, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to