BBlack has uploaded a new change for review.

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

Change subject: cache_misc: send randomized pass traffic directly to t1 backends
......................................................................

cache_misc: send randomized pass traffic directly to t1 backends

backend_random is only used for (and for all) "pass" traffic (both
explicit and hit for pass).  For tier-2 frontends, the jump of
this traffic through tier-2 backends before hitting tier-1
backends is pointless and wasteful: sending it directly to tier-1
backends accomplishes the same thing more efficiently and still
makes use of our IPSec protection for x-dc connections.  In the
long run we'll go one step further and have all frontends
(regardless of tier) contact the applayer directly for pass
traffic and not need "backend_random" at all, but that's blocked
on further x-dc crypto work.

Bug: T96847
Change-Id: I239934cf260c218276749000ef38d80893a4c4cd
---
M modules/role/manifests/cache/misc.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/63/258463/1

diff --git a/modules/role/manifests/cache/misc.pp 
b/modules/role/manifests/cache/misc.pp
index f6e5313..ec14543 100644
--- a/modules/role/manifests/cache/misc.pp
+++ b/modules/role/manifests/cache/misc.pp
@@ -269,7 +269,7 @@
             'backend_random' => {
                 'dynamic'  => 'yes',
                 'type'     => 'random',
-                'backends' => $site_cluster_nodes,
+                'backends' => $cluster_nodes['eqiad'],
                 'service'  => 'varnish-be-rand',
             },
         },

-- 
To view, visit https://gerrit.wikimedia.org/r/258463
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I239934cf260c218276749000ef38d80893a4c4cd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

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

Reply via email to