We'll be back soon! Our site is currently undergoing maintenance. Please check back later.

å æ¥ãSPIDERã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã«ã¤ãã¦2度ã«æ¸¡ãæ¬ããã°ã§ç´¹ä»ããï¼ãã®ï¼ï¼Not Only NoSQL!! é©ç°çãªã¾ã§ã«WRITEæ§è½ãã¹ã±ã¼ã«ãããSPIDERã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ããã®ï¼ï¼å¿«é©ã¹ã±ã¼ã«ã¢ã¦ãçæ´»ã¸ã®ç¬¬ä¸æ©ãSPIDERã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã使ã£ã¦ã¿ããï¼ï¼ããSPIDERã®ä½è ã§ããæ¯æ³¢æ°ã¯ãå®ã¯ããä¸ã¤é©ãã¹ãã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ãéçºãã¦ããããã®åããVPã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã ãã¡ãã£ã¨å°å³ãªååã ããVPã¨ã¯ãVertical Partitioningï¼åç´ãã¼ãã£ã·ã§ãã³ã°ï¼ã®ç¥ã§ãè¤æ°ã®ãã¼ãã«ã®ä¸ã«VPã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã被ãã¦ãåç´ãã¼ãã£ã·ã§ãã³ã°ï¼ã«ã©ã ãã¨ã«ãã¼ã¿ãæ ¼ç´ããé åãåããï¼ãå®ç¾ããã¨ãããã®ã ãä»ã®ãã¼ãã«ã®ä¸ã«è¢«ããã¢ã¼ããã¯ãã£ãã¨ã£ã¦ããã¨ããç¹ã§ã¯ãVPã¨SPIDERã®çºæ³ã¯åãã§ããã以ä¸ã¯ãVPã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã®åä½
MySQLãé«éåãã10ã®æ¹æ³ã¨ããè¨äºãã¨ã¦ã好è©ã ã£ãããã§ãããè¨äºãèªãã§é ããçããããããã¨ãã ãã®è¨äºã«å¯¾ãã便ä¹ï¼ï¼ï¼ã§Webå±ã®ãã¿å¸³: PostgreSQLãé«éåãã16ã®ãã¤ã³ãã¨ããè¨äºãæ¸ãã¦é ããããã ãããã¡ãã®æ¹ãããªã人æ°ã ã£ãããã§ãããä»äººãä½ã£ãã½ããã¦ã§ã¢ã«æ¹è¯ãå ããã¨ããããªã¼ã½ããã¦ã§ã¢ããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã®ç²¾ç¥ãåºæ¬ã¯ä¾¿ä¹ã§ããã®ã§ã便ä¹ã«ã¤ãã¦ã¯å¤§ãã«è³æãããã¨ããããããåãä¸ãã¦ããã¦ãããã¨ãï¼ï¼ã¨æãããã§ããããããã§ããã«ä¿ºã¯ããèããã ã¨ã Webå±ã®ãã¿å¸³ããã®è¨äºã§ã¯16ã®ãã¤ã³ããç´¹ä»ããã¦ããããæ¼¢ï¼ãªãã³ï¼ã®ã³ã³ãã¥ã¼ã¿éã®è¨äºã¯10ã®æ¹æ³ã ã£ãã®ã§ãã¨6ã¤è¶³ããªãããªãã³ã¯æ°ã§åè² ï¼ï¼ã¨ããããã§ä»æ¥ã¯ãã¿ãæ¯ãçµã£ã¦ããã«7ã¤ã®MySQLé«éåãã¯ããã¯ãç´¹ä»ãããã 1. ã¤ã³ãã«ã³ã³ãã¤ã©
大è¦æ¨¡ãµã¤ãæ§ç¯ã®ããã®åå°ãä½ã£ã¦ããã¾ãã ASPäºæ¥ã«åãæ³¨å ¥ããã¨ãªãã¨ãï¼ï¼H7Dåä½ãç¶ããå®å®ãããµã¼ãã¹ã®ããã®ã¤ã³ãã©ãã¾ãã¾ãå¿ é ã«ãªãã¯ãã§ãã ã¢ã¼ããã¯ã WEBãµã¼ã ä½ã§ãããã WEBã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ Ruby on Rails DB MYSQL ã§å®é¨ãã¦ããã¾ãã ã¨ãããããå¿ è¦ãããªãã®ã 1. WEB è² è·åæ£ ã»åé·å 2. DB è² è·åæ£ 3. DB åé·å 4. Railsã®æ¡å¼µ(DBã¸ã®ã³ãã¯ã·ã§ã³å¨ã) ã¾ã1çªã ãã¼ããã©ã³ãµã¼ä½¿ãã°ã§ãããç¾å¨ã®ããªã³ã ã§ããDUOBLOG APIãCMS ASPã¯ã¯ãªã¢ãã¦ã¾ããDNSã©ã¦ã³ãããã³ã¯ãé害æ¤ç¥ãä¸å¯è½ãªã®ã§NGã§ãã 次ã¯ã2çªã ã¯ã¨ãªã¯ãåç §ç³»ã¯ã¨ãªã¨æ´æ°ç³»ã¯ã¨ãªã«åé¡ããã¾ãã ä»ããªã³ã ã§DBã¸ã®ã¯ã¨ãªãè² è·åæ£ããã¦ããããã¸ã§ã¯ãã¯(åã®ç¥ã£ã¦ããã¨ãã
Web ãããããã¼ã®ç¥å ¸ã«è¡ã£ã¦ãããä»åã¯ãé路沸ãã«ç¨æãããæ¯è¼ççãã¹ãã¼ã¹ã§éå¬ãããã 以ä¸ãã¡ã¢ã¨èªåã®åæãªææ³ãã¾ã¨ãã¦ããã ã¯ãã¯ãããã«ã¤ã㦠æ¯æ¥ã®æçã楽ãã¿ã«ãããã¨ã§å¿ããã®ç¬é¡ãå¢ãã 1998å¹´ã«ãªã¼ãã³ å»å¹´ã®ãªãã¥ã¼ã¢ã«ã®ã¨ãã« Rails ã§ä½ãç´ãã 使ãæ¹ ã¬ã·ããã®ãã ã¬ã·ããããã æéã¦ã¼ã¶æ° 547ä¸äºº Rails ãµã¤ãä¸ä¸ç7ä½ (from rails 100 wiki)ãã¾ãã1ä½ãscribd.comã¨ã¯ æé 2.8å PV(PVã§ã¯ãRais ãµã¤ãä¸ä¸ç3ä½) ç»é²ã¬ã·ãæ°: 47ä¸å ãã©ãã£ãã¯ã¯ã16-18æãããããã¼ã¯(å¤é£¯ãä½ãåã«èª¿ã¹ãã¦ã¼ã¶ãå¤ãã¨ã®ãã¨) ç§ãããã¬ã³ã¿ã¤ã³ã«ããã¦ãã©ãã£ãã¯ã伸ã³ã(æ¥é±ã¯ãã¼ã¯ã ã¨ãããã¨ã§ãæè¿ã¯ããã©ã¼ãã³ã¹åä¸ã«ä¸å¿ã«ãã£ã¦ãã) ã¦ã¼ã¶æ°: 547ä¸äºº(ã
http://jp.sun.com/company/events/2009/000387.html ãã«ãã³ã¢ã·ã¹ãã ãæ大éã«æ´»ããMySQLã®ã¹ã±ã¼ã©ããªãã£ã¨é«å¯ç¨æ§å®ç¾ã»ããã¼ ï½ æ©è½åä¸ããMySQL Cluster 7.0ææ°çã®è©³ç´°ã¨é«å¯ç¨æ§ã·ã¹ãã ã®ã¦ã¼ã¶å°å ¥äºä¾ï¼å®æ§ç¯ä¾ãä¸æãç´¹ä» ï½ @ãï¼é称ï¼MySQL Clusterã»ããã¼ãRead less
ã¯ããã¾ãã¦ï½¡ shirotterã¨ç³ãã¾ã。 ã¾ã ç«ã¡ä¸ããã°ããã®ãµã¯ãã¨ly.comã§ãã、ä»å¾ã¡ããã¡ããã¨æè¡çãªã¡ã¢ã主ã«æ²è¼ãã¦ããäºå®ãªã®ã§ï½¤èå³ã®ããæ¹ã¯ãã¾ã«è¦ãã¦ãã£ã¦ãã ãã。 ä»åã¯Linuxããã¯ã«æ±ããªãåã§ã、ã©ãã«ãä¸äººã§CentOSã«Redmineãã¤ã³ã¹ãã¼ã«ãããã¨ãåºæ¥ãã®ã§ï½¤ããã«ãã®æé ããµã¯ãã¨ã§ã¯ãªã、ãªãã¹ãä¸å¯§ã«è¼ãã¦ããããã¨æãã¾ã。 Redmineã®ã¤ã³ã¹ãã¼ã«æé CentOSã«Redmine + MySQL + Passengerç°å¢ãã¤ã³ã¹ãã¼ã«ããæé ã¯ä¸è¨ã®ããã«ãªãã¾ã。 äºåã®æºå MySQLã®ã¤ã³ã¹ãã¼ã« Ruby ã®ã½ã¼ã¹ããã®ã¤ã³ã¹ãã¼ã« Redmineã®ã¤ã³ã¹ãã¼ã«ã¨åæãã¼ã¿ã®ä½æ Passengerã®ã¤ã³ã¹ãã¼ã«ã¨apacheã®è¨å® Redmineã®ã¤ã³ã¹ãã¼ã«ç°å¢ ä»åã®ã¤ã³ã¹ãã¼ã«ç°å¢ã¯ä»¥ä¸ã®ããã«
MySQLã¯ããªã¼ã®DBMSã§ãããã¯ã©ã¹ã¿æ§æã«ãããã¨ãå¯è½ãªããã§ãã ããã§ã¯ãã¤ã³ã¹ãã¼ã«ããã¯ã©ã¹ã¿ã®è¨å®ã¾ã§ããã£ã¦ã¿ããã¨æãã¾ãã æ§æ â MySQLã§ã¯ã©ã¹ã¿ãæ§æããããã«ã¯ã管çãã¼ããDataãã¼ããSQLãã¼ãï¼ç¨®é¡ãå¿ è¦ã§ããã§ãããã以ä¸ã®ãããªå½¢ãããããã§ãã 管çãã¼ã ・・・ ã¯ã©ã¹ã¿ã管çããããã®ãã·ã³ãï¼å°ä»¥ä¸ãæã¾ããã Dataãã¼ã ・・・ ãã¼ã¿ã管çãããã·ã³ãå¾è¿°ãããNoOfReplicas?ãã®åæ°å°å¿ è¦ãæä½ï¼å° SQLãã¼ã ・・・ SQLãå¦çãããã·ã³ãDataãã¼ãã¨ã®å ±åãå¯è½ ä¸è¨ãåãã¦ãä»åã¯ãããªæ§æã«ãããã¨æãã¾ãã 192.168.1.101 ・・・ 管çãã¼ã 192.168.1.102 ・・・ Dataå ¼SQLãã¼ã 192.168.1.103 ・・・ Dataå ¼SQLãã¼ã â ã¤ã³ã¹ãã¼ã« â
ã©ããã£ã¦ããããããSQLãã¼ãã«æ¥ç¶ããã°ãããã ï¼ ãã¼ããã©ã³ã¹ã¯ï¼ ãã§ã¤ã«ãªã¼ãã¼ã¯ï¼ ã¨ãããã¨ãããã¨æãããã®ãã¼ããæ±ã£ãããã¥ã¡ã³ãã¯ããããã ã¡ããã©è¯ããã®ãè¦ããããªãããããããã®ç¹ãæ確ã§ãªãããã«ããããæè¿ãµã¤ãã®ãã©ãã£ãã¯ãå¢ãã¦ãããã¨ã ãããã£ã¡ãMySQL Clusterã試ãã¦ã¿ãããï¼ãã¨ããæ°ã«ãªãããå¤ãã®äººãå©ç¨ãèºèºã£ã¦ãã¾ã£ã¦ããã®ã§ã¯ãªãã ãããï¼ãªã®ã§ä»æ¥ã¯ãã®ç¹ã«ã¤ãã¦5ãã¿ã¼ã³ã®ã½ãªã¥ã¼ã·ã§ã³ãç´¹ä»ãããã¨æãã ãã®åã«ããMySQL Clusterã£ã¦ä½ã ï¼ã·ã©ãã¼ã¨ï¼ãã£ã¦äººã¯ãMySQL Clusterã®ç¹å¾´ãã»ããã¢ããæ¹æ³ãªã©ã以åã«ThinkITã¸æ稿ããã®ã§ãã¡ããåç §ãã¦è²°ãããã http://www.thinkit.co.jp/article/95/ ã§ã¯æ¬é¡ã 1. mysqldãã¢ããªã¨å ±åæãã
ãã¨ã§æ¸ããã¨è¨ã£ãæåãªã®ã§æ¸ãã¨ãã¾ãã DSASã®ä¸ã®äººããããå¢ã㧠LVS ã®è©±ãæ¸ãã¦ããã¦ã¾ãããã®è¾ºãLVS ã使ã㨠Linux ã¨ç®±ã§ãã¼ããã©ã³ãµãä½ãã¡ããã¾ããæ®éã«è²·ã£ããæ°ç¾ä¸ã¨ããã¡ãããã¤ã DSAS ã®ä¸ã®ã²ã¨ã«æè¬ãã¤ã¤ãããæ©ä¼ãªã®ã§ãã£ã¦ã¿ãã! ã¨æã£ã¦ãããã試ãã¦æ¨æ¥ãããããã¯ã¦ãªã®ä¸ã§ã LVS + keepalived ã§åããã¯ããã¦ã¾ãããã¾ã®ã¨ããåé¡ãªãã ãã®ãã¼ããã©ã³ãµãã©ãã«ä½¿ã£ã¦ããã§ãããæ®éãã¼ããã©ã³ãµã¨ããã¨ã¤ã³ã¿ã¼ãããããã®å ¥ãå£ã®ã¨ããã«ç½®ãã¦ã¦ã§ããµã¼ãã¼ã®è² è·åæ£ã«ä½¿ãã¤ã¡ã¼ã¸ãããã¾ããããä»åã¯ã¯ã¦ãªã§ã¯ MySQL ã®ã¹ã¬ã¼ãã®æåã«ç½®ãã¨ããå½¹å²ã§ã¨ãããã使ãã¯ããã¾ããã +-----------+ +-----------+ | mod_perl | | mod_perl | +----
æè¿ã2.0ãªæ¹ã ã®éã§Twitterã話é¡ã«ãªã£ã¦ããã§ããã®Twitterèªä½ãé¢ç½ããã ãã©ãTwitterã«ã¤ãã¦DHHãããã°ãæ¸ãã¦Railsã§ã®å¤§è¦æ¨¡ãµã¤ãæ§ç¯ã話é¡ã«ãªã£ã¦ãã®ãé¢ç½ãã Twitter trouble (Loud Thinking - DHH) ã¾ãTwitterã®é«è² è·ã«ã¤ãã¦è¨åãTwitterã¯11,000ãªã¯ã¨ã¹ã/ç§ ã®é«è² è·ã§åé¡ã¨ãªã£ã¦ãããããã ããã¦ã¹ã±ã¼ã©ããªãã£ã®éµã¯DBåå²ã ãã¨è¨ã£ã¦ãããRailsã¯åºæ¬ä¸ã¤ã®DBãè¦ãã®ã§ã¹ã±ã¼ã©ããªãã£ã®åé¡ã«ãªã ï¼ç¢ºãã«Webãµã¼ãã¯ãã¼ããã©ã³ãµãããã°ãããã§ãã¹ã±ã¼ã«ãããããSessionã®å ±æã ãæ°ãä»ããã°ï¼ â Dr Nic » Magic Multi-Connections: A âfacility in Rails to talk to more than o
MySQL ã®ãã¥ã¼ãã³ã°ãã¨è¨ã£ãå ´åã«ã¯ããµã¼ãã¼ãã©ã¡ã¼ã¿ã®èª¿æ´ã EXPLAIN ã³ãã³ããå©ç¨ããã¯ã¨ãªå®è¡è¨ç»ã®æé©åã話é¡ã«ä¸ããã¨ãå¤ãã§ããããããçºè¡ããå ¨ã¦ã® SQL ã«ã¤ãã¦ããã¡ãã¡ EXPLAIN ã³ãã³ãã使ã£ã¦ç¢ºèªãã¦ãã¦ã¯ããããæéããã£ã¦ãããã¾ããããã¥ã¼ãã³ã°ãå¹ççã«é²ããã«ã¯ãã¾ããããã«ããã¯ã¨ãªã£ã¦ãã SQL ã¯ã¨ãªãç¹å®ãã次ã«ãã®æé©åãè¡ãã¹ãã§ãã ã§ã¯ã©ã®ããã«ãã¦ãããã«ããã¯ãç¹å®ããã®ããMySQL Conference & Expo 2009 ã®ãã¼ãã¼ãã«ãã㦠Mark Callaghan æ°ã¯ãGoogle ã§ã¯ SHOW PROCESSLIST ã³ãã³ãã使ã£ãçµ±è¨çã¢ããã¼ãã使ã£ã¦ããã¨è¿°ã¹ã¦ããã£ãããã¾ã (åç §: MySQLConf 09: Mark Callaghan, "This is Not a
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}