نمایش نتایج: از شماره 1 تا 8 , از مجموع 8

موضوع: آپاچی 2 آره یا نه؟

Threaded View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #2
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,991
    تشکر شده در
    2,087 پست

    پیش فرض

    خیلی ها شنیدم آپاچی 2 زیاد خوب نیست
    مثلا کیا؟
    من متنی رو برات میزارم که با دلیل بهت ثابت میکنه آپاچ 2 بهتر از 1 هست
    in response to the on going flame war pertaining to the stability and usability of apache 2 in comparison to apache 1 i've decided to conduct a series of benchmarks to try to determine exactly how the two apaches compare. The purpose of the test was to determine which server is faster at serving static html pages, who's real-time compression implementation is better and of course which is more suited for running php applications. The full details of the test are available below, but here is a quick summary of the results.

    1) apache 2 is about 4% faster then apache 1 at serving static pages.

    2) apache 2's mod_deflate is over 60 percent faster then apache 1's mod_gzip at real time compression of static html pages.

    3) serving php via apache 2 is 27 percent slower then via apache 1 dso and 31 percent slower then apache 1 static.

    How the test was conducted?

    For the purpose of the test i've used clean installations of php 4.3.10 compiled with the following common flags "--disable-cgi --disable-cli --without-pear". The sapi options ranged from --with-apxs (apache 1 dso), --with-apxs2 (apache 2 dso apache2handler), --with-apache (apache 1 static).

    The apache1 was compiled with --enable-module=so and --enable-module=rewrite, --activate-module=src/modules/php4/libphp4.a was added for static build php build. Apache 2 was compiled with --with-mpm=prefork --enable-rewrite --enable-so --enable-deflate. During the compilation of all software -o2 optimization flag was used.

    Apache configuration used are the stock configs from the regular build, with modifications to add php and mod_gzip (apache 1) support and making apache 2 bind to port 8080.

    The "victim" server was celeron 1ghz with 768 megs of ram running linux 2.6.8-rc2. For each test a total of 10 runs were performed each making 10000 requests, concurrency level ranging from 10 to 100 requests. The test software used is ab (apache bench) revision 1.73.

    Here is a pdf with a chart of the raw results and a graph for comparison purposes. The raw results, test scripts, etc... Can be found in this archive.
    موفق باشید
    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها از Vahid به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •