Page MenuHomePhabricator

Use Memcached with Quibble
Closed, ResolvedPublic

Description

In theory this would help with performance on api-testing and browser tests, and requires a minimum amount of configuration, so might be worth the effort to do.

Details

SubjectRepoBranchLines +/-
integration/configmaster+15 -13
integration/configmaster+4 -2
integration/configmaster+2 -1
integration/configmaster+16 -6
integration/configmaster+4 -2
integration/configmaster+5 -5
integration/configmaster+2 -2
integration/configmaster+6 -2
integration/configmaster+2 -1
integration/configmaster+4 -4
integration/configmaster+32 -32
integration/configmaster+32 -32
integration/configmaster+55 -1
integration/quibblemaster+8 -3
integration/quibblemaster+7 -5
integration/configmaster+74 -1
integration/configmaster+32 -32
integration/configmaster+28 -28
integration/quibblemaster+27 -3
integration/quibblemaster+5 -0
Show related patches Customize query in gerrit

Event Timeline

Change 757844 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] Set Memcached as main cache type if extension is loaded

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

Change 757867 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/config@master] dockerfiles: Install memcached and php-memcached for Quibble

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

Given we have only a single local server in CI, I'm not sure Memcached would help compared to php-apcu. Memcached is more advanced for sure in keeping hot objects (LRU) instead of resetting when it is full, but given little to no concurrency that's unlikely to make a difference.

During PHPUnit runs we currently (and should) disable all such caching already, so it wouldn't help there. For QUnit we only make 1 or 2 requests. For Selenium, it might help a bit to have wgMainCacheType set to something other than "none", e.g. apcu might make a difference. Worth a try I suppose to see if it makes a difference.

I don't mind Memcached being added. It might help to make it a bit more production-like. On the other hand, it would also make it therefore less like most local dev environments, which might make debugging harder when behaviour is differnet, and it makes the Quibble stack more complex and maintenance heavy which I don't know if we want to do, unless we're sure that it speeds up CI. The call on whether to take it on (after initial experiment) is up to RelEng I think.

I propose we try apcu first to see if it speeds up Selenium, and then with memcached to see if it speeds it up even more.

Change 757844 merged by jenkins-bot:

[integration/quibble@master] Set Memcached as main cache type if extension is loaded

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

Change 758952 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] release: Quibble 1.4.0

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

Change 758952 merged by jenkins-bot:

[integration/quibble@master] release: Quibble 1.4.0

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

Change 763559 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update Quibble jobs from 1.3.0 to 1.4.0

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

Mentioned in SAL (#wikimedia-releng) [2022-02-21T07:31:03Z] <hashar> Switching Quibble jobs from Quibble 1.3.0 to 1.4.0 # T300340 T291549 T225730

Change 763559 merged by jenkins-bot:

[integration/config@master] jjb: update Quibble jobs from 1.3.0 to 1.4.0

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

Change 767749 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update Quibble jobs from 1.3.0 to 1.4.3

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

Change 767749 merged by jenkins-bot:

[integration/config@master] jjb: update Quibble jobs from 1.3.0 to 1.4.3

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

Change 757867 merged by jenkins-bot:

[integration/config@master] dockerfiles: Install memcached and php-memcached for Quibble

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

Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php74:1.4.3-s3
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php72:1.4.3-s2
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php73:1.4.3-s3
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster:1.4.3-s2
Successfully published image docker-registry.discovery.wmnet/releng/quibble-fresnel:1.4.3-s2
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php73-coverage:1.4.3-s3
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php80:1.4.3-s3
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php72-bundle:1.4.3-s2
Successfully published image docker-registry.discovery.wmnet/releng/quibble-buster-php81:1.4.3-s3

Change 770468 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/config@master] jjb: Bump Quibble jobs to 1.4.3-s3

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

Change 770518 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] LocalSettings: Define MemCachedServers when memcached is loaded

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

Change 770518 merged by jenkins-bot:

[integration/quibble@master] LocalSettings: Move Memcached block and define MemCachedServers

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

Change 771636 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/quibble@master] release: Quibble 1.4.4

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

Change 771639 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] dockerfiles: update to Quibble 1.4.4

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

Change 771640 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: switch jobs to Quibble 1.4.4

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

Change 771636 merged by jenkins-bot:

[integration/quibble@master] release: Quibble 1.4.4

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

Change 771639 merged by jenkins-bot:

[integration/config@master] dockerfiles: update to Quibble 1.4.4

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

Change 771640 merged by jenkins-bot:

[integration/config@master] jjb: switch jobs to Quibble 1.4.4

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

Change 770468 abandoned by Kosta Harlan:

[integration/config@master] jjb: Bump Quibble jobs to use memcached

Reason:

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

Change 787492 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update integration/quibble job to 1.4.5 image

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

Change 787493 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update quibble-daily jobs to Quibble 1.4.5 image

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

Change 787494 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update fundraising jobs to Quibble 1.4.5 image

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

Change 787492 merged by jenkins-bot:

[integration/config@master] jjb: update integration/quibble job to 1.4.5 image

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

Change 787493 merged by jenkins-bot:

[integration/config@master] jjb: update quibble-daily jobs to Quibble 1.4.5 image

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

Change 787494 merged by jenkins-bot:

[integration/config@master] jjb: update fundraising jobs to Quibble 1.4.5 image

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

Change 790370 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update api-testing jobs to Quibble 1.4.5 image

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

Change 790370 merged by jenkins-bot:

[integration/config@master] jjb: update api-testing jobs to Quibble 1.4.5 image

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

Change 790377 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update Phan jobs to Quibble 1.4.5 image

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

Change 790380 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update codehealth patches to Quibble image 1.4.5

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

Change 790381 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update coverage jobs to Quibble image 1.4.5

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

Change 790377 merged by jenkins-bot:

[integration/config@master] jjb: update Phan jobs to Quibble 1.4.5 image

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

Change 790380 merged by jenkins-bot:

[integration/config@master] jjb: update codehealth patches to Quibble image 1.4.5

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

Change 790381 merged by jenkins-bot:

[integration/config@master] jjb: update coverage jobs to Quibble image 1.4.5

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

Change 790621 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update wikibase jobs to Quibble 1.4.5

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

Change 790621 merged by jenkins-bot:

[integration/config@master] jjb: update wikibase jobs to Quibble 1.4.5

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

Change 790638 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: switch wmf-quibble jobs to Quibble 1.4.5

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

Change 790641 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update MediaWiki jobs to Quibble 1.4.5 image

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

Change 790638 merged by jenkins-bot:

[integration/config@master] jjb: switch wmf-quibble jobs to Quibble 1.4.5

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

hashar assigned this task to kostajh.

It is finally fully deployed

It is finally fully deployed

✨ thank you @hashar!

Change 790641 merged by jenkins-bot:

[integration/config@master] jjb: update MediaWiki jobs to Quibble 1.4.5 image

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