YUKI Hiroshi
null+****@clear*****
Sat Nov 29 03:11:09 JST 2014
YUKI Hiroshi 2014-11-29 03:11:09 +0900 (Sat, 29 Nov 2014) New Revision: e72e2cf92ef5dbdff82601ac28104c2ef5ebbd38 https://github.com/droonga/droonga.org/commit/e72e2cf92ef5dbdff82601ac28104c2ef5ebbd38 Message: Add descriptions for benchmark result to the news release Added files: images/news/2014-11-29-release/latency.png images/news/2014-11-29-release/throughput.png Modified files: _config.yml ja/news/_posts/2014-11-29-release.ja.md news/_posts/2014-11-29-release.md Modified: _config.yml (+1 -1) =================================================================== --- _config.yml 2014-11-29 01:48:48 +0900 (f0d9920) +++ _config.yml 2014-11-29 03:11:09 +0900 (3e2d425) @@ -3,7 +3,7 @@ markdown: kramdown permalink: /news/:year/:month/:day/:title.html url: http://droonga.org blog_base_url: /news/ -droonga_version: 1.0.7 +droonga_version: 1.0.8 copyright_year: 2013-2014 exclude: ["Rakefile", "Gemfile", "Gemfile.lock", "README.md", "vendor"] description: Droonga is a distributed full text search engine. Added: images/news/2014-11-29-release/latency.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: images/news/2014-11-29-release/throughput.png (+0 -0) 100644 =================================================================== (Binary files differ) Modified: ja/news/_posts/2014-11-29-release.ja.md (+26 -3) =================================================================== --- ja/news/_posts/2014-11-29-release.ja.md 2014-11-29 01:48:48 +0900 (19d6366) +++ ja/news/_posts/2014-11-29-release.ja.md 2014-11-29 03:11:09 +0900 (5c8702e) @@ -1,7 +1,6 @@ --- title: Droonga 1.0.8をリリースしました! layout: news-item.ja -published: false --- ## Droongaとは? @@ -35,9 +34,32 @@ Droongaクラスタは、レプリケーション機能を持つ[Groonga][groong また、`offset`の指定を伴う検索処理についても改善があります。 Groongaと比較してのベンチマーク結果は以下の通りです: -(TBD) +Groongaとの比較のベンチマーク結果は以下の通りです: -この結果に表れている通り、現在、Droongaの性能はGroongaに匹敵するレベルとなっています。 + + + +条件: + + * Wikipedia日本語版に由来する1500000件のレコード。 + * すべてのリクエストは、実際のページタイトルを使用した全文検索のクエリで、且つドリルダウンを伴う。 + 例: + `/d/select?command_version=2&table=Pages&limit=10&match_columns=title,text&output_columns=snippet_html(title),snippet_html(text),categories,_key&query_flags=NONE&sortby=title&drilldown=categories&drilldown_limit=10&drilldown_output_columns=_id,_key,_nsubrecs&drilldown_sortby=_nsubrecs&query=Wikipedia%3AText+of+GNU+Free+Documentation+License` + * キャッシュヒット率は50%を想定。 + * 開発用の物理的なPC上で計測を実施。 + * node0: Ubuntu 14.04LTS, Intel Core i5 M460 2.53GHz, 8GB RAM + * node1: Ubuntu 14.04LTS, Intel Core i5 650 3.20GHz, 6GB RAM + * node2: Ubuntu 14.04LTS, Intel Core i5 650 3.20GHz, 8GB RAM + * クライアント: Ubuntu 14.04LTS, Intel Core i5-4300U vPro 1.90GHz, 4GB RAM + +詳細な結果も[ダウンロード可能](https://github.com/droonga/presentation-groonga-night-5-droonga-as-groonga-with-replication/tree/master/benchmark)です。 + +上記の通り、現在、単一のDroongaノードのスループット性能はGroongaのそれに匹敵しています。 +それだけでなく、スループットの上限はDroongaノードをクラスタに追加することで拡大できます。 + +一方で、Droongaにおいては全般的にレイテンシがGroongaよりも大きいです。 +しかしながら、大量のアクセスがある場合には、GroongaとDroongaの性能は逆転します。 +大量のリクエストに対しては、DroongaはGroongaよりも迅速にレスポンスを返せます。 ### Groongaとの互換性の向上 @@ -101,6 +123,7 @@ Groongaと比較してのベンチマーク結果は以下の通りです: * Droonga 1.0.8をリリースしました! * フロントエンドのHTTPサーバのノードが、クラスタの構成ノードとして管理されるようになりました。 これにより、Droongaクラスタはより堅牢に動作するようになりました。 + * スループット性能はもはやGroongaと同等かそれ以上です。 * Groongaとの互換性が向上しました。 * Droongaプロジェクトは今後も新バージョンを毎月リリースしていきます。乞う御期待! Modified: news/_posts/2014-11-29-release.md (+25 -3) =================================================================== --- news/_posts/2014-11-29-release.md 2014-11-29 01:48:48 +0900 (89be623) +++ news/_posts/2014-11-29-release.md 2014-11-29 03:11:09 +0900 (daf8635) @@ -33,11 +33,32 @@ In other words, now it works like a simple load balancer. The performance issue around `groupBy` is solved for replicas with single slices. Moreover, search operations with `offset` option also optimized. -Results of benchmarks (comparisons with Groonga) are here: -(TBD) +Benchmark results (comparisons with Groonga) are here: -As above, currently Droonga's performance is comparable to Groonga. + + + +Conditions: + + * There are 1500000 records from Wikipedia (Japanese) + * All requests are full-text search queries for actual page titles, with drilldown, like: + `/d/select?command_version=2&table=Pages&limit=10&match_columns=title,text&output_columns=snippet_html(title),snippet_html(text),categories,_key&query_flags=NONE&sortby=title&drilldown=categories&drilldown_limit=10&drilldown_output_columns=_id,_key,_nsubrecs&drilldown_sortby=_nsubrecs&query=Wikipedia%3AText+of+GNU+Free+Documentation+License` + * Supposed cache hit rate is 50%. + * Measured on physical PCs for development. + * node0: Ubuntu 14.04LTS, Intel Core i5 M460 2.53GHz, 8GB RAM + * node1: Ubuntu 14.04LTS, Intel Core i5 650 3.20GHz, 6GB RAM + * node2: Ubuntu 14.04LTS, Intel Core i5 650 3.20GHz, 8GB RAM + * client: Ubuntu 14.04LTS, Intel Core i5-4300U vPro 1.90GHz, 4GB RAM + +Detailed results are [downloadable](https://github.com/droonga/presentation-groonga-night-5-droonga-as-groonga-with-replication/tree/master/benchmark). + +As above, currently throughput performance of single Droonga node is comparable to Groonga. +Moreover, throughput limit can be extended by adding more Droonga nodes to the cluster. + +On the other hand, there is a little latency basically on Droonga. +However, large number accesses turn the advantage around the upper limit of Groonga. +If there are too many requests, Droonga can respond quickly than Groonga. ### Better compatibility to Groonga @@ -105,6 +126,7 @@ Some minor incompatibilities have been corrected. * Droonga 1.0.8 has been released! * Front-end HTTP server nodes are now orchestrated as nodes in the cluster. Droonga clusters now work more robustly. + * The throughput performance is comparable to / better than Groonga now. * It becomes more compatible to Groonga. * Droonga project will release a new version every month! -------------- next part -------------- HTML����������������������������...Download