PHPç¨ã®æ¡å¼µã©ã¤ãã©ãªãæä¾ããPECLï¼The PHP Extension Community Libraryï¼ã§ãã½ã¼ã·ã£ã«ãã¥ã¼ã¹ãµã¤ããdiggãã«ããmemcachedã¢ã¸ã¥ã¼ã«ãã1æ29æ¥ã«å ¬éãããããã¼ã¸ã§ã³ã¯0.1.0ãlibmemcachedã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã®ã©ããã¼ã¨ãã¦å®è£ ãããmgetãªã©ããµãã¼ããã¦ããã diggãªã¼ãã¢ã¼ããã¯ãã®Joe Stumpãå ¬å¼ããã°ã§æããã«ããã¨ããã«ããã¨ãæ¢åã®ä½æ©è½ã§ãã°ã®ããPECLã¢ã¸ã¥ã¼ã«ã«ä»£ããã¯ã©ã¤ã¢ã³ãã¨ãã¦ã次ã®ãããªæ©è½ãæããã ã³ãã¥ããã£æ¨æºã®ã©ã¤ãã©ãªlibmemcachedã§æ§ç¯ï¼PythonãRubyã¨åæ§ã«ï¼ CASæ©è½ããµãã¼ã ãã«ãgetããµãã¼ã ãªã¼ãã¹ã«ã¼ï¼read-throughï¼ãã£ãã·ã¥ã¨valueã³ã¼ã«ãã㯠ãã¤ããªãããã³ã«ããµãã¼ã ãããã¡æ¸ã込㿠ã¡ã
3ææ«ã«ãªãªã¼ã¹ããããã¼ã¸ã§ã³2.1.1ï¼ããã«2.1.2ããªãªã¼ã¹ï¼ãããå®é¨çã§ããsession storageã¨ãã¦ã®ãµãã¼ããããã¦ãã¾ãããå ·ä½çãªä½¿ãæ¹ã¯ã¾ã ããã¥ã¡ã³ãåããã¦ãªãããã§ãï¼ç¥ã£ã¦ãããæãã¦ä¸ãã :-)ï¼ã ã§ãè²ã 試ãã¦ã¿ããï¼PHP5.2.1ä¸ï¼ãmemcacheã®ã½ã¼ã¹ãçºãã¦ã¿ãã¨ããã extension=memcache.so session.save_handler = memcache session.save_path = "memcachedserver:11211"ã¨ããå ·åã« session.save_handlerã«ãmemcacheãã¨æå® session.save_pathã«memcachedã®åä½ãã¦ãããã¹ãåã¨Listenãã¼ããã³ãã³ã:ãåºåãã§æå® ã¨ããã°è¯ãããã§ãï¼ã¨ããããåä½ãããã¨ãããã¨ã§ãï¼ã
ã¢ã·ã¢ã«ã®å®ç¸¾ ãµã¼ããµã¤ãããããã³ãã¨ã³ããUI/UXãã¶ã¤ã³ã¾ã§ãããããæè¡ã»ãã¦ãã¦ãé§ä½¿ãã¦ãå¹ åºã課é¡ã解決ãã¦ããã¢ã·ã¢ã«ã®å®ç¸¾ã®ä¸ç«¯ããç´¹ä»ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}