Page MenuHomePhabricator

hewiki: Use backing node service instead of RESTBase on pregeneration changeprop rules
Closed, ResolvedPublic

Description

Currently PCS is served behind RESTBase which does all the heavylifting storing responses in Cassandra.
As part of the restbase sunset we want PCS to handle its own state. For safety reasons let's keep traffic to RESTBase as it is in case we want to rollback and at the same time send traffic from changeprop to the backing service.

Event Timeline

Jgiannelos renamed this task from Use backing node service instead of RESTBase on pregeneration changeprop rules to ptwiki: Use backing node service instead of RESTBase on pregeneration changeprop rules.

Change #1064013 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] changeprop: Enable PCS pregeneration without restbase

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

@Seddon informed me that ptwiki is used for some experiments so it not might be the best idea to use this for testing the new stack without restbase.

Jgiannelos renamed this task from ptwiki: Use backing node service instead of RESTBase on pregeneration changeprop rules to hewiki: Use backing node service instead of RESTBase on pregeneration changeprop rules.Sep 16 2024, 1:35 PM

After a discussion with @Seddon it looks like hewiki is a good alternative.

Change #1064013 merged by jenkins-bot:

[operations/deployment-charts@master] changeprop: Enable PCS pregeneration without restbase

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

Change #1082430 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] changeprop: Fix broken identation caused by trailing whitespace trim

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

Change #1082430 merged by jenkins-bot:

[operations/deployment-charts@master] changeprop: Fix broken identation caused by trailing whitespace trim

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

Change #1082450 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] changeprop: Configure PCS URI to be the discovery name of the service

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

Change #1082473 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] pcs: Configure prometheus metrics

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

Change #1082450 merged by jenkins-bot:

[operations/deployment-charts@master] changeprop: Configure PCS URI to be the discovery name of the service

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

Change #1082473 merged by jenkins-bot:

[operations/deployment-charts@master] pcs: Configure prometheus metrics

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

Change #1121637 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] pcs: Expose port for native prometheus metrics

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

Change #1121637 merged by jenkins-bot:

[operations/deployment-charts@master] pcs: Expose port for native prometheus metrics

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

Metrics overall look OK.
Switchover started around 2025-02-25 10:00 UTC
Using the client side session data I don't see any bump in session.page_load_latency but I would like to see how a week's worth of traffic works.
More specifically:

image.png (4,420×2,700 px, 491 KB)

Or for more detail the same but hourly:
p50, p75, p90
{F58500731}

And p95
{F58500743}

Link to superset for more details:
https://superset.wikimedia.org/superset/explore/p/zWGn1ZeQV9y/

Change #1122932 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/deployment-charts@master] mobileapps: scrape all ports

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

Change #1122932 merged by jenkins-bot:

[operations/deployment-charts@master] mobileapps: add networkpolicy for prometheus

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