Mobrovac has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase/deploy 
refs/changes/11/398011/1

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: newchange
Gerrit-Change-Id: I5faca4292dd589684f6df159cf8a1702659830a1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/restbase/deploy
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to