Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
UPDATEãè¬ã«å ã¾ããGoogleã®ç 究é¨éãXããã極ãã¦ä¸å¤«ã§éåã«éããç´ æãè¿ããã¡ã«çºè¡¨ããå¯è½æ§ãåºã¦ãããåé¨éã®è²¬ä»»è ã¯ããããä¸çãå¤ãããããããªãã¨èãã¦ããã¨ããã Googleã¯ã骨ã®æ§é ã«ãã³ããå¾ãBoeingã®ãã¤ã¯ãã©ãã£ã¹ãè¶ ããç´ æãçã¿åºããã¨ãã¦ããã®ãããããªããç¾å¨ãä¸çã§æã軽ãç´ æãã¨ããã¦ãããã¤ã¯ãã©ãã£ã¹ã¯ãé«ã強度ãæã¡ãªãããã¿ã³ããã®ç¶¿æ¯ã®ä¸ã«ä¹ãã¦ã種åã¨å æ¯ãã¤ãªãç¹ç´°ãªæãå·ããªãã»ã©è»½ãã Boeingãçã¿åºãããã®éå±è£½ç´ æã¯ã確ãã«è»½ããè½ã¨ãã°å°ä¸ã¸è½ä¸ãããããããGoogleãã²ããã«éçºãé²ãã¦ããç»æçãªæ°ç´ æã¯éãããã ãGoogle Xã®è²¬ä»»è ã§ããAstro Telleræ°ã«ããã°ããã®ç´ æã¯ãå®ã«æµ®ãããããã®ã ã¨ããã ãããã¯ãããããä¸ç©ºã建ç¯ç©ã輸éãªã©ã¨é¢ããæ¹æ³ãå¤ãããããããªã
å¹³ç´ ã¯æ ªå¼ä¼ç¤¾ã©ã¤ããã¢ã®ãµã¼ãã¹ã ãå©ç¨ããã ããããã¨ããããã¾ãã æè¨åãã¥ã¼ã¹ãµã¤ããBLOGOSãã¯ã 2022å¹´5æ31æ¥ããã¡ã¾ãã¦ã ãµã¼ãã¹ã®æä¾ãçµäºãããã¾ããã ä¸é¨ã®ãªãªã¸ãã«è¨äºã«ã¤ãã¾ãã¦ã¯ã livedoorãã¥ã¼ã¹å ã® ãBLOGOSã®è¨äºä¸è¦§ãããã覧ããã ãã¾ãã é·ãããå©ç¨ããã ãããããã¨ããããã¾ããã ãµã¼ãã¹çµäºã«é¢ãããåãåããã¯ã ä¸è¨ã¾ã§ãé¡ããããã¾ãã ãåãåãã
ããããªä»äºãããªããã¼ãã©ãªã¹ããã¯ç®ç«ã¦ãªãï¼ ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã2å¹´ç®ç¤¾å¡ã®æ©ã¿ã«UUUMåµæ¥è ãå
Appleãã¢ã¡ãªã«ã§å®¹çè ã®ã³ã³ãã¥ã¼ã¿ã¼ã®æå·è§£é¤ã«ååããããè£å¤æå½ä»¤ãåºããããã©ã§ãAppleã¯é¡§å®¢ã®ãã©ã¤ãã·ã¼ã¨ã»ãã¥ãªãã£ãè ããå½ä»¤ã ã¨ãã¦å対ããå ¬é声æãã ãã¦ãããä¸éã¯Appleã®é¡§å®¢ã®ãã©ã¤ãã·ã¼ã¨ã»ãã¥ãªãã£ãå®ãããã«ã¿ãã姿å¢ãè³è³ãã¦ããããã ã ãããé¨ããã¦ã¯ãããªããããã¯Appleã®ãã¼ã±ãã£ã³ã°æ¦ç¥ã«éããªããAppleã¯é¡§å®¢ã®ãã©ã¤ãã·ã¼ã¨ã»ãã¥ãªãã£ãå®ãæè¡çãªæåã®åªåãä¸åæããã¦ããªãã®ã§ããã©ã¤ãã·ã¼ã¨ã»ãã¥ãªãã£ãæ°ã«ããã人éã¯Apple製åã使ã£ã¦ã¯ãªããªãã®ã¯ãã¡ããã§ããã ãããããAppleã¯å½å®¶æ¿åºã«ç§å¯è£ã«ååãã¦ããåç§ããããä»æ´é¡§å®¢ã®ãã©ã¤ãã·ã¼ãå®ãäºã ãªã©ã¨è¨ãåºããã®ã¯ãã¢ã¡ãªã«æ¿åºã«ããç£è¦ã®å®æ ãåçºããçã®ã¢ã¡ãªã«ã®æå½è Snowdenã®ç»å ´ä»¥éã§ããã顧客ã®ãã©ã¤ãã·ã¼ã¨ã»ãã¥ãªãã£ããªãã
(訳注: 2016/3/2ãé ãããã£ã¼ãããã¯ããã¨ã«è¨äºãä¿®æ£ãããã¾ããã) Ruby on Railsã¯æè¿ãæ¥æ¿ã«æ³¨ç®ãéãã¦ãã¾ããããã®åå ã¯ã»ã¨ãã©ããã®è¨èªãæ¬æ°ãªãã¯ããã¸ã¼ã¨ãã¦ãã¦ã¯ãããããã¨ã¨ãã¿ã¤ãã³ã°ã«ããã¾ããæè¡çãªåªä½æ§ã¯æéã®çµéã¨ã¨ãã«å¤±ããã¾ããããã¿ã¤ãã³ã°ãããã£ãã ãã§ã¯ãä¸éæ§ã®ãã¼ã ã«çµããããã®ã ã¼ãã¡ã³ãã®éçã¯é·ç¶ããã¾ãããå¾ã£ã¦ããRailsãããã«ãã¦ãé©åãªæè¡ã¨ãã¦ã®ä½ç½®ãç¶æãç¶ãããã ãã§ãªããå½±é¿åã¨ã³ãã¥ããã£ãæ¡å¤§ãç¶ãã¦ããã®ãããããå¤ãã®äººã«èª¬æãã¦ããå¿ è¦ãããã¾ããããã¦ããã®ç¶æã»æ¡å¤§ãå¯è½ã«ãã/ãã¦ããè¦å ã¯ãç©è°ãé¸ããã¨ããããRailsã®åºæ¬ååã«ããã¨èãã¦ãã¾ãã ãã®åºæ¬ååã¯ãã10å¹´ã»ã©ã®éã«é²åãç¶ãã¦ãã¾ããããæãå¼·åºãªæ±ã¨ãªã£ã¦ããã«ã¼ã«ã¯ãã¯ããå ¬éå½åããå¶å®ããã¦ã
ã¡ã¢ã¡ã¢ãæ³¥èã話ã§é¢ç½ãã£ãã§ãã ã大è¦æ¨¡Redisãµã¼ã縮å°åã®æ¦ãã é§äº ç¥äºº æ° (æ ª)ã¢ã«ãã ã²ã¼ã ã®ãµã¼ããµã¤ãæ©è½éçºãã¤ã³ãã©ã®è¨è¨æ§ç¯ã»ä¿å®éç¨ Redisã¨ã¯ ã¤ã³ã¡ã¢ãªDB 5種é¡ã®ãã¼ããªã¥ã¼ã®ãã¼ã¿å ãã¡ã¤ã«æ°¸ç¶åãªãã·ã§ã³ ã·ã¹ãã ã®åé¡ç¹ EC2ãµã¼ãã20å°ã«å¯¾ãã¦ãAWSã®ElasticCache(Redis)ã64å°ãã£ã ãªã64å°ãã£ããã¨ããã¨ããªãªã¼ã¹ç´å¾ã«Redisã®è² è·åé¡ãããã8å° => 64å°ã«ãªã£ã 調æ»ããã¨keys("")ãå®è¡ãã¦ããç®æããã£ã å½ç¶ãéãããã(cache.m3.large * 64å° = ç´135ä¸å/æ) åé·åããã©ãããè¨å®ãã¡ã¤ã«ã®è¨è¼ãè¾ã ã®ã§ã縮å°åã¨åé·åã®å¯¾å¦ãããã ç¾ç¶æ´ç æ ¼ç´ããã¦ãããã¼ã¿ ãã¬ã³ãæ å ±ãã»ã¼ã«æ å ±ãã©ã³ãã³ã°æ å ± ãã¼ã®ä»¶æ° 1ãµã¼ãã«8DBã1DBãã
(訳注ï¼2016/3/2ãããã ãã翻訳ãã£ã¼ãããã¯ããã¨ã«è¨äºãä¿®æ£ãããã¾ããã) (訳注ï¼èè ã®Mattããããæ¬æä¸ã§æè¨ã¯ãã¦ããªããããã®è¨äºã®å 容ã¯x86-64 Unix/Linux/POSIXã§ã¢ããªã±ã¼ã·ã§ã³ãããã°ã©ãã³ã°ããå ´åã«ãã©ã¼ã«ã¹ãã¦ãããä»ã®ããã°ã©ãã³ã°é åã§ã¯ã対象ã¨ããã·ã¹ãã ã«å¿ãã(ä¾ï¼ 8-bitã®çµã¿è¾¼ã¿ã·ã¹ãã ã10å¹´åã®ã³ã³ãã¤ã©ãå¤ãã®ç°ãªãCPUã¢ã¼ããã¯ãã£ã§åãå¿ è¦ã®ããã¢ããªã±ã¼ã·ã§ã³ãWin/Linuxã§ã®ãã«ãäºææ§ãªã©)ç¹æã®ã¢ããã¤ã¹ãå¿ è¦ãã¨ã®è£è¶³ãé ãã¦ããã¾ãã) 以ä¸ã®æç« ã¯2015å¹´ã®å§ãã«æ¸ãããã©ããã§ãä»ã¾ã§å ¬éãã¦ãã¾ããã§ãããç§ã®ãã©ããç¨ãã©ã«ãã®ä¸ã§èª°ã®ç®ãå¼ããªãã£ãããã大é¨åãæ¸ããæã®ã¾ã¾ã§ããå ¬éããã«ããããåç´ã«2015å¹´ã2016å¹´ã«å¤æ´ãã¾ããã å¿ è¦ãªä¿®æ£ãæ¹åãè¦æ ããã
主ã«ã¢ããªã±ã¼ã·ã§ã³éçºè åãã«ãLinuxãµã¼ãä¸ã®åé¡ã調æ»ããããã«ãã¦ã§ããªãã¬ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã¨ãã¦æ¥å¸¸çã«ãã£ã¦ãããã¨ãç´¹ä»ãã¾ãã ã¨ãããã調ã¹ããã¨ãç¾ åãã¦ããã®ã§ã¯ãªããæ¬å½ã«èªåãç¾å ´ã§ä½¿ã£ã¦ãããã®ã ãã«æ å ±ãçµã£ã¦ãã¾ãã æ®æ®µä½¿ã£ã¦ããããã©ããã¢ããªã±ã¼ã·ã§ã³éçºè åãã§ã¯ãªããã®ã¯ããã¦çãã¦ãã¾ãã MySQLãNginxãªã©ãåå¥ã®ããã«ã¦ã§ã¢ã«éå®ãããã¦ãã¦ã«ã¤ãã¦ã¯æ¸ãã¦ãã¾ããã ãã°ã¤ã³ãããã¾ã確èªããã㨠ä»ã«ãã°ã¤ã³ãã¦ãã人ãããã確èªï¼wï¼ ãµã¼ãã®ç¨¼åæéã®ç¢ºèª (uptime) ããã»ã¹ããªã¼ãã¿ã (ps) NICãIPã¢ãã¬ã¹ã®ç¢ºèª (ip) ãã¡ã¤ã«ã·ã¹ãã ã®ç¢ºèªï¼dfï¼ è² è·ç¶æ³ç¢ºèª top iostat netstat / ss ãã°èª¿æ» /var/log/messages or /var/log/syslog /
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}