Project

General

Profile

Actions

Task #101704

open

RedirectService: Performance/memory-overhead for large number of redirects

Added by Stefan Neufeind over 1 year ago. Updated over 1 year ago.

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Task #90143: Redirects: Poor performance of redirect matching for large redirects tableUnder Review2020-01-17

Actions
Actions #1

Updated by Stefan Bürk over 1 year ago

  • Assignee set to Stefan Bürk
Actions #2

Updated by Guido Schmechel over 1 year ago

  • Related to Task #90143: Redirects: Poor performance of redirect matching for large redirects table added
Actions

Also available in: Atom PDF