[Groonga-commit] droonga/drnbench at 6e2cc05 [master] Add steps to run benchmark with a Protocol Adapter

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jan 15 19:14:08 JST 2014


YUKI Hiroshi	2014-01-15 19:14:08 +0900 (Wed, 15 Jan 2014)

  New Revision: 6e2cc05786d1500c5d9b076725fd8c477d617dc3
  https://github.com/droonga/drnbench/commit/6e2cc05786d1500c5d9b076725fd8c477d617dc3

  Message:
    Add steps to run benchmark with a Protocol Adapter

  Modified files:
    README.md

  Modified: README.md (+25 -0)
===================================================================
--- README.md    2014-01-15 19:13:46 +0900 (fdc1db3)
+++ README.md    2014-01-15 19:14:08 +0900 (673e362)
@@ -106,6 +106,31 @@ Drnbench will start multiple clients and send many requests of the "search" comm
         3,87,8.7,0.1658357,0.1658357,0.24303329366666668,0
         ...
 
+
+### Benchmarking of the "search" command, with a combination of a Droonga Protocol Adapter and a Droonga Engine.
+
+(Note: this feature is not implemented yet.)
+
+ 1. Create a pattern file.
+ 2. Setup a Droonga Engine server. For example, localhost:23003.
+ 3. Setup a Protocol Adapter server. For example, localhost:3003.
+ 4. Run drnbench with the pattern file and an extra option `--type=rest`.
+    
+        # cd ~/drnbench
+        # RUBYLIB=lib/ bin/drnbench \
+            --type=rest \
+            --start-n-clients=1 \
+            --end-n-clients=32 \
+            --step=1 \
+            --duration=10 \
+            --wait=0.01 \
+            --request-patterns-file=/tmp/patterns.json \
+            --host=localhost \
+            --port=3003
+    
+ 4. You'll get a result.
+
+
 ## License
 
 The MIT License (MIT)
-------------- next part --------------
HTML����������������������������...
Descargar 



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