MySQLのチューニングに欠かすことができない slow_log と explain ですが、 膨大な slow_log の中から怪しそうなクエリを探しだして explainをかける というのは結構手間がかかりめんどくさいものです。 myslowexplainは、slow_logに記録されたクエリに対してex... 続きを読む
会員数3000万程度の規模のサービスを運営しているものです。 まずは http://newrelic.com の無料版を導入してみれば、ありとあらゆるボトルネックが見つかって改善できると思います。 また、ruby 1.9.2は起動がすごく遅いですしGCの性能にも偏りがあるので、こ... 続きを読む
MySQL Query Analyzer Tab View Screenshot MySQL Query Analyzer Detail View Screenshot MySQL Query Analyzer EXPLAIN View Screenshot Improving Your SQL Query Performance Try It Now » The MySQL Query Analyzer helps you improve application perform... 続きを読む
Loading… Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here. Performance Schema @ MySQL Casual #2 - Presentation Transcript Performance Schema 活用入門... 続きを読む
株式会社レイハウオリは年収1000万円への転職サイト「ビズリーチ」を制作するにあたり、サイト高速化技術を用いたユーザエクスペリエンス向上施策を行った。今回はその効果の一部を紹介しよう。 サイト高速化とは? サイト高速化とはその名の通り、「ページの... 続きを読む
In Eclipse Juno SR1 on OSX 10.8.2 Mountain Lion, Java version "1.6.0_37", a while after startup it becomes very slow to simply switch between tabs for source files being edited. The CPU goes to 100% and the editor freezes for several seconds ... 続きを読む
I'm trying to use Eclipse Juno (Version: 4.2.0 Build id: I20120608-1400) with WTP for JavaScript/Node.js development on MacOSX Lion, on my 4GB RAM MacBook Pro. Sometimes it gets dead slow, and unusable. I've tried tweaking both through prefer... 続きを読む
Install more (another 4GB of) RAM. I'm being somewhat serious. Eclipse runs well on a 3GB windows 7 box. Not so hot with less memory. – pst Dec 10 '10 at 5:20 Version control would be my last choice of plugin to disable. I have found Eclipse... 続きを読む
Ilya Grigorik is extremely passionate about a web that works fast. Lucky for you, he works for Google's Make The Web Fast team, spending his days doing exactly that and as an advocate for performance best practices. He stopped by SFHTML5 to o... 続きを読む
はじめに こんにちは、ご無沙汰しています。 Web担当の野中です。 前回の第2回「検証ツールとそもそもHTTPって何だ編」から少し時間が経ってしまいました。 というのもテクニックを紹介するために予想以上の予備知識の説明と検証・調査が必要になり、さらにどう... 続きを読む
Apacheのログに%T or %Dでリクエスト処理時間を載せることができます。%Tと%Dは内部的には同じ計算値で、単位が異なるだけです(%Tは秒、%Dはマイクロ秒)。 このリクエスト処理時間は、いつからいつまでの処理時間でしょうか。つまり計測時間の開始と終了はどの... 続きを読む
UNIX系のOSで利用できるWebサーバの性能測定ツールといえば、Apache Benchやhttperfを思い浮かべる人が多いのではないでしょうか。これらの計測ツールは、残念ながら最近の高速なWebサーバを計測するには非力です。この記事では、高速なWebサーバにも負けないwe... 続きを読む
Stopwatch | By wwarby Flickr! こんにちわ、あなたのt32k、ごきげんいかがでしょう。みなさんはスマホWebアプリ作っていて、自分の作ったものは速いのか遅いのか気になりませんかね?僕は木に泣くりまくすてぃです。 そうゆうわけなもんで、表示速度とか計測し... 続きを読む
Back to Top Tracking Time Spent When you use the _trackTiming method, you specify the amount of milliseconds spent in the time parameter. So it’s up to you, the developer, to write code to capture this period of time. The easiest way to do t... 続きを読む
先日、Yahoo! ニュースからリンクして頂いたのを切っ掛けに、大量アクセスがありました。いつもは後で気がつくんですけど、たまたま Google Analytics のリアルタイム画面を開いたらその直前にアクセスが爆発していました。通称「Yahoo!爆弾」ってヤツですね。 ... 続きを読む
Webアプリケーションのパフォーマンスをトラッキングするために、app serverの処理にかかった時間を記録したい。方法を、以下のように分類できる。 1. reverse proxy側で、proxy先のapp serverがレスポンスを返してくるのにかかった時間をログに記録する場合 1.... 続きを読む
In our application we need to handle request volumes in excess of 5,000 requests per second. We've been told that this is feasible with Jetty in our type of application (where we must expose a JSON-HTTP API to a remote system, which will then... 続きを読む
負荷試験ツール「グリーン破壊」を公開しました で紹介したグリーン破壊ですが、その後も KLab 内の案件で利用されつつ 地道に強化されています。 最近強化された点を2つ紹介します。 グリーン破壊(KLab/green-hakai) 分散攻撃 以前紹介した時のグリーン破壊は ... 続きを読む
DB前回書いたMySQLパフォーマンスチューニングのためのインデックスの基礎知識に引き続き、MySQLのパフォーマンスチューニングについて学んだことをまとめ。MySQLを使っていると、クエリが遅い理由をつきとめる必要が出てくる。どうやって遅いクエリをつきとめ... 続きを読む
Introduction Configuring Jetty for highload, albeit for load testing or for production, requires that the operating system, the JVM, jetty, the application, the network and the load generation all be tuned. Load Generation for Load Testing Th... 続きを読む
JRuby, being built atop an optimizing VM (the JVM), sometimes tends to start up more slowly than the C-based, non-optimizing standard Ruby. This can often be very frustrating when running lots of commands at the command line. This page offers... 続きを読む
The application I’m currently working on is built around Spring. A couple of weeks ago, as I waited for it to start up for the 27th time that day, I began wondering if there was any way to get it to start faster. Coincidentally, our whole de... 続きを読む
I'm trying to integrate Spring in a pretty large application with thousands of classes, and i'm experiencing huge delays starting my container because of component-scanning. I have already narrowed the number of directories specified in the "... 続きを読む
Asim Ihsan Contents Case study: Log Parsing When to optimise Where to optimise How to optimise Much more is online. http://asimihsan.com Contents Case study: Log Parsing When to optimise Where to optimise How to optimise Log Parsing Input: bz... 続きを読む
Hibernate uses a fetching strategy to retrieve associated objects if the application needs to navigate the association. Fetch strategies can be declared in the O/R mapping metadata, or over-ridden by a particular HQL or Criteria query. Hibern... 続きを読む
Submitted by James Sugrue on Wed, 2009/06/10 - 4:25am Hibernate is a powerful, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following object-oriented idiom - including associa... 続きを読む
Sunday, January 23, 2011 Top 10 Hibernate Performance Tuning Tips (1) Avoid join duplicates (AKA cartesian products) due to joins along two or more parallel to-many associations; use Exists-subqueries, multiple queries or fetch="subselect" (s... 続きを読む
2013-03-19 mk(pt)-query-digestをもっと活用しよう! もはやこれが無くては障害対応ができないぐらい中毒になっているmk-query-digestさんについてです。 mk-query-digest - Analyze query execution logs and generate a query report, filter, replay, or tr... 続きを読む
というわけで、MyNA(日本MySQLユーザ会)会 2013年3月に参加して発表をしてきました。とてもリラックスして話をすることができました。司会進行の坂井さんをはじめ日本MySQLユーザ会のみなさま、日本オラクルのみなさま、当日お越しいただいたみなさま、どうもあ... 続きを読む
IT, Linux 某所の"munin"がびっくりするくらい画面表示が重くなっていて、ひょんなことから改善することになった話。前提条件として、このmuninが動いているサーバは数百台のノード(サーバ)を管理している状態で、muninのバージョンは2.0系でした。本当は、後学... 続きを読む
Linux Performance Analysis and Tools Presentation Transcript Linux Performance Analysis and Tools Brendan Gregg Lead Performance Engineer brendan@joyent.com SCaLE11x @brendangregg February, 2013Sunday, February 24, 13 Find the Bottleneck Oper... 続きを読む
参考にトップ1,000もどうぞ。 2.2 その他のツール 「GTmetrix」以外にも以下のようなサービスがあります。 PageSpeed Insights PageSpeed Insights GTmetrixと見ているものは基本同じですが個別に計測できます。 YSlow YSlow Google ChromeやFirefox、Opera、Sa... 続きを読む
Percona Toolkit is a collection of advanced command-line tools used by Percona support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually, including: Verify master and replica data consi... 続きを読む
Webアプリにおいて、アクセスやデータ量が多く/大きくなってくると、 バックエンドのパフォーマンスが低下しがちです。 MySQLなどのRDBMSにデータを置いている場合は適切に クエリーを改善する、インデックスを張る、といった策で解決する場合もありますが、 キ... 続きを読む
Sass/Compass/CSS Sprite/Gzip/ Minimize HTTP Requests! Requests 30 vs 1 (CSS Sprite) - YouTube http://www.youtube.com/watch?v=s__XwfwxMW8 続きを読む
Webパフォーマンス改善のためのChrome開発者ツール Web Performance Best Practice - Google Developers の翻訳はこちら http://t32k.github.com/speed/ 続きを読む
perlでかかれたwebサーバ Starman の爆速ぶりは目をみはる物がありますが自分の運用環境では lightyのproxyを介しての接続であるためkeepaliveが使えない等Starmanの機能を生かしきる事はできない。 じゃlighty以外のapacheやnginxとかReverseProxy専門のvarnis... 続きを読む
デジタル機器の利用動向で知られるコムスコアの調査によると、2011年12月時点の日本における携帯電話に占めるスマートフォンの割合は16.6%でしたが、2012年6月には23.5%になり、半年で約7ポイントも増加しました。「まだ4人に1人の割合じゃないか」と思う方もお... 続きを読む
完全に釣りタイトルですけど中身は真面目に書くよ。 近年、ウェブサイトのHTTPS化が流行のようになっている。私の知る限り、Googleの各種サービスやTwitter、Facebookなどが完全にHTTPSで通信を行うようになっている。HTTPS、つまりSSLによる通信の暗号化によ... 続きを読む
0 views Amazonのスマートフォンサイトに学ぶ、スマートフォンサイトの構築の仕方、考え方について。 More… Amazonにおけるスマートフォンコンテンツ構築理念とは — Presentation Transcript Amazonにおける スマートフォンコンテンツ構築理念とは 合理的思考... 続きを読む
パフォーマンスが悪い時にどこが遅いのか?を分析するのに便利なツールのメモ。 メモの概要は、以下 1.Eclipse TPTPのインストールの方法 2.サンプルプログラムの各メソッドの実行時間計測 3.結果の見方 1.インストール ・とりあえず、Eclipseをここか... 続きを読む
スタートアップ向け!1人日でできるサービスの高速化方法と成果 Presentation Transcript スタートアップでも これだけはやっておこう! 1人日で出来るサービス高速化 〜弊社の実施談まとめ〜 はじめに、⾃自⼰己紹介この資料料は 2012年年5⽉月創業のス... 続きを読む
Sencha Touchの開発チームがHTML5で高速に動作するFacebookアプリを開発したことを紹介した1つ前の記事 「Facebookのモバイルアプリが失敗した理由はHTML5のせいじゃない。HTML5でサクサク動くFacebookアプリを作って見せたSencha Touch開発チーム」は、非常に... 続きを読む
こんにちは最近一日に一回は波紋のビートを刻んでる村田です。 はじめに スマートフォンアプリの開発では回線状況や端末のスペックなど様々な状況下で動作するため、少しでも高速化できる余地があるのであればなんとか頑張りたいところですよね。 今日はサーバ... 続きを読む
This page applies to Jetty 7 and Jetty 8. For Jetty 9 documentation please look to the Documentation Hub. Introduction Tuning the JVM garbage collection (GC) can greatly improve Jetty performance. Specifically, you can avoid pauses while the ... 続きを読む
IT企業で働く残業しないゆるふわ系ネットワークエンジニアのBlogTweetこのサイトもnginx+PHP-FPM+MySQLで動作しているのですがphpをfastcgiで動かしている例は多くあったのですがPHP-FPMで書いている記事があまりない。 yumなどは使わずにソースから全てインス... 続きを読む
I am using resource local entitymanager with JPA 1 . What is the best practice for creating EntityManager that is Create do job close entitymanager everytime.(Entitymanager not heavy weight but still boring ) Create a entitymanager for every ... 続きを読む
Optimizing JPA Performance: An EclipseLink, Hibernate, and OpenJPA Comparison 'Impedance mismatch'. No two words encompass the troubles, headaches and quirks most developers face when attempting to link applications to relational databases (R... 続きを読む
For the latest EclipseLink documentation, please see http://www.eclipse.org/eclipselink/documentation/ EclipseLink provides a diverse set of features to measure and optimize application performance. You can enable or disable most features in ... 続きを読む
When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details. Comparison of JPA/Database speed - the averages (normalized score, higher is better)  Derby... 続きを読む