Jump to content
Galaxy

Apache vs Nginx

Recommended Posts

Phun    1,026

I use nginx for my static content (css/js/img) and Apache with Varnish for my dynamic content. So my IPB setup splits the static/dynamic content. Very helpful with performance & load.

I'm wondering why you're using this configuration. Does it give you any benefits over JUST NGiNX with PHP fpm? Using all three seems like it'd use a lot of resources unnecessarily.

​That is true. I'd like to run a speed test on WebFlake vs. that site.

​That wouldn't be conclusive since both probably run on different hardware.

Share this post


Link to post
Share on other sites
Nervodx    120

I use nginx for my static content (css/js/img) and Apache with Varnish for my dynamic content. So my IPB setup splits the static/dynamic content. Very helpful with performance & load.

I'm wondering why you're using this configuration. Does it give you any benefits over JUST NGiNX with PHP fpm? Using all three seems like it'd use a lot of resources unnecessarily.

​That is true. I'd like to run a speed test on WebFlake vs. that site.

​That wouldn't be conclusive since both probably run on different hardware.

​That is true.

Share this post


Link to post
Share on other sites
buddyxl    1

I use nginx for my static content (css/js/img) and Apache with Varnish for my dynamic content. So my IPB setup splits the static/dynamic content. Very helpful with performance & load.

I'm wondering why you're using this configuration. Does it give you any benefits over JUST NGiNX with PHP fpm? Using all three seems like it'd use a lot of resources unnecessarily.

​I run multiple sites on the same server so it's just easier to manage for me by having split configs.

Share this post


Link to post
Share on other sites
DragonVoid    117

I did a speed test that compared Se7ensins and TheTechGame these were the results.

52cd3e144bd954732e9d3d47a56e931e.png

eec4f00d46ca82b80acaaac41232e70c.png

As you can see Se7ensins loads much faster than TheTechGame so I am curious as to what Se7ensins uses.

Edited by DragonVoid

Share this post


Link to post
Share on other sites
titcrunch    268

nginx have more performance yes but you can execute more request on apache so the tech use depend of the use behind

if you use for simple html and many view go to nginx but if you use php and mysql with many request apache is better, so for ipb (60 request in base and + 100 with app and hook) => is apache the better

PastedGraphic-2-1024x492.thumb.png.e2c08

and for the traffic is the same Nginx can also handle on average 40% higher traffic than apache in 300% less time so for big project with big trafic apache is the best

 

sorry for my bad english .....i hope you have understand me

Edited by titcrunch

Share this post


Link to post
Share on other sites
M32    0

I've found Nginx easier to configure, and way easier to keep running stably.

Share this post


Link to post
Share on other sites
Phun    1,026

I also have Apache + Nginx + Varnish Cache Server. IPB 4 Installation on http://tools.pingdom.com/fpt/ measures 89% Faster than other websites. With only Apache it was 77% with nginx it was 82%

Did you configure varnish in any specific way for IP.Board? I'm curious to see if varnish provides any real benefit over what cloudflare already does for webflake.

Share this post


Link to post
Share on other sites
What do you think? Remember the human.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×