July 24, 200915:39 ã«ãã´ãªmysqlããã°ã©ãã³ã° ãã¤ã»ãã©ãã¯ãã¼ã« (2) - ããã«ãã¦ç§ã¯ãã©ãã¯ãã¼ã«ã«è¾¿ãçããã ããã°ã®ã¢ã¯ã»ã¹è§£æç¨ã«ä½¿ãã¹ãã¬ã¼ã¸ãé¸å®ããã®ã«å ã ã£ã¦ï¼ãããªæ¡ä»¶ä¸ã§ã®é度æ¯è¼ããã¦ã¿ãã 主ãªå¦çã¯ï¼ããã°æ¯ï¼ãããã¯ãã¼ã¸æ¯ã®ã¢ã¯ã»ã¹æ°ã®ã«ã¦ã³ãã¢ãããã¤ã¾ãï¼ããã°id & è¨äºid ããã¼ã¨ãã¦ï¼memcached ãªã set/incr, sqlãªã insert ã on duplicate key update ã æã®çºè¡ãããã200åã®ããã»ã¹ãï¼ããããå¹³è¡ãã¦ããããã¼ã®ã«ã¦ã³ãã¢ãã(æ¸ãè¾¼ã¿) ãè¡ãï¼ç¶ãã¦å¥ã®ãã¼ã®èªã¿åºããè¡ããã¨ããå¦çã500åç¹°ãè¿ãã(åè¨10ä¸åã®ã«ã¦ã³ãã¢ããã¨10ä¸åã®èªã¿åºãã«ç¸å½ã)ã¹ãã¬ã¼ã¸ã¯ï¼ãã³ããã¼ã¯ãè¡ãã¹ã¯ãªããã¨ã¯å¥ã®ãµã¼ãä¸ã«ããï¼å¿ ããããã¯ã¼ã¯
{{#tags}}- {{label}}
{{/tags}}