[devel] litespeed performance

Victor Forsyuk =?iso-8859-1?q?force_=CE=C1_altlinux=2Eorg?=
Вт Сен 13 13:28:31 MSD 2005


On Tue, Sep 13, 2005 at 11:18:31AM +0400, Sergey Pinaev wrote:
> On Mon, 12 Sep 2005 18:12:01 +0300
> Victor Forsyuk <force на altlinux.org> wrote:
> 
> > > Угу. Производительная. Только что-то в ней нечисто, imho.
> > > Не может php работать в ~два раза быстрее под одним httpd
> > > чем под другим =)
> > 
> > apachebench Вам в руки! :-))
> 
> Я не опровергаю, что он быстрый, я подтверждаю. Я просто
> удивляюсь этому и не могу понять - откуда может взяться
> такой скачок _на php скриптах_.

Цитирую форум лайтспида:

Вопрос:

I'm a bit surprised by the performance advantage Litespeed/FCGI/PHP has over
Apache/mod_php as shown in your benchmark. After all, in Apache/mod_php the
PHP engine is in-process, while in Litespeed/FCGI/PHP, there's inter-process
communication costs between Apache & FCGI. I'd think Apache/mod_php will
always be faster for that reason. Do you know what's behind the performance
advantage?

Ответ:

Theoretically, in-process communication should be faster than inter-process
communication. I think the reason why litespeed is faster is because it is
highly optimized, and apache's inter-module communication is not that
efficient.




Подробная информация о списке рассылки Devel