2006å¹´10æ24æ¥16:00 ã«ãã´ãªLightweight Languages perl - Cache::File 㨠Storable åºæ¥ã¾ããã¨ããããCacheã¯ã¯ããããStorableããµãã¼ããã¦ã¾ãã [ã] Data::Dumper 㧠eval ããã¡ã¢ Cache::File[2006-10-17-1]ã§Storeble[2006-05-09-2]ã使ãããã®ã ãã ã§ãããããªãã®ã§ï¼ä½ãè¯ãæ¹æ³ããã£ããæãã¦ä¸ããï¼ã ãªã«ããã$cache->get()ã$cache->thaw()ã«ã$cache->set()ã$cache->freeze()ã«ããããå¤ããã°ããã ããªã®ã§ããã楽ããã¾ãã ä¸ä¾ã¨ãã¦ã404 Blog Not Found:perl - xml2jsonp.cgiã§ç´¹ä»ããxml2jsonp.cgiãCache対å¿ã«ãã¦ã¿ãã®ã§ã
Squid2.6 ã®COSSãããæã Squidã®æ¯è¼çæ°ããcache_dirã®COSSãçµæ§ããæãã«åãã¦ããã COSSã ã¨ãcache objectãï¼ã¤ã®å¤§ããªãã¡ã¤ã«ã«ç´ããããã®ã§ããã£ã¹ã¯IOãããªãæ¹åãã¦ãã¾ãã ãã¾ãæ å ±ããªãã®ã§ãããWikiã«è¨å®ã®èª¬æã¨ãaufsã¨ã®æ¯è¼ã¨ããããã¾ãã cache_dir coss /var/spool/squid/coss 30000 block-size=2048 max-size=500000 cache_swap_log /var/spool/squid/%s ãããªæãã®è¨å®ã®ãµã¼ãã§ãcacheåæ° 50ä¸ãã¡ã¤ã«ä»¥ä¸ãæ大ãªã¯ã¨ã¹ãæ°500req/sec以ä¸ãHit rateã99%ã®ç¶æ ã«ããã¦ãCPUè² è·ãUser:æ°%ãiowait:1%å¼±ã¨ãã§æ¨ç§»ãããã¡ãã£ã¨cacheåæ°ã®å¤ããµã¼ãã§ãiowai
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}