
Laurent Minost wrote:
OK Perl itself (as a language) is not the culpit but maybe the way it is coded here can be improved ? Or maybe is it mod_perl ?
mod_perl in itself is not slow and certainly faster than running OTRS as CGI.
I tried a few weeks ago to rewrite some simple parts of the code (the overview listing of CustomerUsers trough Admin Panel (AdminCustomerUser.pm)) in PHP and with the same server/db backend, i was having some response time far better (almost 2x faster) ... OK, I didn't re-coded all parts of OTRS internal systems functions but only a little part of the code and it shows me that there is some things to improve about performance ...
That could very well be the case. I have never taken a serious look at the OTRS code.
I don't know enough Perl to discuss about pass by reference / pass by value but it can be a good thing on which it may be needed to take some time :)
Pass by reference and pass by value are not specific to Perl, but two programming concepts that can be found in many programming languages (for instance PHP :o)). Nils Breunese.