Page MenuHomePhabricator

Use the service proxy in restbase
Closed, ResolvedPublic

Description

We want restbase to use the same proxy as mediawiki to call other services. While it could look like a counterintutive thing to do, this allows us to gather more metrics, add tracing natively, add advanced circuit breaking/retry logic for each backend.

We also want to exploit the ability of the services proxy to establish long-lived, TLS 1.3 connections with its backends, generally improving performance.

Event Timeline

we will have to add some more refinement to the service proxy - specifically we don't need to install all of the remote cluster handlers everywhere, but just limit ourselves to the ones we actually need locally.

Change 609152 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/puppet@production] restbase: install the service proxy along with the tls termination

https://gerrit.wikimedia.org/r/c/operations/puppet/ /609152

Change 609154 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/puppet@production] restbase: switch to using get_url

https://gerrit.wikimedia.org/r/c/operations/puppet/ /609154

Change 609155 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/puppet@production] restbase: use the services proxy for everything but parsoid-php

https://gerrit.wikimedia.org/r/c/operations/puppet/ /609155

Change 609152 merged by Giuseppe Lavagetto:
[operations/puppet@production] restbase: install the service proxy along with the tls termination

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

Change 609154 merged by Giuseppe Lavagetto:
[operations/puppet@production] restbase: switch to using get_url

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

Change 609155 merged by Giuseppe Lavagetto:
[operations/puppet@production] restbase: use the services proxy for everything but parsoid-php

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

Change 610256 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/puppet@production] restbase: add new service-proxy endpoints

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

Change 610257 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/puppet@production] restbase: use envoy for contacting MediaWiki, parsoid

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

Change 610256 merged by Giuseppe Lavagetto:
[operations/puppet@production] restbase: add new service-proxy endpoints

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

Change 610257 merged by Giuseppe Lavagetto:
[operations/puppet@production] restbase: use envoy for contacting MediaWiki, parsoid

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

Joe triaged this task as High priority.