Forums / Developer / Performence on Lighttpd

Performence on Lighttpd

Author Message

Kim Johansen

Wednesday 13 June 2007 11:55:10 pm

Hi all!

I got good news for you all!

Lighttpd will give you up to 80% performence boost on a default eZ publish 3.9.2 site!

I will keep you updated on the work I have done here. Some articles are comming.

Try out Free eZ Publish 4.0 Trial Hosting for 14 days:
http://webdealhosting.com/ez-publish-trial-hosting

High quality eZ Publish Hosting since 2001!

Bruce Morrison

Thursday 14 June 2007 2:09:48 am

Hi Kim

Wow, that's a massive increase. I take it that it's against apache?

Looking forward to some more information on this.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Xavier Dutoit

Thursday 14 June 2007 7:34:38 am

Hi,

I'm afraid to report that although I didn't run a proper benchmark, the difference wasn't that blowing.

I can run your bench on my machine once you've sent me the details.
X+

http://www.sydesy.com

Kim Johansen

Wednesday 25 July 2007 4:59:40 am

Hi,

I got a test enviroment up and running now.

Hardware:

IBM HS21 Blade
Dual Dual Core Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
8GB Mem
Raid 1

Software:
Suse Linux Enterprise Server 10 SP1
apache 2.2.3
lighttpd 1.4.10
php 4.4.7
mysql 5.0.26
apc 3.0.14
ez 3.9.2 (default install with webin)

ab2 -n 1000 -c 25 http://<host>/

Server Software: Apache/2.2.3
Server Hostname: <host>
Server Port: 80

Document Path: /
Document Length: 18159 bytes

Concurrency Level: 25
Time taken for tests: 29.548356 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 18595000 bytes
HTML transferred: 18159000 bytes
Requests per second: 33.84 [#/sec] (mean)
Time per request: 738.709 [ms] (mean)
Time per request: 29.548 [ms] (mean, across all concurrent requests)
Transfer rate: 614.55 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 119 734 517.3 612 6601
Waiting: 107 555 419.9 476 5841
Total: 119 734 517.3 612 6601

Server Software: lighttpd
Server Hostname: <host>
Server Port: 80

Document Path: /
Document Length: 18280 bytes

Concurrency Level: 25
Time taken for tests: 23.501722 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 18713000 bytes
HTML transferred: 18280000 bytes
Requests per second: 42.55 [#/sec] (mean)
Time per request: 587.543 [ms] (mean)
Time per request: 23.502 [ms] (mean, across all concurrent requests)
Transfer rate: 777.56 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 470 578 113.9 540 1156
Waiting: 456 562 108.8 526 1142
Total: 470 578 113.9 540 1156

Try out Free eZ Publish 4.0 Trial Hosting for 14 days:
http://webdealhosting.com/ez-publish-trial-hosting

High quality eZ Publish Hosting since 2001!

zurgutt -

Wednesday 25 July 2007 5:25:01 am

Useful comparision, however it would be even very much more useful if you gave exact configuration details that you used, this includes complete settings for mysql, apache, php and apc. The ez performance is surely much more influenced by good setup of these components than by just type of http server used. It would make an excellent example to follow by others and additionally fine-tune.

At least for me, I have very similarly specced hardware but get poorer performance, so something must be off somewhere, more details on your setup would be very much appreciated! Great work!

Certified eZ developer looking for projects.
zurgutt at gg.ee

André R.

Wednesday 25 July 2007 7:27:56 am

> Some articles are coming.
When ? I'm still waiting :)
And if you really want to show Lighty from it's best side you should also do a bench on static cache setup!

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Kim Johansen

Tuesday 31 July 2007 6:13:12 am

Hi André,

It will be available in the end of August. I'm Soon done with the benchmarks, with interesting results:)

I have not notified any issues on the functionality on eZ publish when using lighttpd as webserver so far.

Try out Free eZ Publish 4.0 Trial Hosting for 14 days:
http://webdealhosting.com/ez-publish-trial-hosting

High quality eZ Publish Hosting since 2001!

Xavier Dutoit

Monday 06 August 2007 9:19:43 am

Hi,

As for using the static cache, I couldn't make it work without having to use mod_magnet, and learning it is on my list ;)

On that topic, Paul+Kristof have a nice hack who sets a cookie upon authentication and so you can serve static cache to anonymous and the cusotmised php content for the others.

X+

http://www.sydesy.com

Kristof Coomans

Friday 10 August 2007 12:46:39 am

I've seen a couple of topics on Lighttpd now on the forum, maybe it would be nice to have a page on eZpedia about the setup? ;)

By the way, the hack Xavier is talking about is listed under the forum topics here: http://ezpedia.org/wiki/en/ez/static_content_cache

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Björn Dieding@xrow.de

Friday 10 August 2007 5:00:29 am

@Xavier

Hi do you have any status if this hack/patch goes into the core? We might need it too. It is a very usefull one.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/