Mobrovac has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/398011 )
Change subject: Config: Reduce delete probability to 25% ...................................................................... Config: Reduce delete probability to 25% Now that all of the most high-traffic end points have been migrated, we should start taking advantage of Cassandra's range deletes in a more efficient manner. Hence, reduce the delete probability from 100% on each request to 25%. This should alleviate some of the load on the Cassandra 3 cluster. Bug: T179416 Change-Id: I5faca4292dd589684f6df159cf8a1702659830a1 --- M scap/templates/config.yaml.j2 M scap/vars.yaml 2 files changed, 2 insertions(+), 0 deletions(-) Approvals: Mobrovac: Verified; Looks good to me, approved Ppchelko: Looks good to me, but someone else must approve diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2 index 4a4c90f..d6e8caa 100644 --- a/scap/templates/config.yaml.j2 +++ b/scap/templates/config.yaml.j2 @@ -99,6 +99,7 @@ parsoid: host: <%= parsoid_uri %> grace_ttl: 86400 + delete_probability: <%= delete_probability %> <% if new_storage_enabled_parsoid is not none and new_storage_enabled_parsoid|length > 0 %>backends: new:<% for item in new_storage_enabled_parsoid %> - '<%= item %>' diff --git a/scap/vars.yaml b/scap/vars.yaml index 167257e..10a3751 100644 --- a/scap/vars.yaml +++ b/scap/vars.yaml @@ -31,6 +31,7 @@ trendingedits_uri: https://trending-beta.wmflabs.org cxserver_uri: https://cxserver-beta.wmflabs.org aqs_uri: https://wikimedia.org/api/rest_v1/metrics +delete_probability: 0.25 new_storage_enabled_parsoid: - /.*/ port: 7231 -- To view, visit https://gerrit.wikimedia.org/r/398011 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5faca4292dd589684f6df159cf8a1702659830a1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/restbase/deploy Gerrit-Branch: master Gerrit-Owner: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Eevans <eev...@wikimedia.org> Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits