APCã®Webã¤ã³ã¿ã¼ãã§ã¼ã¹ã§ã¯ãã£ãã·ã¥ä½¿ç¨çã®åã°ã©ãã表示ããã¾ããããããå ã«memcacheã®ç®¡çç»é¢ãä½ã£ãæ¹ãããã£ãããããã§ãã For a long time I was looking for a nice web interface like the apc.php (comes with the apcâs source) that displays whole nine yards of stats. The only good tool is memcache-tool from the danga guys. Itâs quite complete but I guess Iâm too lazy to go on the command line. Anyways, I decided to rip write my own. Totally based
PHPã®ã¯ã©ã¹ã«åãã£ã¦ããstaticã¯Java(Servlet)ã®ããã¨ã¯éãHTTPã®ãªã¯ã¨ã¹ããå®äºããã¨ç ´æ£ããã¦ãã¾ãã¾ãã ãã®ããstaticãã£ã¼ã«ãã使ã£ãã·ã³ã°ã«ãã³ã®å®è£ ãè¡ã£ãã¨ãã¦ããªã¯ã¨ã¹ãããã度ã«ã¤ã³ã¹ã¿ã³ã¹ãçæããç¬ç«ããããã»ã¹ããåä¸ã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¢ã¯ã»ã¹ãããã¨ã¯ä¸å¯è½ã§ãã ããã§ä»åmemcachedãå©ç¨ãPHPã®åããã»ã¹ããåä¸ã®ã¤ã³ã¹ã¿ã³ã¹ãåç §ã§ããããã«ãã¦ã¿ããã¨æãã¾ãã ã¨ãã£ã¦ãã·ãªã¢ã©ã¤ãºããã¦ããã®ã§å³å¯ã«ã¯å¥ã®ã¤ã³ã¹ã¿ã³ã¹ã«ãªãã¾ããâ¦ã ã¡ãªã¿ã«memcachedã¨ã¯ãªãã¸ã§ã¯ããã¡ã¢ãªã«ãã£ãã·ã¥ãããPHPã¨ã¯ç¬ç«ãããµã¼ãããã°ã©ã ã§ãã å©ç¨ã§ããè¨èªã¯PHPã ãã«éããPerlãRubyãJavaãPythonãªã©ã«ã対å¿ãã¦ãã¾ãã ã¤ã³ã¹ãã¼ã«ã¯./configure && make &
æè¿ããmemcachedãæ´»ç¨ãã¦ãã¼ã¿ãã¼ã¹(RDB)ã®è² è·ãä¸ããã£ã¦è©±ãããããã ãããèããã¦ããããã©ãmemcachedã®æ´»ç¨ã¯ãæ ¼ç´ãªãã¸ã§ã¯ãã®âç²åº¦âï¼granularityï¼ããã¢ã ã¨æã£ã¦ã¾ãã memcachedã¯ãKeyã¨Dataããã¢ã§æ ¼ç´ãã¦ãKeyãä¸ããããã¨ãé¢é£ä»ããããDataãè¿ãã ãã®ã·ã³ãã«ãªã·ã¹ãã ãPerlãPHPã®é£æ³é åã¨åãããã®memcachedãRDBã®ãã£ãã·ã¥ã¨ãã¦æ´»ç¨ãã¦ããå ´åãmemcachedã«æ ¼ç´ãããã£ãã·ã¥ãã¼ã¿ã®åä½ãâç²åº¦âãã©ãè¨è¨ããããéè¦ã«ãªã£ã¦ããã RDBã®å ´åãæ ¼ç´ããããã¼ã¿ã¯Row(ã¬ã³ã¼ã)åä½ãããããã£ãã·ã¥ãRowåä½ã§ä½ã£ã¦ããã°ããã®ãã¨ããã°ãããã§ã¯ãã¾ããããªãã±ã¼ã¹ããããããããRDBã§ã¯å°ç¨ã®åãåããè¨èªã§ããSQLã使ã£ã¦ã SELECT * FROM hoge
å æ¥ãBrian Akerã¨ãã¯ã·ã£ã®ååæ°ã«ããmemcachedã®ã»ããã¼ããã£ãã å®è·µã§ä½¿ç¨ããä¸ã§ã®è©±ãéçºæåç·ã®è©±ãè´ãããããã»ããã¼ã¯é常ã«çæ³ã§ãã£ããçè ã«ã¨ã£ã¦ãé常ã«åå¼·ã«ãªãå 容ã ã£ããã»ããã¼ã®è³æã¯Brian Akeræ°ã®ãµã¤ãããå ¥æã§ããã®ã§ã»ããã¼ã«åå åºæ¥ãªãã£ãã²ã¨ã¯ãã®è³æãèªãã§èªç¿ãã¦é ãããã ãããããããæ°ã®ã¹ã©ã¤ãã¯ããã¨è¦ãã ãã§ã¯ãªãã¨ãªãåããã¥ããããã«ä¿ºã¯æãããªãã ãããï¼ããã¯ãã£ã¨å³ããªãããã ã»ã»ã»ã¨åæã«æ³åããããªãã³ãããã®ãæã«ã¯åæãªæ¶æ¸¬ã§çªãé²ãã®ãã¢ãªã ãã¡ãªã¿ã«Brianã®ã¹ã©ã¤ãã¯ã»ã¨ãã©è¦ç¹ã®ç®æ¡æ¸ãã«ãªã£ã¦ãããããã§ã¯è§£èª¬ããªãã¨ãç¹ã«æ°è¦ã«memcachedãMySQLãå¦ç¿ãã¦ãã人ãã¡ã«ã¯åããã¥ããã ããã ã¨ããããã§æ°ã«ä»£ãããmemcachedãã©ã®ããã«æ¢åã®ä»çµã¿ãç½®ãæãã
14:00ã14:50 E-2ã»ãã·ã§ã³ã®ãMemcached and MySQLãã®ææ³ã§ãã memcachedã®ä»çµã¿ããå§ã¾ã£ã¦ãMySQLã¯å¾æ¥ã®ãã¹ã¿ã¼ã»ã¹ã¬ã¼ãæ§æã ã¨ã·ã¹ãã ã巨大ã«ãªã£ã¦ããã¨ã«ãªã¹ã«ãªããããmemcachedã§æ´æ°DBã¨èªã¿è¾¼ã¿DBãåé¢ããã¨ããããã¨ããã話ã§ãããæå¾ã®æ¹ã«memcached1.2.5ã®ãã¤ããªãããã³ã«ã®ã話ãã¡ãã£ã¨ããã¦ã¾ãã çºè¡¨è³æãBrian Akeræ°ã®ãµã¤ãã§å ¬éããã¦ã¾ãã http://download.tangent.org/talks/Memcached%20Study.pdf Facebookãå°å ¥ãã¦ãblackholeã¨ã³ã¸ã³ã¨MySQLã¦ã¼ã¶å®ç¾©é¢æ°(UDF)ã使ã£ããã¼ã¿æ´æ°ã·ã¹ãã ã¯ä¸è¦ããªããã¼ã ãã©è¯ãèãã¦ä½ããã¦ããªãã¨æå¿ãã¾ããã§ããã ããããä»æ¥ã®ãã¬ã¼ã³ã¯Brian "Krow
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}