[Groonga-commit] droonga/presentation-droonga-meetup-1-introduction at 4a1cdce [master] Use droonga-send instead of droonga-request.

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jul 28 11:29:57 JST 2014


YUKI Hiroshi	2014-07-28 11:29:57 +0900 (Mon, 28 Jul 2014)

  New Revision: 4a1cdce2871e27f6b503ac509e1f08f73817b72c
  https://github.com/droonga/presentation-droonga-meetup-1-introduction/commit/4a1cdce2871e27f6b503ac509e1f08f73817b72c

  Message:
    Use droonga-send instead of droonga-request.
    
    Because droonga-request is too slow.

  Modified files:
    benchmark/README.md

  Modified: benchmark/README.md (+15 -7)
===================================================================
--- benchmark/README.md    2014-07-25 22:42:33 +0900 (f31f6dd)
+++ benchmark/README.md    2014-07-28 11:29:57 +0900 (da8067e)
@@ -130,17 +130,25 @@ workerの数は以下の方法で調べた物を設定する(既定値は4)
 
 ### データベースの用意
 
-    % time (cat ~/wikipedia-search/config/groonga/schema.grn | \
-              grn2drn | droonga-request --host 192.168.200.254 --port 10031)
-    % time (cat ~/wikipedia-search/config/groonga/indexes.grn | \
-              grn2drn | droonga-request --host 192.168.200.254 --port 10031)
-    % time (cat ~/wikipedia-search/data/groonga/ja-pages.grn | \
-              grn2drn | droonga-request --host 192.168.200.254 --port 10031)
+    % time (cat ~/wikipedia-search/config/groonga/schema.grn | grn2drn | \
+              droonga-send --server=droonga:192.168.200.254:10031/droonga \
+                           --server=droonga:192.168.200.3:10031/droonga \
+                           --server=droonga:192.168.200.4:10031/droonga)
+    % time (cat ~/wikipedia-search/config/groonga/indexes.grn | grn2drn | \
+              droonga-send --server=droonga:192.168.200.254:10031/droonga \
+                           --server=droonga:192.168.200.3:10031/droonga \
+                           --server=droonga:192.168.200.4:10031/droonga)
+    % time (cat ~/wikipedia-search/data/groonga/ja-pages.grn | grn2drn | \
+              droonga-send --server=droonga:192.168.200.254:10031/droonga \
+                           --server=droonga:192.168.200.3:10031/droonga \
+                           --server=droonga:192.168.200.4:10031/droonga)
 
 または
 
     % time (grndump $HOME/groonga/db/db | grn2drn | \
-              droonga-request --host 192.168.200.254 --port 10031)
+              droonga-send --server=droonga:192.168.200.254:10031/droonga \
+                           --server=droonga:192.168.200.3:10031/droonga \
+                           --server=droonga:192.168.200.4:10031/droonga)
 
 ## ベンチマーク実行環境のセットアップ
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index