[Groonga-commit] droonga/droonga.org at 47272ae [gh-pages] Add description for too low cache hit rate

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Mon Oct 6 13:51:51 JST 2014


SHIMODA "Piro" Hiroshi	2014-10-06 13:51:51 +0900 (Mon, 06 Oct 2014)

  New Revision: 47272ae5f5daead33c73fbe29682202c503839ba
  https://github.com/droonga/droonga.org/commit/47272ae5f5daead33c73fbe29682202c503839ba

  Message:
    Add description for too low cache hit rate

  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 (+8 -0)
===================================================================
--- _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-06 12:10:07 +0900 (bd557c3)
+++ _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-06 13:51:51 +0900 (bc84f01)
@@ -698,6 +698,14 @@ msgstr ""
 "これは、GroongaとDroonga(`droonga-http-server`)が既定の状態で最大で100件までの結果をキャッシュするためです。\n"
 "期待されるキャッシュヒット率が50%なのであれば、用意するべきユニークなリクエストの数は`N = 100 ÷ 0.5 = 200`と計算できます。"
 
+msgid ""
+"Note: if the actual rate is near zero, the number of unique requests becomes t"
+"oo huge!\n"
+"For such case you should carry up the rate to 0.01 (1%) or something."
+msgstr ""
+"注意: 実際のキャッシュヒット率が0に近い場合、必要となるユニークなリクエストの件数が巨大になってしまいます。\n"
+"このような場合は、キャッシュヒット率を`0.01`(1%)程度と見なすとよいでしょう。"
+
 msgid "### Format of request patterns file"
 msgstr "### リクエストパターンファイルの書式"
 

  Modified: ja/tutorial/1.0.7/benchmark/index.md (+3 -0)
===================================================================
--- ja/tutorial/1.0.7/benchmark/index.md    2014-10-06 12:10:07 +0900 (1886bc2)
+++ ja/tutorial/1.0.7/benchmark/index.md    2014-10-06 13:51:51 +0900 (abf0078)
@@ -362,6 +362,9 @@ GroongaとDroongaの性能を正確に比較するためには、キャッシュ
 これは、GroongaとDroonga(`droonga-http-server`)が既定の状態で最大で100件までの結果をキャッシュするためです。
 期待されるキャッシュヒット率が50%なのであれば、用意するべきユニークなリクエストの数は`N = 100 ÷ 0.5 = 200`と計算できます。
 
+注意: 実際のキャッシュヒット率が0に近い場合、必要となるユニークなリクエストの件数が巨大になってしまいます。
+このような場合は、キャッシュヒット率を`0.01`(1%)程度と見なすとよいでしょう。
+
 
 ### リクエストパターンファイルの書式
 

  Modified: tutorial/1.0.7/benchmark/index.md (+3 -0)
===================================================================
--- tutorial/1.0.7/benchmark/index.md    2014-10-06 12:10:07 +0900 (6ba91ed)
+++ tutorial/1.0.7/benchmark/index.md    2014-10-06 13:51:51 +0900 (687eb27)
@@ -353,6 +353,9 @@ You can control the cache hit rate by the number of unique request patterns, cal
 `N = 100 / (cache hit rate)`, because Groonga and Droonga (`droonga-http-server`) cache 100 results at a maximum by default.
 When the expected cache hit rate is 50%, the number of unique requests is calculated as: `N = 100 / 0.5 = 200`
 
+Note: if the actual rate is near zero, the number of unique requests becomes too huge!
+For such case you should carry up the rate to 0.01 (1%) or something.
+
 
 ### Format of request patterns file
 
-------------- next part --------------
HTML����������������������������...
Download 



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