Cacheã®å®è£ ã¨ãã¦ããã¼ã«ã«ã®ãã¡ã¤ã«ã·ã¹ãã ã使ããã®ã使ã£ã¦ã¿ã¦ã®ææãã¾ã¨ãããã å°å ¥ã«ãã享åã§ããæ©æµ å½ç¶ãªãããDBã¸ã®è² è·ãæ¸ããã ãã¡ã¤ã«ãªã®ã§è¤æ°ããã»ã¹ã§å ±æå¯è½ ãã¼ã«ã«ã«ããã®ã§ãããã¯ã¼ã¯ãã©ãã£ãã¯çºçããªã 注æãã¹ãç¹ ãã¡ã¤ã«I/Oãæèããå¿ è¦ããã key-valueçãªçºæ³ã§ä½¿ãã¨SQLããé ããªããã¨ãããããã ãã¨ãã°æ°çæ¥è¨ã100件ãã£ãã·ã¥ãã¦ãããã¨æã£ãã¨ãã«ã æ¥è¨IDãkeyã«ãã¦ãã¾ãã®ã¯NGã§ããããã®ã±ã¼ã¹ã ã¨100åã®File I/Oãçºçããããã§ããã æãå¹ççã«ããã«ã¯æ°çæ¥è¨100件ãããã·ã¥ãªãã¡ã¬ã³ã¹ã«å ¥ãã¦ã丸ã£ã¨ãã£ãã·ã¥ããã®ãããã ããã§ããã°ãèªã¿åºãã1åã§æ¸ãã ãã³ããã¼ã¯(set) use Cache::FileCache; use Benchmark; my $fcache1
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}