Comparison of Apache and Nginx


  • LAMP is an open source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP/Perl as the programming language
  • Lamp stack consist of four layers as mentioned above and that stack can be build on any opensource operation system
  • The major benefit on lamp stack is that it has a number of modules, which gives more functionality
  • The draw back of LAMP is that it slows down under heavy load
  • A limit has been set to the resources and if the limit reached, the other connections will be refused
  • The utilization of memory and CPU is high when the load is increasing 
  • The support and community always place an important role and Apache community is very large and can get help with respect to any issue


  • LEMP is an also the open source Web development platform that uses Linux as the operating system, Nginx (Engine-X) as the Web server, MySQL as the relational database management system and PHP/Perl as the programming language
  • The major benefit of Nginx over Apache is that it is faster and have low memory consumption technology 
  • It allows higher HTTP request and perform well and also very efficient for static web pages
  • It doesn't create new processes for each request though it has worker process and each worker can handle thousands of cur-current connections  
  • Nginx is asynchronous and have the capability of non-blocking, event-driven connection handling algorithm
  • The utilization of CPU and RAM is not affected under the heavy load though it is single threaded
  • Nginx also used as a reverse proxy and through that we can obtain security and better performance in our network


Both web servers Apache and Nginx are the powerful,flexible and result oriented. 50 % of the internet is working on these web severs. It all depend on the nature of the web service we want, if we want faster result with low hardware usage; most preferable is Ngnix server and if we want more functionality and availability of modules with multiple programming languages Apache is the best option. So, it really depends on need to obtain your objectives


  1. 60,5+20,8 is over 80, thus it should read "...80 % of the internet is working on these web severs."

  2. You'гe so cοol! I don't believe I've truly read throubh anything ike that before.
    Sⲟ greɑt to discovver somebody withh a few ɡenuine tһoughts on this
    subject matter. Really.. thanks for starting this up. Thiss web site is somethiung that's needed οn the internet,
    somеone with a bit of originality!

  3. Hmm is anyone else experiencing problems with the images on this blog loading?
    I'm trying to figure out if its a problem on myy end or iif it's
    the blog. Any feed-back would be greatly appreciated.

    1. I can see the image at the end of the blog.

  4. Hello, yeah this paragraph is in fact fastidious and
    I have learned lot of things from it on the topic of blogging.

  5. Hey there just wanted to give you a quick heads up.
    The words in your post seem to be running off the screen in Ie.

    I'm not sure if this is a formatting issue or something to do
    with internet browser compatibility but I thought I'd post to let you know.
    The design and style look great though! Hope you get the problem solved soon. Thanks

  6. It's going to be ending of mine day, however before finish
    I am reading this wonderful post to increase my experience.


Post a comment

Please give your review or ask question ?