Actions
Task #101704
openRedirectService: Performance/memory-overhead for large number of redirects
Status:
New
Priority:
Should have
Assignee:
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2023-08-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
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.
Updated by Guido Schmechel over 1 year ago
- Related to Task #90143: Redirects: Poor performance of redirect matching for large redirects table added
Actions