PostgreSQLã«ã³ãã¡ã¬ã³ã¹2013 LightningTalk ï¼2013-11-13: migr8.rbã®è¨å®ç®æãè¥å¹²ä¿®æ£ï¼ ï¼2013-11-14: SQLite3ã§ã®è¨å®çãä¿®æ£ããmigr8.rb new --table=usersãã追å ï¼
MySQLã³ãã¥ããã£ããã¼ã¸ã£ã®Morgan Tockeræ°ã«ããããã¼ãã«ãµã¤ãºã大ãããªãã«ã¤ãã¦INSERTã®ããã©ã¼ãã³ã¹ãè½ã¡ã¦ãã¦ãã¾ããã¨ãé²ãæ§ã ãªæ¹æ³ã«ã¤ãã¦ã®ã¾ã¨ãã ä»æ¥ã¯ãããã©ã¼ãã³ã¹åé¡ãå¼ãèµ·ããåå ã«ãªãããµã¤ãºã®å¤§ãããã¼ãã«ã®ããã©ã¼ãã³ã¹ãæ¹åãããã¨ã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãããã®ã¢ããã¤ã¹ã®ãã¡ã®ããã¤ãã¯ãããããã®ãã¼ãã«ãã¾ã¨ãã¦å¤§ãããªã£ã¦ãããã¼ã¿ãã¼ã¹ã«ãé©ç¨ã§ãããã大æµã®å ´åãç¬ç«ãã大ããªãã¼ãã«ã¨ããã®ã¯ç¹ã«åé¡ã«ãªãããããã®ã ã ä¸è¬çã«ç¥ããã¦ããã¨æãããã®ã¯ããã¼ãã«ãå¤æ´ããæã®ã¹ãã¼ãã¯ããã®ãµã¤ãºã大ãããªãã«ã¤ãã¦é ããªããã¨ã ã以ä¸ã®å³ã¯ãä¸è¬çãªB+ããªã¼ã¤ã³ããã¯ã¹ã®ããã©ã¼ãã³ã¹ãæç³»åã§è¦ããã®ã ã ãã®ã°ã©ãã¯ãMySQL@Facebookã®è¨äºããæåãããã®ã ãããã¯ãinsert buffe
ã¡ãã£ã¨åãã Docker ã使ã£ã¦ããã®ã§ããã®è©±ã Dockr ã«ã¤ã㦠Docker 㯠dotcloud ããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¦ãããã³ã³ããæè¡ã«ããä»®æ³åã½ããã¦ã§ã¢ã 以ä¸ã®ãã¯ããã¸ã¼ãã¼ã¹ã«ãã¦ãã: LXC åã«ãæ¸ãããXen ã¨ã VirtualBOX ã¿ããã«ãã¹ãå ã«ä»®æ³ãã·ã³ãç«ã¡ä¸ããããããªãã¦ããã¹ãå ã®éé¢ãããç°å¢ã§ä»®æ³ãã·ã³ãåããæè¡ãç©çãã·ã³ãã·ãã¥ã¬ã¼ã·ã§ã³ãã¦ããããããªãã£ã¦ãã¨ã¯ãVPS ã¨ã EC2 ã¨ãã®ä»®æ³ãã·ã³ä¸ã§ãåé¡ãªãåããããã·ã³ãèµ·åããããã»ã¹ãä¸è¦ã¨ãªãã®ã§ãä¸ç¬ã§ä½¿ãå§ããããã¨ããã¡ãªããã«ã¤ãªãã£ã¦ããã AUFS UnionFS(ãã£ã¬ã¯ããªãéãåããããã¨ãã§ãã)ã®å®è£ ã®ä¸ã¤ãå ã®ä»®æ³ãã·ã³ã¤ã¡ã¼ã¸ãæ¸ãæããªãã§ãæ´æ°ãçºçããé¨åã¯å¥ã®å ´æã«æ¸ãè¾¼ãã§ããããã«ãªã£ã¦ãããããã«ãããä»®æ³
çããã¯ãè² è·åæ£ç°å¢ã§ã®Apacheã®ã¢ã¯ã»ã¹ãã°ãã©ã®ããã«åãæ±ã£ã¦ã¾ããï¼ é常ãApacheã®ãã°ã¯åä½ãµã¼ãä¸ã®ãã¼ã«ã«ãã¡ã¤ã«ã¨ãã¦åºåãããã®ã§ã Webãµã¼ããåæã«ä½å°ã稼åããã¦è² è·åæ£ãè¡ããããªç°å¢ã§ã¯ãããããã¹ ã¦ã®Webãµã¼ãã®ãã°ãã¡ã¤ã«ãéããªããã°ãªãã¾ããããã¼ã«ã«ãã¡ã¤ã«ã¨ã ã¦åºåãããã¨ãããã¨ã¯ãWebãµã¼ãã®å°æ°åã ããã°ãã¡ã¤ã«ãã°ãããã㨠ãæå³ãã¾ããèããã ãã§ããã©ãããã§ããã KLabã§ã¯ããã®Apacheãã°ã2ãã¿ã¼ã³ã使ãåãã¦éãã¦ãã¾ããã²ã¨ã¤ã¯ syslogã«ãããªã¢ã¼ãåºåã使ããå ¨Webãµã¼ãããã®ãã°åºåãä¸ãæã«éä¸ã ããæ¹æ³ã§ããããã¯ãCustomLogãã£ã¬ã¯ãã£ãã«loggerã³ãã³ãã使ç¨ããã ã¨ã§å¯è½ã§ãã CustomLog "|/usr/bin/logger -p local6.inf
æ°ããæ å ±ãçãè¾¼ã¿ãä¿¡é ¼æ§ãæ£ç¢ºãã¨ãã£ãç®æ¨ãéè¦ããã¨ããåçããã®æ¹éã«å ãã¦ã第3çã§ã¯ãMySQLã®åä½ã®ä»çµã¿ã«é¢ããäºå®ã ãã§ãªããMySQLããã®ããã«åä½ããåçãä¼ãããã¨èãã¦å·çããã¦ãããããããåçã®å®è³ªçãªå¹æã示ããããå ·ä½çãªã¹ãã¼ãªã¼ãã±ã¼ã¹ã¹ã¿ãã£ãçãè¾¼ãã§ããããããã¼ã¹ã¨ãã¦ããMySQLã®å é¨ã®ã¢ã¼ããã¯ãã£ãå¦çããããªã£ã¦ããã¨ããããå®éã®ä½¿ç¨ç¶æ³ã§å®è³ªçã«ã©ã®ãããªå¹æãå¾ãããã®ããããããããå¹æã¯ãªãéè¦ãªã®ããããçµæã¨ãã¦ãMySQLã¯ç¹å®ã®ãã¼ãºã«ã©ã®ããã«é©ãã¦ãããããããã¯é©ãã¦ããªãããã¨ãã質åã«çãã¦ãããMySQL管çè ãã¢ããªã±ã¼ã·ã§ã³éçºè ãæ±ããå¿ é ã®ç¥èãææ³ãæãä¸ãã¦ãåé¡ã課é¡ã«å¯¾ãã¦å®è·µçãªèãæ¹ã¨è§£æ±ºã®ææ³ã示ããèªè ã®MySQLã«ã¤ãã¦ã®ç解ã¨æè¡ãä¸æ®µé«ãã¬ãã«ã«å¼ãä¸ãããæ¹è¨ç¬¬3çã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}