Конечно же нужно использовать mod_perl 2.0 ( http://perl.apache.org/ ). Он быстрее (~ * 100) чем "чистый" cgi. Но он требует больше оперативной памяти (RAM).
При запуске веб-сервера можно иметь заранее установленное соединение с базой данных. Такой подход существенно сэкономит время (см. README.webserver).
Чтобы все работало быстрее и занимало меньше памяти используйте сценарий
запуска scripts/apache2-perl-startup.pl
для
предварительной загрузки/компиляции Perl модулей на сервере с mod_perl
(см. README.webserver).
By default Apache::Reload is used in
scripts/apache2-httpd.include.conf. Disable it and you will get 8% more
speed. But remember to restart the web server if you install any modules via
the OTRS Package Manager, or any values in your SysConfig or in
Kernel/Config.pm. Important: this would also mean you can't use the OTRS
Package Manager via the web interface, you need to use the command line
variant - bin/otrs.PackageManager.pl
.
If you have a larger installation, e.g. over 1,000 new tickets per day and over 40 agents, it is a good idea to read the chapters on Performance of the mod_perl User's Guide ( http://perl.apache.org/docs/2.0/user/index.html ).