@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Put an in-request cache in front of APC

Summary: Most requests examine the same buckets, especially the first bucket. Let them just read it out of request cache.

Test Plan: Observed most bucket fetches resolving in <10us instead of <10ms.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9080

+4
+4
src/applications/cache/PhabricatorCaches.php
··· 32 32 private static function buildRepositoryGraphL1Caches() { 33 33 $caches = array(); 34 34 35 + $request = new PhutilKeyValueCacheInRequest(); 36 + $request->setLimit(32); 37 + $caches[] = $request; 38 + 35 39 $apc = new PhutilKeyValueCacheAPC(); 36 40 if ($apc->isAvailable()) { 37 41 $caches[] = $apc;