Project

General

Profile

Actions

Feature #20717

closed

Store separate extlist for the frontend

Added by Mathias Schreiber almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-07-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

If you have a lot of extensions loaded your frontend and backend becomes slower and slower.
In order to at least reduce the load a bit we introduce a new parameter to the EM_CONF called "doNotLoadInFE".
If set to "1" this extension will not be included in the extlist to be loaded in the frontend.
This also affects the temp_cached_* files in typo3conf which will also be newly created.

(issue imported from #M11474)


Files

11474.diff (3.8 KB) 11474.diff Administrator Admin, 2009-07-04 20:29
11474_v2.diff (4.98 KB) 11474_v2.diff Administrator Admin, 2009-07-14 18:53

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #20718: Add 'doNotLoadInFE' => 1, to several system extensions, speeding up the frontendClosedRupert Germann2009-07-04

Actions
Related to TYPO3 Core - Bug #20960: Update wizard doesn't write "extListFE"Closed2009-08-31

Actions
Related to TYPO3 Core - Bug #20379: Generate Random Key still does not workClosedRupert Germann2009-04-30

Actions
Actions #1

Updated by Rupert Germann almost 15 years ago

I added v2 of the patch which fixes the following problems:
1. if "extList_FE" is not yet set in localconf.php the extmgm falls back to the standard "extList"
2. Now the temp_CACHED_FE... will be deleted when the temp_CACHED.. files are deleted.

Actions #2

Updated by Rupert Germann almost 15 years ago

Some benchmarks:
My server is a standard installation with only a few FE extensions enabled.

siege -c 15 -i -b -t 2M -f urls43_perf.txt

4.3 current trunk
-----------------------------------------------------------
Transactions: 31626 hits
Availability: 100.00 %
Elapsed time: 119.79 secs
Data transferred: 780.77 MB
Response time: 0.06 secs
Transaction rate: 264.01 trans/sec
Throughput: 6.52 MB/sec
Concurrency: 14.96
Successful transactions: 31626
Failed transactions: 0
Longest transaction: 0.52
Shortest transaction: 0.00

with patch 11474
-----------------------------------------------------
Transactions: 33495 hits
Availability: 100.00 %
Elapsed time: 119.65 secs
Data transferred: 827.24 MB
Response time: 0.05 secs
Transaction rate: 279.94 trans/sec
Throughput: 6.91 MB/sec
Concurrency: 14.97
Successful transactions: 33495
Failed transactions: 0
Longest transaction: 0.49
Shortest transaction: 0.00

trunk = 100%
patched = 106%

filesizes:
--------------------------------------------
trunk:
temp_CACHED...ext_tables.php 80 KB
temp_CACHED...ext_localconf.php 62 KB

patched:
temp_CACHED...ext_tables.php 45 KB
temp_CACHED...ext_localconf.php 48 KB

extlist in localconf.php:

$TYPO3_CONF_VARS['EXT']['extList'] = 'css_styled_content,tsconfig_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,
tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,
lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,
phpmyadmin,automaketemplate,cc_debug,t3skin,tt_news,t3editor,recycler,about,cshmanual,opendocs,
felogin,indexed_search,devlog,context_help';

additional FE extlist after patch:

$TYPO3_CONF_VARS['EXT']['extList_FE'] = 'css_styled_content,rtehtmlarea,phpmyadmin,automaketemplate,cc_debug,tt_news,felogin,indexed_search,devlog';

Actions #3

Updated by Rupert Germann almost 15 years ago

Conclusion:
---------------------------------------

Even when testing this patch with only a few extensions I had a performance gain of 6%. When there are more extensions on the server which can be excluded from being loaded in FE the performance improvement will be even bigger.

Actions #4

Updated by Rupert Germann over 14 years ago

committed to trunk rev 5765

Actions

Also available in: Atom PDF