第7回大規模データ処理におけるCPUとI/Oのバランスをどう考えるか 山崎泰史,武吉佑祐 2013-03-19
第7回大規模データ処理におけるCPUとI/Oのバランスをどう考えるか 山崎泰史,武吉佑祐 2013-03-19
完全に釣りタイトルですけど中身は真面目に書くよ。 近年、ウェブサイトのHTTPS化が流行のようになっている。私の知る限り、Googleの各種サービスやTwitter、Facebookなどが完全にHTTPSで通信を行うようになっている。HTTPS、つまりSSLによる通信の暗号化によって、ユーザにこれまでよりも安全なウェブサイトを提供できる。 しかし、あなたが作っているサイトをふと思いつきでHTTPS化してしまうと、たぶん、これまでよりもサイトが遅くなる。ここでは、HTTPSで通信する場合の問題を解説する。 なぜ遅くなるのか HTTPで通信する場合、クライアントがサーバへと接続するためにはTCP/IPの3ウェイハンドシェイクという手順が必要になる。めんどくさいのでここでは詳しくは説明しないが、要するにクライアントがリクエストを投げる前にパケットを1往復させないといけないのである。パケットの往復
あろーは。 Google発のウェブページの表示速度計測ツール「Speed Tracer」を使ってみたよっ 正確には、Google Chrome用のエクステンションだ。紹介ページはこちらだよん。 Speed Tracer - Google Web Toolkit - Google Code 前に「Page Speed」ってゆーFirefox向けツールとか、「YSlow」ってゆー、これまたFirefox向けのYahoo!発のツールとか出てるけど、それのChrome版ぽい感じかな。 インストール作業 だがその前に、色々と前準備が必要なんだぁ。 Google ChromeのDev Channelバージョンが必要。ここからダウンロードしてインストールしてね。 Google Chrome起動時に、オプション引数が必要。例えばWindowsなら、ショートカットを右クリックして「プロパティ」から「リンク先
Android高速化テクニック第2章 特集1 Android による組込み開発 Android高速化 テクニック 中川 輪土 N a k a g a w a R i n d o 株式会社イーフロー 事業統括本部 第1事業部 第 2 章 行することができます。Androidは1990年代後半の Javaに似ています。AndroidとJavaの間には10年 分の差があることになります。本章ではこの10年間で 培ったJava高速化手法を元にしたAndroidの高速 化テクニックについて解説します。 Androidアプリケーション 高速化テクニック まずはAndroidアプリケーション高速化のテクニッ クについて解説します。Androidアプリケーションは Java言語で作成するため、Javaアプリケーションの 高速化テクニックがそのまま使えます。 ●インスタンス生成の抑制 インスタンスは以
You are here:Home » システム開発 » 強力な負荷テストツール、JMeter Plugins at Google Code Apache JMeterは、性能テスト、負荷テスト用のツールとして広く使われているが、そのJMeterをさらに便利にするプラグインがGoogleから配布されている。JMeter Plugins at Google Codeだ。 Methods & Toolsのサイトで、そのレビューが掲載されているので紹介しよう。 「JMeter-Plugins – More Obvious and Powerful Load Testing(JMeter-Plugins – 分かりやすく強力な負荷テストツール)」 ‘JMeter Plugins at Google Code (JP@GC) is a popular third-party plugins set
[対象: 中〜上級] 僕のブログではてブ数がいちばん多いのはウェブページを高速化するTIPSを解説した記事です(まだ読んでない人はぜひ読んでください!)。 その記事では高速化全般を扱っていましたが、今日の記事ではJavaScriptに的を絞って表示速度をスピードアップできる施策を6つ紹介します。 もともとはSearch Engine PeopleブログのOptimizing JavaScript for Better Web Performanceで説明されていたものです。 記事作者のJoydeep Deb(ジョイディープ・デブ)氏に僕のブログでの転載許可をもらえました (Thanks, Joydeep!)。 逐一の翻訳ではなく、書かれている内容をもとに僕の言葉で解説していきます。 1. HTTPリクエスト削減のためにJavaScriptファイルを1つに統合する ウェブページの表示を高速化
Webパフォーマンス ベストプラクティス Last updated: 02 October 2012 翻訳:@t32k WebページをPage Speedで調べるとルールに準拠していないものが提示される。このルールというのは、一般的にあなたが開発段階において取り入れるべきフロントエンドのベストプラクティスだ。あなたがPage Speedを使用しようとしまいと、私たちはこの各ルールについてのドキュメントを提供する(たぶんちょうど新しいサイトを開発中でテストする準備が整ってないだろう)。もちろん、これらのページはいつでも参照することができる。私たちはあなたの開発プロセスに取り入れてもらうために、このベストプラクティスを実装するための明確なティップスと提案を提供する。 パフォーマンス ベストプラクティスについて Page Speedはクライアント側からの観点でパフォーマンスを評価し、一般的にペー
ウェブサイト高速化勉強会 : ATND 2012/09/29 ウェブサイト高速化勉強会 #tnmk0929 - Togetter さくらのVPSにてサーバ&ドメイン取得を行った流れもあり、個人用鯖にも何らかのWebコンテンツを配備・公開して行く事になるだろう(てかそういう風にして行きたい)と言うのもあり、ちょうど目にしたこちらの勉強会に目が留まり、参加して来ました。 なので現状のWebサイトを高速化させるために、ってのではなくて今後のために、という意味合いが強いですね。 会場は横浜タネマキ。最近は個人的にはYokohama.groovy等で2週間に一遍は使ってる感じですね。 タネマキ 【コワーキング & シェアオフィススペース】 開始間際、ディスプレイ接続で調整が上手く行かず10分程押した後スタート。 Web Site Optimization for Beginners こもり まさあき
ホーム 技術ブログ Cloud Week 2012@北海道大学で「ソーシャルゲームを支える技術 – クラウドを活用した高負荷対策」という発表を行いました Cloud Week 2012@北海道大学で「ソーシャルゲームを支える技術 – クラウドを活用した高負荷対策」という発表を行いました 少し前のことになりますが、2012年8月28~30日に北海道大学で行われた「Cloud Week 2012@北海道大学 ~クラウド技術の最先端を探る~」というイベントで、講演発表を行ってきましたので、資料を公開したいと思います。 私はプログラム3日目の「地域クラウドシンポジウム2012 地域コミュニティとクラウド」で、1コマお時間をいただくことができましたので、「ソーシャルゲームを支える技術 – クラウドを活用した高負荷対策」と題した発表を行わせていただきました。 講演を聴いて戴いたみなさま、関係者のみなさ
今年はさだまさしさんのデビュー40周年ということで、記念コンサート「さだまつり」も絶賛開催中の折も折、残暑も厳しい中皆様いかがお過ごしでしょうか。大平です。 さだまさし氏は経験の豊富な方ですので彼の歌や発言から学ぶことは大変多いのですが、個人的に非常に感銘を受けているのは「歌はコンサートで成長する」という言葉です。歌い手として、「歌」という作品を作って公開・販売するだけが仕事ではなく、実際にコンサートなどでお客さんに届け、お客さんの反応を参考にしたり日々の演奏活動の中で試行錯誤を繰り返して、内容をブラッシュアップし洗練させていく過程を指して先の言葉があるのだと思います。実際にさだまさし氏の曲はCDに収録されているものと実際にライブで演奏されるものとでアレンジが大きく異なり、かつ作品としても質が向上しているものが少なからず存在します。 …あまりさだまさしの話を続けると本当に上長に叱られますの
ストリーミング配信やDBでの使用時など、システムのパフォーマンスを見た際にStorageがボトルネックになることは多々あります。 またStorageのパフォーマンスはHDDの回転数や、ファイルの配置方法、またファイルシステムなどにも依存するので、共通したベンチマークテストが必要になってきます。 自分で、ddコマンドを使って作成しても良いのですが今回は手軽にベンチマーク試験を行うことができる、IOzoneを紹介したいと思います。 IOzoneをダウンロードしてくる。 公式サイトは以下になります。 Iozone Filesystem Benchmark さてここから取得して、インストールをしましょう。 # wget http://www.iozone.org/src/current/iozone3_283.tar # tar xvf iozone3_283.tar # cd iozone3_2
アプリケーションを構築するうえで、機能要件のみならず、エンド・ユーザーにストレスを与えないパフォーマンスを確保することは重要だ。旧来は「8秒ルール」などという言葉が聞かれたものであるが、昨今、「5秒ルール」「3秒ルール」とますます厳しくなるユーザー要件に、頭を抱える開発者諸兄も多いのではないだろうか。アプリケーション開発において、パフォーマンス・チューニングの重要性はますます高まっているのだ。もはやテスト工程の重要な1ステップとして、パフォーマンス性能を判断する「負荷テスト」の存在は欠かせないものだろう。 負荷テストを実施するツールとしては、Microsoftから無償で提供されている「Web Application Stress Tool」というツールが有名だ。しかし、Web Application Stress Toolは日本語化されておらず、ドキュメントも少ないため、ツール操作の習得自
すべて Microsoft 製品 Microsoft 365 Office Windows Surface Xbox セール サポート ソフトウェア Windows アプリ OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox Live Gold Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Azure Microsoft Dynamics 365 Microsoft 365 Microsoft Industry データ プラットフォーム Power Platform 法人向けを購入する Developer & IT .NET Visual Studio
このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 .NET ガベージ コレクション ヒープをプロファイリングする S. Ramaswamy、V. Morrison 2009 年 6 月号の MSDN Magazine の記事「.NET アプリケーションのメモリ使用量の監査」では、タスク マネージャー、PerfMon、VADump などのツールを使用してメモリの使用量を監視する方法について説明しました。これらのツールは、アプリケーションの全体的なメモリ使用量を監視するのに役立ちます。通常、.NET アプリケーションで大量のメモリを消費している場合、その原因は、アプリケーションで多数の DLL を読み込んでいるか、アプリケーションによって .NET ガベージ コ
アプリケーションの開始後に、ジェネレーション 0 のオブジェクト (最後に割り当てられた、最も若いオブジェクト) がガベージ コレクションされた回数を表示します。 ジェネレーション 0 ガベージ コレクションは、割り当て要求を満たすために利用できるジェネレーション 0 のメモリが不足したときに発生します。 このカウンターは、ジェネレーション 0 のガベージ コレクションの最後にインクリメントされます。 上位のジェネレーションのガベージ コレクションには、それより下位のすべてのジェネレーションのコレクションが含まれます。 このカウンターは、上位のジェネレーション (ジェネレーション 1 または 2) ガベージ コレクションが発生したときに明示的にインクリメントされます。 このカウンターは、最後に計測された値を表示します。 _Global_ カウンターの値は正確でないので、無視する必要がありま
Considering this sample, here's the worst case scenario for the eleventh GC. Say the tenth Gen 0 collection finished at the beginning of the second interval and the eleventh Gen 0 collection finished at the end of the third interval. That means the time between the end of the two collections is about two sampling intervals, or two seconds. The % Time in GC counter shows 3 percent, and so the eleve
基本的には、この値はシステムの起動から終了時まで変わることはない(稼働中にメモリを追加できるホットアドオンメモリをサポートしたサーバシステムの場合は変わることがある)。 ■キャッシュ済み (6) これは、キャッシュ(SuperFetchの分も含む)として利用されているメモリ領域のサイズを表す。 キャッシュは、パフォーマンス向上のためにファイルのデータを先読みしたり、書き込み済みのデータをそのまま保持しておいて、後で再利用したりできるようにするために利用される。また実行済みのプログラムやリソース領域をすぐにクリアせずに残しておいて、プログラムの再起動を高速に行ったり、SuperFetch用の領域などとしても利用される。 キャッシュに保存されているデータやプログラムは、ディスクへのアクセスというペナルティなしに高速に利用できる。 ■利用可能 (7) これはWindows 7およびWindows
C#とJavaの言語選定にあたり、実行環境の比較をするため、ガベージコレクタについて調べていました。 .NET Frameworkのガベージコレクション方式は世代別GCですが、Javaとは随分異なっています。特に顕著に異なっているのがLOH(Large Object Heap)と呼ばれる大きなサイズのオブジェクトを格納する専用ヒープ領域がある点です。現在のバージョンでは、85KB以上のサイズのオブジェクトは世代別管理のヒープ(generation 0)ではなく、このLOHに割り当てられます。 この仕組みについては、MSDNマガジン(オンライン)の記事に詳しくあります(以下URL)。 CLR徹底解剖:大きなオブジェクトヒープの秘密 LOHは、第2世代(Javaで言えばOld世代)のGCと同じタイミングでGCがかかります。LOHでは、オブジェクトか回収された後、コンパクションを実施しないため、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く