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.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Jdforrester-WMF | T294260 Upgrade dockerfiles to use composer 2.1.9 per CVE-2021-41116 | |||
Resolved | kostajh | T300340 Use Memcached with Quibble | |||
Resolved | hashar | T304147 jenkis CI wikibase-repo-docker failing with new quibble version |
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
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
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
Change 758952 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[integration/quibble@master] release: Quibble 1.4.0
Change 758952 merged by jenkins-bot:
[integration/quibble@master] release: Quibble 1.4.0
Mentioned in SAL (#wikimedia-releng) [2022-02-03T13:51:27Z] <kostajh> Tag Quibble 1.4.0 @ 4231bc2832395d94e29a332fe8d863301a0cd441 # T300340 T291549 T225730
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
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
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
Change 767749 merged by jenkins-bot:
[integration/config@master] jjb: update Quibble jobs from 1.3.0 to 1.4.3
Change 757867 merged by jenkins-bot:
[integration/config@master] dockerfiles: Install memcached and php-memcached for Quibble
Mentioned in SAL (#wikimedia-releng) [2022-03-14T09:52:02Z] <hashar> Building Quibble Docker images for https://gerrit.wikimedia.org/r/757867 | T300340
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
Change 770518 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[integration/quibble@master] LocalSettings: Define MemCachedServers when memcached is loaded
Change 770518 merged by jenkins-bot:
[integration/quibble@master] LocalSettings: Move Memcached block and define MemCachedServers
Mentioned in SAL (#wikimedia-releng) [2022-03-17T16:25:02Z] <hashar> Switching Quibble jobs to use memcached rather than APCu | https://gerrit.wikimedia.org/r/c/integration/config/+/770468 | T300340
Change 771636 had a related patch set uploaded (by Hashar; author: Hashar):
[integration/quibble@master] release: Quibble 1.4.4
Change 771639 had a related patch set uploaded (by Hashar; author: Hashar):
[integration/config@master] dockerfiles: update to Quibble 1.4.4
Change 771640 had a related patch set uploaded (by Hashar; author: Hashar):
[integration/config@master] jjb: switch jobs to Quibble 1.4.4
Change 771636 merged by jenkins-bot:
[integration/quibble@master] release: Quibble 1.4.4
Mentioned in SAL (#wikimedia-releng) [2022-03-17T19:06:07Z] <hashar> Tag Quibble 1.4.4 @ 56b2c9ba52c # T300340
Change 771639 merged by jenkins-bot:
[integration/config@master] dockerfiles: update to Quibble 1.4.4
Change 771640 merged by jenkins-bot:
[integration/config@master] jjb: switch jobs to Quibble 1.4.4
Change 770468 abandoned by Kosta Harlan:
[integration/config@master] jjb: Bump Quibble jobs to use memcached
Reason:
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
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
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
Change 787492 merged by jenkins-bot:
[integration/config@master] jjb: update integration/quibble job to 1.4.5 image
Change 787493 merged by jenkins-bot:
[integration/config@master] jjb: update quibble-daily jobs to Quibble 1.4.5 image
Change 787494 merged by jenkins-bot:
[integration/config@master] jjb: update fundraising jobs to Quibble 1.4.5 image
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
Change 790370 merged by jenkins-bot:
[integration/config@master] jjb: update api-testing jobs to Quibble 1.4.5 image
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
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
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
Change 790377 merged by jenkins-bot:
[integration/config@master] jjb: update Phan jobs to Quibble 1.4.5 image
Change 790380 merged by jenkins-bot:
[integration/config@master] jjb: update codehealth patches to Quibble image 1.4.5
Change 790381 merged by jenkins-bot:
[integration/config@master] jjb: update coverage jobs to Quibble image 1.4.5
Change 790621 had a related patch set uploaded (by Hashar; author: Hashar):
[integration/config@master] jjb: update wikibase jobs to Quibble 1.4.5
Change 790621 merged by jenkins-bot:
[integration/config@master] jjb: update wikibase jobs to Quibble 1.4.5
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
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
Change 790638 merged by jenkins-bot:
[integration/config@master] jjb: switch wmf-quibble jobs to Quibble 1.4.5
Mentioned in SAL (#wikimedia-releng) [2022-05-10T12:06:28Z] <hashar> Updating Quibble jobs to image 1.4.5 with Memcached enabled | https://gerrit.wikimedia.org/r/c/integration/config/+/790641 | T300340
Change 790641 merged by jenkins-bot:
[integration/config@master] jjb: update MediaWiki jobs to Quibble 1.4.5 image