Page MenuHomePhabricator

Update EventLogging URL on iOS and Android apps
Closed, ResolvedPublic

Description

The URL endpoint for EventLogging on bits is being deprecated as part of T95448: Move bits traffic to text/mobile clusters.

The iOS and Android apps should replace references to //bits.wikimedia.org/event.gif?... with //upload.wikimedia.org/beacon/event?....

Event Timeline

ori raised the priority of this task from to High.
ori updated the task description. (Show Details)
ori added projects: Mobile, Mobile-Apps.
ori subscribed.

I'm not especially fond of hardcoding the "upload" domain for EL. It's fine if it lives on the upload Varnishes (for now), but URL-wise it's sort of an abuse.

Going to the text-lb domain should be fine, right? Alternatively, we could set up a separate hostname for EL (beacon.wikimedia.org?) and if it stayed on the same IP as upload it would still benefit from SPDY — but unfortunately, we'd still pay the cost of a DNS lookup.

Change 208315 had a related patch set uploaded (by Yuvipanda):
Prepare for death of bits.wikimedia.org

https://gerrit.wikimedia.org/r/208315

Going to the text-lb domain should be fine, right? Alternatively, we could set up a separate hostname for EL (beacon.wikimedia.org?) and if it stayed on the same IP as upload it would still benefit from SPDY — but unfortunately, we'd still pay the cost of a DNS lookup.

Yeah, agreed. It should be meta.wikimedia.org. Rationale:

  • This allows us to confine /beacon/* VCL (and log forwarders) to text caches.
  • Meta's purpose is to serve as a place for things that are not wiki specific. (For example, global and user CSS / JS).
  • Meta already houses the EventLogging schema namespace and is already used by EventLogging's backend for that purpose.

Change 208315 merged by jenkins-bot:
Prepare for death of bits.wikimedia.org

https://gerrit.wikimedia.org/r/208315

Dbrant claimed this task.