#101704RedirectService: Performance/memory-overhead for large number of redirects
Description
In The RedirectService, matchRedirect() there is a call to load all redirects first – $this->fetchRedirect(). In case of a “larger” number of redirects this is not ideal performance-wise. This might for example occur if you moved around a large number of pages over time (creating a lot of redirects).
In our case we generated flat redirects for a different source and discovered that with a million of generated redirects this doesn’t work at all (scale) at all since all redirects might not even fit in memory :-) For flat redirects a smarter fetching-logic might be possible in the first place.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Stefan Bürk changed assigned to Stefan Bürk <span data-processor="relativetime" data-value="2023-08-17T17:15:07+00:00" > 08/17/23, 17:15 </span>
-
Guido Schmechel changed Related to #90143 <span data-processor="relativetime" data-value="2023-08-18T07:02:57+00:00" > 08/18/23, 07:02 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-02T20:35:11+00:00" > 11/02/26, 20:35 </span>
closed as duplicate of #90143 which got a patch pending