Hi Nils,

It would be too much work to rewrite it to PHP. 
But that's only an observation from myself, all tests I did to see where
was the problem 
of this regular slow impression in OTRS leads me to the code, after
eliminating Web Server performance/tuning, DB backend ... 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 ?

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 ...

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 :)

BR,

Laurent Minost


Le vendredi 31 août 2007 à 14:31 +0200, Nils Breunese (Lemonbit) a
écrit :

> Laurent Minost wrote:
> 
> > DB backend were never the problem in all my cases and always though  
> > that Perl is the culpit.
> > PHP/MySQL seems to me solutions easily faster than Perl one for Web  
> > applications...
> 
> I really doubt that the language is the problem. Perl is a very  
> mature and fast language (especially for text processing). It's  
> possible to write slow code in any language. Someone on this list  
> recently noticed that OTRS uses pass by value rather than pass by  
> reference. This involves copying a lot of memory around and is slower  
> in any language. I haven't checked whether it is true, but if it is  
> then I guess a lot of performance could be gained from changing that  
> for instance. I doubt a complete rewrite in PHP is going to be the  
> answer.
> 
> Nils Breunese.
> _______________________________________________
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> Support or consulting for your OTRS system?
> => http://www.otrs.com/
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to