2015-12-01ãã1ã¶æéã®è¨äºä¸è¦§
mysql Connector/J ã使ãæã«è²ã å¹ããã (ãããã¯å¹ããªãã) ãªè¨å®é ç®ã調ã¹ãã®ã§ã¾ã¨ãã¦ãããã¨ã¨ãã¾ãï¼ãªãï¼å¯¾è±¡ã¨ãã¦ãã mysql ã®ãã¼ã¸ã§ã³ã¯5.6 (以é)ï¼Connector/J ã®ãã¼ã¸ã§ã³ã¯5.1.34 (以é) ã§ãï¼ Connector/J ã¯è¨å®ã§ããé ç®â¦
HikariCP ã®ãã㪠connection pool ãå©ç¨ããä¸ã§ç¯ããã¡ãªãã¹ã¨ãã¦ï¼connection leak (pool ãã connection ã borrow ãã£ã±ãªã㧠pool ã«è¿å´ããªããã¨) ãããã¨æãã¾ãï¼connection leak ãæ¾ã£ã¦ãã㨠pool å ã® connection ãæ¯æ¸ãã¦ã«ã£â¦
ãã¦2015å¹´ãæ®ãã«ãªã£ã¦ãã¾ããã®ã§ï¼åä½ã«æ¼ããã¾ãã¦ã¯å¸¸èã®å¦ã kamipo TRADITIONAL ãæå¹ã«ãã¦ãããã¨ã¨åãã¾ãï¼ kamipo TRADITIONAL ã¨ã¯ãªãããï¼ã¨ããæ¹ã¯ä»¥ä¸ã®ã¨ã³ããªãåèã«ãªãã¾ããããä¸èªä¸ããï¼ ã㦠Java 㧠kamipo TRADITâ¦
HikariCP ã使ã£ã¦ããã¨ï¼connection ã®ç¶æ ãã¢ãã¿ãªã³ã°ãã¦ãããããªãã¨æãã¾ãï¼ä¾ãã° active 㪠connection 㨠idle ä¸ã® connection ã®æ¯çãè¦ããã£ããï¼ããã㯠connection ããªã¼ã¯ (ã¢ããªã±ã¼ã·ã§ã³ã connection ã borrow ããã ããâ¦
ä»æ¥ãå®æé社ãããã¨ã«æåãã¾ããï¼åã§ãï¼å®éã«ã¯45åã»ã©æ®æ¥ããã¾ãããããã¯å®æã¨è¨ã£ã¦ãéè²ã¯ããã¾ããï¼æé«ã®äºæ ã§ãï¼ã¨ããããã§èªçã«ãæåãã¦ãã¾ãï¼ã¯ã¼ãª pic.twitter.com/2ZcDdxliKLâ å®æã§å¸°ãã¾ã (@moznion) 2015, 12æâ¦