[Groonga-commit] droonga/droonga.org at 496e3cb [gh-pages] Add a section to describe two indexes: response time and throughput

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Sat Oct 4 12:11:23 JST 2014


SHIMODA "Piro" Hiroshi	2014-10-04 12:11:23 +0900 (Sat, 04 Oct 2014)

  New Revision: 496e3cbc1cf0fd230d755e7a833b4b9ce25ee2d1
  https://github.com/droonga/droonga.org/commit/496e3cbc1cf0fd230d755e7a833b4b9ce25ee2d1

  Message:
    Add a section to describe two indexes: response time and throughput

  Modified files:
    _po/ja/tutorial/1.0.7/benchmark/index.po
    ja/tutorial/1.0.7/benchmark/index.md
    tutorial/1.0.7/benchmark/index.md

  Modified: _po/ja/tutorial/1.0.7/benchmark/index.po (+40 -13)
===================================================================
--- _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-04 04:56:37 +0900 (59e7820)
+++ _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-04 12:11:23 +0900 (7d753f3)
@@ -90,22 +90,35 @@ msgstr ""
 "もちろん、単にGroongaとDroongaの性能差を知りたいと思うこともあるでしょう。\n"
 "ベンチマークによって、差を可視化することができます。"
 
-msgid "### How the benchmark tool measures the performance?"
-msgstr "### ベンチマークツールはどのように性能を測定するのか"
+msgid "### How visualize the performance?"
+msgstr "### 性能の可視化の方法"
+
+msgid "There are two major indexes to indicate performance of a system."
+msgstr "あるシステムの性能を表す指標としては、以下の2つが多く使われます。"
 
 msgid ""
-"You can run benchmark with the command `drnbench-request-response`, introduced"
-" by the Gem package [drnbench]().\n"
-"It measures the throughput performance of the target service - how many reques"
-"t can be processed in a time.\n"
-"The performance index is described as \"*queries per second* (*qps*)\"."
+" * response time\n"
+" * throughput"
 msgstr ""
-"ベンチマークは、[drnbench]()というGemパッケージによって導入される`drnbench-request-response`コマンドで行うことがで"
-"きます。\n"
-"このツールは、対象サービスのスループット性能、つまり、一度にどれだけの数のリクエストを捌けるかを計測します。\n"
-"性能の指標は「*クエリ毎秒*(Queries Per Second, *qps*)」という単位で表されます。"
+" * 応答時間\n"
+" * スループット"
+
+msgid ""
+"Response time is the actual elapsed time between two moments: when the system "
+"receives a request, and when it returns a response.\n"
+"In other words, for clients, it is the time to wait for each request.\n"
+"At this index, the smaller is the better.\n"
+"In general, response time becomes small for lightweight queries, small size da"
+"tabase, or less clients."
+msgstr ""
+"応答時間とは、システムがリクエストを受け取ってからレスポンスを返すまでに実際にかかった時間のことです。\n"
+"言い換えると、これは各リクエストについてクライアントが待たされた時間です。\n"
+"この指標においては、数値は小さければ小さいほどよいです。\n"
+"一般的に、クエリが軽い場合や、データベースのサイズが小さい場合、クライアント数が少ない場合に、応答時間は短くなります。"
 
 msgid ""
+"Throughput means how many request can be processed in a time.\n"
+"The performance index is described as \"*queries per second* (*qps*)\".\n"
 "For example, if a Groonga server processed 10 requests in one second, that is "
 "described as \"10qps\".\n"
 "Possibly there are 10 users (clients), or, there are 2 users and each user ope"
@@ -113,12 +126,26 @@ msgid ""
 "Anyway, \"10qps\" means that the Groonga actually accepted and responded for 10 "
 "requests while one second is passing."
 msgstr ""
+"スループットは、一度にどれだけの数のリクエストを捌けるかを意味するものです。\n"
+"性能の指標は「*クエリ毎秒*(Queries Per Second, *qps*)」という単位で表されます。\n"
 "例えば、あるGroongaサーバが1秒に10件のリクエストを処理できたとき、これを「10qps」と表現します。\n"
 "10人のユーザ(クライアント)がいるのかもしれませんし、2人のユーザがそれぞれブラウザ上で5つのタブを開いているのかもしれません。\n"
 "ともかく、「10qps」という数値は、1秒が経過する間にそのGroongaサーバが実際に10件のリクエストを受け付けて、レスポンスを返したということを意味し"
 "ます。"
 
 msgid ""
+"You can run benchmark with the command `drnbench-request-response`, introduced"
+" by the Gem package [drnbench]().\n"
+"It measures both response time and throughput of the target service."
+msgstr ""
+"ベンチマークは、[drnbench]()というGemパッケージによって導入される`drnbench-request-response`コマンドで行うことがで"
+"きます。\n"
+"このツールは、計測対象のサービスについて応答時間とスループットの両方を計測できます。"
+
+msgid "### How the benchmark tool measures the performance?"
+msgstr "### ベンチマークツールはどのように性能を測定するのか"
+
+msgid ""
 "`drnbench-request-response` benchmarks the target service, by steps like follo"
 "wing:"
 msgstr "`drnbench-request-response`は、対象サービスの性能を以下のようにして計測します:"
@@ -1064,8 +1091,8 @@ msgstr ""
 msgid ""
 "  [Ubuntu]: http://www.ubuntu.com/\n"
 "  [CentOS]: https://www.centos.org/\n"
-"  [Droonga]: https://droonga.org/ja/\n"
-"  [Groonga]: http://groonga.org/ja/\n"
+"  [Droonga]: https://droonga.org/\n"
+"  [Groonga]: http://groonga.org/\n"
 "  [drnbench]: https://github.com/droonga/drnbench/\n"
 "  [wikipedia-search]: https://github.com/droonga/wikipedia-search/\n"
 "  [command reference]: ../../reference/commands/"

  Modified: ja/tutorial/1.0.7/benchmark/index.md (+18 -4)
===================================================================
--- ja/tutorial/1.0.7/benchmark/index.md    2014-10-04 04:56:37 +0900 (9d5d305)
+++ ja/tutorial/1.0.7/benchmark/index.md    2014-10-04 12:11:23 +0900 (956b9a4)
@@ -48,16 +48,30 @@ DroongaはGroongaと互換性があるため、Groongaベースのアプリケ
 ベンチマークによって、差を可視化することができます。
 
 
-### ベンチマークツールはどのように性能を測定するのか
+### 性能の可視化の方法
 
-ベンチマークは、[drnbench]()というGemパッケージによって導入される`drnbench-request-response`コマンドで行うことができます。
-このツールは、対象サービスのスループット性能、つまり、一度にどれだけの数のリクエストを捌けるかを計測します。
-性能の指標は「*クエリ毎秒*(Queries Per Second, *qps*)」という単位で表されます。
+あるシステムの性能を表す指標としては、以下の2つが多く使われます。
 
+ * 応答時間
+ * スループット
+
+応答時間とは、システムがリクエストを受け取ってからレスポンスを返すまでに実際にかかった時間のことです。
+言い換えると、これは各リクエストについてクライアントが待たされた時間です。
+この指標においては、数値は小さければ小さいほどよいです。
+一般的に、クエリが軽い場合や、データベースのサイズが小さい場合、クライアント数が少ない場合に、応答時間は短くなります。
+
+スループットは、一度にどれだけの数のリクエストを捌けるかを意味するものです。
+性能の指標は「*クエリ毎秒*(Queries Per Second, *qps*)」という単位で表されます。
 例えば、あるGroongaサーバが1秒に10件のリクエストを処理できたとき、これを「10qps」と表現します。
 10人のユーザ(クライアント)がいるのかもしれませんし、2人のユーザがそれぞれブラウザ上で5つのタブを開いているのかもしれません。
 ともかく、「10qps」という数値は、1秒が経過する間にそのGroongaサーバが実際に10件のリクエストを受け付けて、レスポンスを返したということを意味します。
 
+ベンチマークは、[drnbench]()というGemパッケージによって導入される`drnbench-request-response`コマンドで行うことができます。
+このツールは、計測対象のサービスについて応答時間とスループットの両方を計測できます。
+
+
+### ベンチマークツールはどのように性能を測定するのか
+
 `drnbench-request-response`は、対象サービスの性能を以下のようにして計測します:
 
  1. マスタープロセスが仮想クライアントを1つ生成する。

  Modified: tutorial/1.0.7/benchmark/index.md (+18 -4)
===================================================================
--- tutorial/1.0.7/benchmark/index.md    2014-10-04 04:56:37 +0900 (57af3cc)
+++ tutorial/1.0.7/benchmark/index.md    2014-10-04 12:11:23 +0900 (e98d81e)
@@ -39,16 +39,30 @@ Of course you may simply hope to know the difference in performance between Groo
 Benchmarking will make it clear.
 
 
-### How the benchmark tool measures the performance?
+### How visualize the performance?
 
-You can run benchmark with the command `drnbench-request-response`, introduced by the Gem package [drnbench]().
-It measures the throughput performance of the target service - how many request can be processed in a time.
-The performance index is described as "*queries per second* (*qps*)".
+There are two major indexes to indicate performance of a system.
 
+ * response time
+ * throughput
+
+Response time is the actual elapsed time between two moments: when the system receives a request, and when it returns a response.
+In other words, for clients, it is the time to wait for each request.
+At this index, the smaller is the better.
+In general, response time becomes small for lightweight queries, small size database, or less clients.
+
+Throughput means how many request can be processed in a time.
+The performance index is described as "*queries per second* (*qps*)".
 For example, if a Groonga server processed 10 requests in one second, that is described as "10qps".
 Possibly there are 10 users (clients), or, there are 2 users and each user opens 5 tabs in his web browser.
 Anyway, "10qps" means that the Groonga actually accepted and responded for 10 requests while one second is passing.
 
+You can run benchmark with the command `drnbench-request-response`, introduced by the Gem package [drnbench]().
+It measures both response time and throughput of the target service.
+
+
+### How the benchmark tool measures the performance?
+
 `drnbench-request-response` benchmarks the target service, by steps like following:
 
  1. The master process generates one virtual client.
-------------- next part --------------
HTML����������������������������...
Download 



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