Adding Simplicity - An Engineering Mantraさんとこの、 How eBay Scales Presentationからダウンロード出来るですなぁ。 PDFで37ページあるます。これからゆっくり読むデスヨ。 追記:これは、凄まじい。 スケーラビリティについて考える機会のある人は是非読むべきです。 唯一無二の答えだとは言わないけれども、1つの可能性として十分に考慮に値するアーキテクチャだと思うます。
ここから先が数字です。 補足や雑感をダラダラ書いたりもしています。 Requests per secondの数字は大きい方が、スループットが高く、より速いという事になります。 又、No.は、補足説明をする際に使用する項番です。 尚、スクリプトを見れば分るとおり、5回に渡って負荷をかけています。 それぞれの結果の中から、最も端的に結果を確認できる「Requests per second」を一覧化してみました。 No. (1) Struts + S2.4 + Kuina-Dao + JPA(Hibernate) 1075.44 [#/sec] 1107.79 [#/sec] 1105.82 [#/sec] 1108.95 [#/sec] 1188.89 [#/sec] (2) Struts + Spring2 + JPA(Hibernate) 974.94 [#/sec] 980.48 [#/
どの様な負荷をかける事によって得られた結果なのかについて、それなりに書いておきます。 負荷テストは、負荷のかけ方によって、180度違った結果が出る事があります。 今回は、Seasar2とSpring2の比較をしていますが、 僕がSeasar2寄りなモノの考え方をしているのは事実であり、その一点のみにおいて、Spring側は不利です。 例えば、Seasar2では、HotDeployと言う、パフォーマンスを犠牲にして開発効率を優先する機能がありますが、 当然の事ながら、この負荷テストを行うにあたって、当該機能はOFFになっています。 又、非常に単純な方法で負荷をかけていますので、現実の案件でやるべき負荷テストとは、 テストとしての品質において非常に劣っていると言わざるをえません。*1 基本的には、これから負荷テスト的な事をやりたいと思っている人の参考に少しでもなれればイイなぁ…と、思います。
今回の負荷テストを行ったハードウェア及び一部のミドルウェアについてです。 CPU vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz stepping : 6 cpu MHz : 3000.274 cache size : 4096 KBXeon 3GHz デュアルコアのCPUが2つのってるサーバです。 結局、コアは4個って訳です。 メモリ MemTotal: 2074780 kBんーと、つまり、2GBですな。 OS Linux version 2.6.9-34.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2))
Dolteng 0.16.1 をリリースしました。 以下の Update サイトからインストールすることができます. http://eclipse.seasar.org/updates/3.1/ 今回のリリースでは、先週辺りに話題になっていたDIのビジュアル化を僕なりに実装してみたですよ。 [Seasar]DI情報のビジュアル化 16:26 EclipseのJavaエディタでコードを書いているときに、DIされる(だろう)クラスをエディタの左側にマーカー表示するようにします。DoltengのHTMLとのマッピングでやってるのと同じようなイメージです。マーカーにカーソルを当てると実装クラス名がポップアップ表示され、そこに移動することも簡単にできるようになります。 まぁ、言葉で記述しても非常に伝わり辛いので、スクリーンショットをガシガシと使っているます。 まずは、Pageクラスにて、サービスクラ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く