Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Apache HTTP Server 2.4
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Apache HTTP Server 2.4

yowmamasitayowmamasita Member
edited February 2012 in General

What will be its impact for LE users? They say it can now compete with nginx and lighttpd performance and resource usage wise

http://httpd.apache.org/docs/2.4/new_features_2_4.html

Thanked by 1djvdorp

Comments

  • Looks like they may of done many improvements to Apache HTTP, and only time will tell really.

  • KuJoeKuJoe Member, Host Rep
    edited February 2012

    Performance, hopefully.
    Resource usage, I'm skeptical.

    I always picture Apache as the IIS competition for enterprise settings and thus resources aren't usually a consideration since more corporations don't run LEBs and resources are a cheap, one time expense.

    Thanked by 3nabo NickP yowmamasita
  • It's funny you mentioned it because we're already getting requests to implement Apache 2.4.

    I've never seen an Apache release that generated so much interest on the first day.

    Sounds like Lighttpd and nginx have some new competition.

  • I was hoping people would have posted some benchmarks, but a google search turned up nothing so far.

  • fanfan Veteran

    Well, I'm more interested in the resource usage.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @kiloserve said: It's funny you mentioned it because we're already getting requests to implement Apache 2.4.

    I've never seen an Apache release that generated so much interest on the first day.

    Sounds like Lighttpd and nginx have some new competition.

    The biggest issue I always had with apache was that it was very RAM hungry. We had like 100 - 200 cpanel accounts on a box and even with 8GB RAM available and 4GB+ unused, apache was still making the box swap, even with vm.swappiness=0 :(

    In the end we just boosted the RAM to 16G and it plays nice.

    Francisco

  • @Francisco I had the same issue's with the prefork module. But since I have changed to mpm-worker Apache is real nice.
    Performance is really ok and I use about 250mb RAM for Apache, some PHP-FPM, Mailstuff and MySQL and about 15 Customers on it.

  • Cool

    But the comment below is true, currently most machines are multicore.

    For me seems unexpected how he got better results serving php with apache o_O

  • @yomero said: For me seems unexpected how he got better results serving php with apache o_O

    Yeah, I don't understand how Apache 2.2 outperformed nginx in the PHP test as well...

  • prometeusprometeus Member, Host Rep

    pure basic simple php, run with mod_php can be faster than fastcgi (or similar), but in real world things change and the only fact to have mod_php loaded also for static requests, etc. make apache eat RAM. I think I'm going to try this release of apache with a busy site which the client required me to install apache ;)

  • @yomero said: For me seems unexpected how he got better results serving php with apache o_O

    thats what i was thinking too until i realized its just nginx 0.7 and we got 1.0 now

  • Is there any way to compile Apache 2.4 AND install PHP from an RPM without yum complaining about Apache not being installed?

  • @dancom96 said: Is there any way to compile Apache 2.4 AND install PHP from an RPM without yum complaining about Apache not being installed?

    Why not compile it, it's simple when you get the dependencies installed.

  • Anyone else notice ApacheBench revision used in Apache 2.4.1 being faster than ApacheBench used in Apache 2.2.22 http://vbtechsupport.com/1835/ ?

    This is even if benched against either Apache 2.2.22 or 2.4.1 servers.

  • DamianDamian Member
    edited February 2012

    Change the executable's name to quack!

  • God, I love your blog @eva2000 you have so interesting articles

  • dancom96dancom96 Member
    edited February 2012

    mod_fastcgi doesn't compile for 2.4, you're supposed to use ProxyPass somehow to get PHP-FPM to work, but it's not working for me atm

    it initializes the worker but never uses it

  • PHP is built into Apache and there is no TCP connection made, unlike most PHP-Nginx setups. The overhead the TCP connections makes slows down Nginx with PHP requests. But, at higher loads, Nginx and PHP is more stable than Apache and PHP, so there is a little tradeoff.

  • @flam316 said: PHP is built into Apache and there is no TCP connection made, unlike most PHP-Nginx setups. The overhead the TCP connections makes slows down Nginx with PHP requests. But, at higher loads, Nginx and PHP is more stable than Apache and PHP, so there is a little tradeoff.

    I figured most people used unix sockets for nginx <-> php-fcgi.

  • I hope it works with PHP 4.

  • tuxtux Member

    @Naruto said: I hope it works with PHP 4.

    Why you use old PHP?

  • @tux said: Why you use old PHP?

    Some stuff I use but didn't make needs it.

  • MaouniqueMaounique Host Rep, Veteran

    Apache does eat ram, however, I think the tradeoff is worth it.
    Besides, I dont like the new nginx licensing policy it smells like there is trouble ahead.
    I am confident Apache will learn and adapt, tho the memory consumption is unlikely to go away too soon, or at least in a way that will make it use same RAM as lighttpd or nginx.
    The only thing I really am unconfortable with in Apache is that it has a big surface and I never thought it is secure enough for me to sleep well at night, even with extra tweaking. Had few incidents tho, I think it is just my paranoia.
    M

Sign In or Register to comment.