2012-04-19 15 views
1

トラフィックの多い静的なWebサイトのパフォーマンスを向上させるソリューションは何ですか?静的なHTML /画像のパフォーマンスベンチマーク:lighthttpdとAmazon S3の比較?

EC2インスタンスのlighthttpd Webサーバー、またはAmazon S3で直接ページをホストしていますか?ベンチマークはありますか?

ありがとうございました。

+1

S3は、コスト、拡張性とシンプルさの点では固溶体であるように見えます。 正しい解決方法はさまざまな要因によって異なりますが、私はその話題に関する素晴らしい記事を見つけました。 http://cloudcomments.net/2012/01/24/simple-static-web-hosting-ec2-vs-s3/ – ipegasus

答えて

1

ここでは、テスト方法とモニタ方法を試してみましょう。

TOOLSは、あなたが私たちのいずれかの「AB」は、サイトに対してテストを実行することができるウェブサイト

  • の負荷を作成します。

    ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving. See how to use ab command. 
    

TOOLSパフォーマンスを測定TO

* httperf is a tool to measure web server performance. It speaks the HTTP protocol both in its HTTP/1.0 and HTTP/1.1 flavors and offers a variety of workload generators. Following command causes httperf to create a connection to host www.cyberciti.biz send and receive the reply, close the connection, and then print some performance statistics. 

    httperf --hog --client=0/1 --server=SITE_NAME --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=1 --num-calls=1 

* apachetop --> This is a console-based (non-gui) monitoring tool which reads the server-status pages from one or more Apache servers and combines the information onto one easy monitoring screen. It displays the current number of reads, writes, keepalives etc, plus the overall number of requests/hits processed, the amount of data transferred, the number of requests & data processed per second since the Apache servers were started, and the 'current' per second numbers 
関連する問題