キャー @naoya_ito サーï¾!! ï¼ä»ããè¬æ¼ä¼
— sylph01 (@s01) 2015å¹´5æ20æ¥
Access ã§ãªããè¬æ¼ãã¦ããã¨ãã話ã§å°ä¸æéã¨ã¢ã話ãããã©ã質çå¿çã #rebuildfm ãªã¹ãã¼ããã® SHIROBAKO ã¨ãã¼ããã¬ã¤ãã¯ãã¹ã¨ãã®è³ªåã§è
— Naoya Ito (@naoya_ito) 2015å¹´5æ20æ¥
ãrebuild.fmã®äººããTwitterã®@è¨æ³ã®ååããããªãã§ããããã¼ã¯ã¦ãªã¦ã¼ã¶ã¼ã®ç§ã¨ãã¦ã¯ãã£ã±ãidè¨æ³ã§å¼ã³ãã id:naoya ããï¼ä¼è¤ç´ä¹ããï¼ã®æ°ååãè¬æ¼ã社å ã§è¡ãããã®ã§ã¾ãã¯è¬æ¼è¨é²ãã¼ãã§ããæ¬åã¨æå±ã¯ä»¥åãããããã°ãã°ããããããã«ãªã£ã¦ã¾ãã*1ãåºãã¦å°ããããªåä»ãªäººã¯å¹¸ã身è¿ã«ããªãã®ã§èº«ãã¬ã¨ãç¥ããªãã
以ä¸é·ãã®ã§ç¶ããèªãè¨æ³ã§ãææ³ãã¼ãã¯1æ¥ä»¥å ã«å¥è¨äºã§æ´æ°ãã¾ãã
ãæè¡ã¨åé¡è§£æ±ºã
Agenda
- æè¡ã¯ã¤ãº
- è² è·ã®è©±ãWebãµã¼ãã¼ã®ã¢ã¼ããã¯ãã£ã®è©±
- æè¡ã身ã«ã¤ãã¾ã§
Q. uptimeã³ãã³ãã»topã³ãã³ãã§è¦ããããã¼ãã¢ãã¬ã¼ã¸ãã£ã¦ä½ã§ããï¼
- ç¡éã«ã¼ã -> ä¸ãã
- 巨大ãªãã¡ã¤ã«èªã¿è¾¼ã¿ -> ä¸ãã
- STDINããã®èªã¿åã -> ä¸ãããªã
ããèµ·ãããã©ãã«ï¼ãéãï¼ããé ãï¼ããåå¿ããªãï¼ãâãããã£ã¦åå¿ãããæ°æã¡ã¯ãããã®ã ãã©â¦ããã£ã¦ã©ããããã¨ï¼ load average / CPU使ç¨çã¯ã©ããã£ã¦ç®å®ããã¦ãæ°åãªã®ï¼
âOSã®ã«ã¼ãã«ãè¦ã¦ã¿ãããã§ãã«ã¼ãã«ã®ã³ã¼ããªã¼ãã£ã³ã°ãããã§å§ããã¨å¸°ã£ã¡ããã®ã§â¦
- OSã®ã¹ã±ã¸ã¥ã¼ã©ã¯ã«ã¼ãã«ã¢ã¼ãå¥æ©ï¼å²ãè¾¼ã¿ï¼ãã¨ã«æ¬¡ã«ã©ã®ããã»ã¹ãå®è¡ãã¹ããã決å®ã
- è¶ é«éã§åãæ¿ãã¦ããã®ã§ä¸¦åã«åãã¦ããã®ããã«è¦ãã
- load averageã¯ã¿ã¤ãå²ãè¾¼ã¿(4ms)ãã¨ã«è¨ç®ããã
static inline void calc_load(unsigned long ticks) { ... }
count_active_tasks()
-> ãã¼ãã¢ãã¬ã¼ã¸ã¨ãã¦è¨ç®ãã¹ããããã§ãªãããå¤æunsigned long nr_active(void) { ... }
ã«ã¼ãã«ã®å®è£
ãèªãã çµæï¼ãã¼ãã¢ãã¬ã¼ã¸ã¨ã¯ãã¿ã¤ãå²ãè¾¼ã¿ãã¨ã«ããã»ã¹ãå
¨é¨ãªãã¦ç¹å®ã®ç¶æ
ã®ããã»ã¹ã®æ°ãæ°ãã¦ãããæ°ãã対象ã¯TASK_RUNNING
ã¨TASK_UNINTERRUPTIBLE
TASK_INTERRUPTIBLE
- å²ãè¾¼ã¿å¯è½ãé·æéã®å¾ ã¡ãå®äºæéãä¸ç¢ºå®ãªå¾ ã¡ãsleepããã¼ãã¼ããNWã®IOTASK_UNINTERRUPTIBLE
- å²ãè¾¼ã¿ä¸å¯è½ãçæéã®å¾ ã¡ããã£ã¹ã¯IO
è² è·ã¨ã¯ï¼âå®è¡ä¸ã»å®è¡å¾ ã¡ã®ããã»ã¹æ°ãå®è¡ãç¶ç¶ããããã©ã§ããªãããã»ã¹ã®æ°ã
Q. Apache 㨠Nginx ã©ã£ã¡ãéãï¼
ã ããªA: ãéãªæ¯è¼ã ã¨Nginxã®ã»ããéãã
A: ãå ¨ç¶éããã®ãªã®ã§æ¯è¼ã«ãªããã
ä¾ï¼ï¼å³å¯ã«ã¯ã©ã£ã¡ããApacheâNginxã«ãããã解ã§ã¯ãªãï¼
- 大éã®ç»åãã¡ã¤ã«ãé ä¿¡ããã®ã«ã¹ã«ã¼ããããåºãªã : Nginxã«ãã価å¤ã¯ããï¼ãããããªãï¼
- Railsãåãã¦ããµã¼ãã¼ãéãã¦ã¹ã«ã¼ããããåºãªã : Webãµã¼ãã¼å¤ãã¦ãå¤ããã
並è¡å¦çã®ã¢ã¼ããã¯ãã£
- Apache : ãã«ãããã»ã¹ã¢ãã«ãforkã使ããåããã»ã¹åããå¦çãã§ããªããã¡ã¢ãªã«å¯¾ãã¦çããããã»ã¹ã«éçããã ãåããã»ã¹éã«ç¸äºä½ç¨ã¯ãªãã®ã§åããã»ã¹ãè©°ã¾ã£ã¦ãä»ã«å½±é¿ã¯å°ãªãã
- Nginx : ã¤ãã³ãé§åã¢ãã«ãselect / epollã使ããã¡ã¢ãªãå°ãªãã·ã¹ãã ã§ãããããã®ãªã¯ã¨ã¹ãããã°ããããããã·ã³ã°ã«ã¹ã¬ãããªã®ã§æ¢ã¾ã£ããå½±é¿ãåºãã
ã©ã£ã¡ãéãã¨ãã話ã§ã¯ãªããã¦ã¼ãºã±ã¼ã¹ã«åãããé©æé©æã
æè¡ã¨ã¯ä½ãï¼
æè¡ãç¥ã£ã¦ããã¨ã¯åçãç¥ã£ã¦ãããã¨ãæ¹æ³ã§ã¯ãªãåçã åçã第ä¸ãæ¹æ³ã¯ç¬¬äºã
ãã®å®ç¾©ã«åºã¥ãã¨ãããæ¸ãããããåãããã®ã©ã¤ãã©ãªã使ãã¨ãããªãã¨ãã§ãããã®ãããªå¸°ç´çç¥èã¯æè¡ã§ã¯ãªãã
ã©ãç¥èã身ã«ã¤ããã®ãï¼
- Linuxã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ããèªãã ã
ãã£ããï¼Linuxã«ã¼ãã«æ¬ãç©èªâ1pãèªãã§ãªãã®ã«æ¹è¨ãåºãâãã£ãããªãã®ã§èªããâ¦
å¦çæ代ããã¹ã¼ãã¼ãã«ã¼ã ã£ãããã§ã¯ãªãã·ã¹ãã ã®ä¼ç¤¾ã«å ¥ãã«ããã£ã¦åå¼·ãå§ããã
èªãã§ã¿ããï¼ç¥ããããã¨ããã£ã±ãæ¸ãã¦ãã£ãï¼
ãããããªãã§ããã»ã¹ã®è©±ãç¥ãããã£ãã®ãï¼âã·ã¹ãã ãè½ã¡ã¾ãã£ã¦ãããæ°ç¾å°ã®ãµã¼ãã¼ãã¨ã³ã¸ãã¢æ°äººãè½ã¡ã¾ãããããã«å¯¾ãã¦å¯¾ççæ³ãç¹°ãè¿ãã¦ããããã£ã¦ãã対å¿ã«å¯¾ãã¦æ ¹æ ãããããªãã£ãã
é害ãèµ·ãã£ã¦ã¦ã¼ã¶ã¼ããã«æãããã»å¤ä¸ã«å©ãèµ·ããããã»ååãç²å¼â¦ï¼ãããªã¼ã¶æ§ã®å§åçæ¦éåãåã«éãããã¸ã¼ã¿ããã®æ°æã¡ãï¼
âãã¾ãã¾èªãã ã詳解Linuxã«ã¼ãã«ãã«çããï¼ããã ï¼
OSã®åä½åçãå¦ã¶ãã¨ãè² è·ã®å¯¾çã«ãªãã¨ã¯æããªãã£ãã
ããããæ°å社å¡ã¸ã®èª¬æ
åºç¤ã¯å¤§äºã ããæ¬ãèªã¿ã¾ããããã³ãã³ãåªåãæ¬è³ªçãªæè¡ã¬ã¼
ã§ã¯ãªãã
ãã¢ã¤ãã¢ã®ã¤ããæ¹ãã¨ããæ¬ã«ããã¢ã¤ãã¢ãçã¾ããéç¨ï¼è³æéã -> å¿ã®æ¶åéç¨ -> { ããã¦å¿ã®å¤ã«ç½®ã -> 常ã«ãããèãã } -> Eureka!
ã²ãããã¯å¿ ç¶ãå¶ç¶ã§ã¯ãªãå¿ ç¶ããã®ãã¨ã«ãªããã¼ã¿éã»æèéããããç·å¼µã解ããããªã©ãã¯ã¹ãã¦ããã¨ãã«ã²ãããã
ãè² è·åæ£å°ã£ããªããã¨æ¯æ¥éæ¹ã«æ®ãã¦ãããããããã«ã¼ãã«æ¬ããã©è¦ãã¦ãããã ï¼ãã¨æãç¬éãæ¥ããç®ã®åã«ç«ã¡ãµããã大ããªå£ããå®ã¯ã²ããããä¸ããåå°ã«ãªã£ã¦ããã
Appleã®ãã¶ã¤ã³ãã©ããã£ã¦ãããªã«ãã£ããããã¶ã¤ã³ãä½ã£ã¦ãã®ï¼âAppleã§ã¯ãã¶ã¤ãã¼ãç¥ããã¶ã¤ãã¼ãä½ã£ãè¨è¨å³ãã¨ã³ã¸ãã¢ã¯å¿ ãå®ç¾ããªããã°ãªããªãããã¨ã³ã¸ãã¢ã¨ãã¶ã¤ãã¼ãæã¨æãã¨ããã£ã¦â¦ãã§ã¯ãªãããã§ããããããã ããã ãã©ãããªããã¯ãã«ãªããããåºã¦ãããé«ããã¼ãã«ããã£ã¦ããã®ãã¼ãã«ãè¶ãããã¨ãã¦å·¥å¤«ããå§ãã¦ã²ããããèµ·ãã£ã¦çã¾ãããã¨ã³ã¸ãã¢ãéã¾ã£ã¦ããããããã¨ã§ããããã§ã¯ãªãã
MAZDA RX-8ã®éçºãMAZDAã®ãã©ã°ã·ããã¢ãã«ã¨ãã¦éçºããããéçºããã¿ã¤ãã³ã°ã¯çµå¶çã«ããªãã¤ããç¶æ ããã©ã¼ãã«è³æ¬ãæ³¨å ¥ãã¦ããã£ã¦ãç¶æ ããã¨ãã¨ã¯ã¨ã³ã¸ãã¢ãã俺ãä½ããããã®ãä½ããã ã£ããçµå¶çã«ãããªãã¨è¨ã£ã¦ãããªããRX-7ã®å¾ç¶ã¨ãã¦ä½ããã¨ãããRX-7ã¯2人ä¹ãããããçµå¶çã«ã¯4人ä¹ãã«ãããã£ããã¨ã³ã¸ãã¢ã®å¸¸èçã«ã¯4人ä¹ãã®æ§é ããå³ãããâãã¢ã観é³éãã§éãããã«ããã®ã¯æ§é ä¸ã®åé¡ã解決ãããããï¼ãã¼ã¿ãªã¼ã¨ã³ã¸ã³ã«ãã£ã¦ã¨ã³ã¸ã³ã®ä½ç½®ãå¤ãããããâ4人ä¹ãã®ã¹ãã¼ãã«ã¼ãèªçã家ææã¡ã«ããã売ããã
ç¡çé£é¡ãçªãã¤ãããã¦ããã°ã£ãçµæã²ããããçã¾ãã¦ãã¨ããçµç·¯ãæè¡çã«éè¦ãªãã¬ã¼ã¯ã¹ã«ã¼ãèµ·ããã¨ãã¯å¤ããåãããããã¨ã³ã¸ãã¢ã ããããã°ã£ã¦ãã¬ã¼ã¯ã¹ã«ã¼ããããã§ã¯ãªãã
æ¥å¸¸ç¶ç¶æèã®æ³åã人ã¯ç¹å¥ãªåãåããªãéãåãæèãç¶ç¶ããï¼æ £æ§ï¼ã
- æè¡è ã¨ãã¦ã¹ãã«ã伸ã³ãã¨ã = å²ã¨èª²é¡ãç®ã®åããã£ã
- ã©ããã¦ãä½ããããã®ããã£ã
- è² è·åæ£ããªããã°ãããªãã£ã
- 50人ã®çµç¹ãæããªããã°ãããªãã£ã
- âèªåã®æ £æ§ããè±åºããã«ã¯ãã£ãããå¿ è¦ã ã£ã
æè¡ã身ã«ã¤ããã«ã¯ï¼ï¼ç´ç²ãªå¥½å¥å¿ã§ããã¡ããè¯ããâ¦ï¼ä½ããããã®ãä½ããªããã°ãªããªããã®ã解ããªããã°ãªããªãåé¡ãæ¢ããæ¼ ç¶ã¨æè¡ãå¦ã¶ã®ã§ã¯ãªããåé¡ã解決ããããã«èº«ã«ã¤ããã»ãããã£ã¨æ©ã身ã«ã¤ã
解ã®è³ª x ã¤ã·ã¥ã¼åº¦ã®ä¸¡æ¹ãæºãããã® = ããªã¥ã¼ã®ããä»äº
æè¡é¡§åããã¦ããã¨ãä»ã®ã¨ããã¯ããæãã®éçºããã¦ãã®ã«æã ã«ã¯ã§ããªããã¢ãã³ãªéçºããããã§ããã£ã¦ããã®ãããæ¥ãããããåªå 度ä»ããééãã¦ãããçµç¹ãããã¼ã¸ããã¦ãªããã¿ãããªåé¡ã®ã»ããå¤ããã»ãã¨ã«ãããªãããããªãã®ã¯ãã¡ãªä¸å¸ãåãæ¿ããã¨ãã¬ãã¼ãã©ã¤ã³ãæ´åããã¨ããããããã¨ã®ã»ããå¤ãã
æè¡ã¯äººã®å½¹ã«ãã£ã¦ã¯ããã¦ä¾¡å¤ã帯ã³ããæè¡ãã®ãã®ã«ä¾¡å¤ãããããã§ã¯ãªãã価å¤ãå±ããããã®ãã¼ãã«ãè¶ãããã¨ãããã³ã«ã¹ãã«ãä¸ããã
ããã°ã©ãã³ã°ãè¦ãããã¨æã£ã¦ããªããªããã¡ãï¼ï¼ãä½ãããã«è¦ãããã ã¨ãã¾ããããRubyã®å ¥éæ¸ãæã«åãã¨1pç®ãããªãã¸ã§ã¯ãæåãåºã¦ãããCè¨èªã®æ¬ãæã«ã¨ã£ã¦ã¿ãããããããããç¶ãã¦Lispã®æ¬ãæã«åã£ããæ¬å¼§ã®ãåãï¼ã§æå¾ã«Perlã§æ²ç¤ºæ¿ãä½ãã¨ããããPerlãä¸çªã¯ã¾ã£ããä¸ã«ã¯ç´ç²ãªèå³ã§è¦ãããã人ããããã©ä¾å¤ã
ä¸ã®ä¸ã®ç³ãã
ãããã¹ãããããªããã°ãªããªãããã®æ¬ãèªããâ大æ¦ã¯çºè¨è ããã¤é¡ããããã«çºããããè¨èãããªãã®ãã¨ãçå£ã«èãã¦ããããã§ã¯ãªãããã¾ãåèã«ããªãã»ããããã
èªåèªèº«ã®åé¡ã課é¡ã«åãåããã
質çå¿ç
Q. ã¹ãã¬ã¹ã«ãã£ã¦æé·ãããã¨ããã®ã¯é常ã«ç´å¾ããã¨ãããããã -> æ¥æ¬å½å ã®ã¨ã³ã¸ãã¢ã®è³éã«ã¤ãã¦ãããããã®ãçã¿åºãã«ã¯ã¹ãã¬ã¹ãä¸ããå¿ è¦ããããçã¿ã®è¦ãã¿ãå³ããç¶ããå¿ è¦ãããã¨ããå´é¢ãããä¸æ¹ããã¤ããã£ã¦ããªãã®ã§ã¯ãªããï¼Google/Appleã¨ãã¯ãã¤ããããã©â¦
- ãæ°ååãã«ã¯çãã«ãã質åã§ããwã
話ããããã¨ã¯2ã¤ãã£ã¦ã
- Webéçºã®è³éã¯ãããä¸ãã£ã¦ããè²·ãå©ãããä»äºã®ããã«è¦ãããã¡ã ãã©ä¸ããç¶ãã¦ãããã½ããã¦ã§ã¢éçºã®ä»äºã¯ãã¤ãæªãã¨ã¯æããªããå¥ã®åéã¯ã©ããã¯ããããªããå¿é ã¯å¿ è¦ãªãã¨æãã
- ããï¼ã¤å¥ã®è©±ã¨ãã¦ã¢ããã¼ã·ã§ã³ã¨ééçå ±é ¬ã®é¢ä¿ã¨ãã¦ãããã£ã¦ããéãå°ãªãã»ããä»äºã®éææã大ãããããã£ã¦ããéãå°ãªãã¨ãªãä»äºããããå¿ æ»ã«èãã¦ãã®ä»äºã好ãã ããã ãã¨ããçµè«ãå°ãï¼å¿çå¦çãªäºå®ãå®é¨ãããï¼ãå çºçåæ©vså¤çºçåæ©ãå¤é¨ããåæ©ãä¸ããããã¨å質ãä¸ãããç®æ¨ãé«ãè¨å®ããªãã¨ãããªããã¢ããã¼ã·ã§ã³ãæãã¦ããããªããã°ãªããªããã¨ããã®ã¯ããã¸ã¡ã³ãçã«é£ããã¨ããã
Q. å°±è·ããã¾ã§ããã°ã©ãã³ã°ã¯ãã¦ãªãã£ãã¨ãã話ã§ããã³ã³ãã¥ã¼ã¿ã¸ã®èå³ã¯ï¼
- 家åºç°å¢ããã³ã³ãã¥ã¼ã¿ã«è§¦ãæ©ä¼ã¯ãã£ã¦ãèå³ã¯ãã£ãã
Q. ä»è¶£å³ã§ã³ã¼ãæ¸ãã¦ã¾ããï¼
- ã家帰ã£ãããã¬ã¹ãã®é»æºå ¥ãã¦ã¾ãã
æ ¹æ§ãåºããã¨ãããèªåã®ãã¼ã¹ã§é·ãç¶ãããã¨ã®ã»ãã大äºã
Q. ãã£ã¨ãã£ã¦ããããã«å¿ è¦ãªãã¨ã¯ï¼
- ã³ãã¥ããã£ã¨ã¤ãªãã£ã¦ãããã¨ãã¨ã³ã¸ãã¢ä»²éãä½ãã仲éã¯ä¼ç¤¾ã®å¤ã«ããããããããã®è¦ã¦ãã¨ã¿ããªæ¥½ãããã«ãã¦ãâèªåããã£ã¦ã¿ãããã¿ããã«ãªãã
èªåã®ä½ããããã®ã¨ä¼ç¤¾ã®ä½ããããã®ãä¸è´ããªã -> ã½ããã¦ã§ã¢ã ã£ãããªã¼ãã³ã½ã¼ã¹ã§ãã®é¡ããå¶ããã
Q. å°éåéãä¸è¬ã«ãã£ã¦ãã£ãããã¾ãããã¿ãããªã¤ããã¼ã·ã§ã³ã®äºä¾ããåç¥ã§ãã
- 1990年代ã¯ãããã§ã§ãããã¨ãã»ã¨ãã©ã§ãã¦ããªãããããã§ããããã«ãããã¨ããã¸ãã¹ã«ãªã£ããä¸éãæãããã«ãªãã¨Web2.0ã¨è¨ããã¦(2005-2010)ã½ããã¦ã§ã¢ã§è§£æ±ºã§ãããã¨ã¯ã½ããã¦ã§ã¢ã§è§£æ±ºããããã¨ããæ¢åã®ãã¸ãã¹ã¨ã¯é¢ä¿ãªããã©ãããä¸ã ãã§å®çµãããã¸ãã¹ãå¢ããããããçæ´»ã®åé¡ã¯ä½ã解決ããªãã£ããä¸ã®ä¸ã§èµ·ãã£ã¦ãããã¨ã¯ã¤ã³ã¿ã¼ãããã¨æ¢åã®ãã¸ãã¹ãã¯ãã¹ããã¦ãããããã¨ããåç¹å帰ãããããããã®ãUberã¨ãAirbnbã¨ãã
Q. åé¡ãè¦ã¤ããããã®æ¹æ³ã¨ãã¯ï¼
- åé¡ãæã£ã¦ãã人ãããã£ã¼ãããã¯ãããããå°ã£ã¦ãã人ã観å¯ãããã¦ã¼ã¶ã¼ã観å¯ããã
åéããã¦ã¯ãããªãã®ã¯ã¦ã¼ã¶ã¼ã¯èªåã®åé¡ãæ£ããç解ãã¦ããã¨ã¯éããªãã観å¯å¯¾è±¡ãããªãã¨ããã§ä»®èª¬ãç«ã¦ãã¨å¤§æµå¤ããèªåã®åé¡ã解決ãããããªã½ãããä½ãã®ãããã®ã§ã¯ãå ¨ç¶é¢å¿ã®ãªãåé¡ã解ãã®ã¯è¦æã
ï¼ããã¾ã§æ°äººã«ããQ&Aï¼
Q. æè¡è² åµãã©ã®ããã«ã¨ãããã
- ãªãã¡ã¯ã¿ãªã³ã°ã»ã³ã¼ãã¬ãã¥ã¼ãããã»ã¹ã®ä¸ã«çµã¿è¾¼ãã§ãã¾ããè¦ããåã¯ãããã¨ããã¨é£ãããæ¥å¸¸ã®ä¸ã§èªç¶ã«ä¿®å¾©ããã¦ããã
Q. æè¡è² åµã«ãã¡ãªããã¯ãã£ã¦ã¹ãã¼ãæã ã¨æãã®ã ããããããç¾å ´ããã£ããã©ããã£ã¦å±ãã¤ããã
- å±ãã¤ãããã¨ã¯ããªãã§ãw
äºæ¥ã伸ã³ã¦ãã¨ãã¯è² åµãæºãè¾¼ããã¨ã¯ãããä¸æ¹ãæè¡çè² åµãè¿ãããã¨ããã¨ãã«ãã®å ã«äºæ¥ã伸ã³ãªããããªãæå³ããªãã
ã¯ã½ã³ã¼ããæ¸ãç´ããã¨ã¯ãããããããã®ã³ã¼ãã«ãçç±ã¯ãã£ã¦ãäºæ¥ã伸ã³ã¦ãããã§ã¼ãºã«ã¯è¨±ããããã¨ã¯ããããªãã¨ãªãè² åµãæºã¾ã£ã¦ã¦ãã ãããã¨ããçç±ã§æè¡çè² åµã®è§£æ¶ã¯è¡ããªãã
Q. 失æãããããªããã¸ã§ã¯ããæ¢ããå¤æã»äºæ¥ã®è¦æ¥µãã®ã³ãã¯ï¼
- ãããããºããã¨çãããããæ¬ä¸åæ¸ãããããã ãã§çãã¦ããããwãâ¦ãªãã§ããã
ã©ããã£ã¦ããã¾ããããªãããã¸ã§ã¯ããæ¾ç½®ãã¦ããã®ã¯ããã¸ã¡ã³ããæªãã®ã§ã¯â¦ããã®äººãã¡ã®è²¬ä»»ã追åãããããã¸ã¡ã³ãå´ã®ç«å ´ãªã®ã§ããããããã¸ã§ã¯ããåºããªãããã«ã¯æ°ãã¤ãã¦ãããâ¦
äºæ¥ãæ°å¤ã§é²æ管çãã¦ããã¾ããããªããåé¡ã解決ãã¦ããå®æãéè¦ããã¼ãºãã¨ããã¦ããå®æãéè¦ã
æ°å¤ç®æ¨ãç«ã¦ãã¨æ°åã伸ã°ãææ³ã¯ãããããã£ã¦ãã®ææ³ã«èµ°ã£ã¦ãã¾ããåºåã®æ°å¤ããããããã«èª¤ã¯ãªãã¯ãèªçºãããããªãã¨ã¯ãã£ãã
Q. æè¿Immutable Infrastructureã®è¬æ¼ãè¨äºãå¤ããããã«è³ã£ãåé¡æèã¯ï¼
- 対象ã®ä¼ç¤¾ãã¯ã©ã¦ãä¸ã§ãã¸ãã¹ãè¡ã£ã¦ããä¼ç¤¾ãå¤ããtry and errorã®ã«ã¼ããæ©ãããããã¨æã£ããããã ã£ãã
ç¹ã«ã¤ã³ãã©å±ã¨ããããã§ã¯ãªãããã¾ãã¾ããããæèã§ã®è©±ããé¡ãããããã¨ãå¤ãã ãã
ä»æ°ã«ãã¦ããåé¡ã¯ã©ã¡ããã¨ããã¨ã客ããã«ãã£ã¦æ±ºã¾ããã¨ãå¤ãã
Q. æè¡ã®äººãã¡ã¨è©±ãã§ããããåå¼·ãã¦ããããå¶æ¥ã¨æè¡ãä¸ã¤ã®ãã¼ã ã«ããããã«ã¯ã©ãããããããï¼å®ç¾å¯è½ãªã®ãï¼
- å®ç¾ã§ãã¾ãã
åè«ã«ã¨ã³ã¸ãã¢ãé£ãã¦è¡ããããã¦éçºããæéããªãâ¦ã¨ããã®ã¯ããã¸ã¡ã³ããæªããä¸ç·ã«ãããã¨ã«ãããã¡ãªããã¯ã©ããã¦ãåºã¦ããã®ã§ããã¸ã¡ã³ããé©åã«ä»å ¥ããå¿ è¦ãããããã¼ã æ§é ãä¸ã¤ã«ããã¨ãã«éè¦ãªã®ã¯ããã·ã§ã³ãæ確ã«ãããã¨ãããã¯ããã¸ã¡ã³ãã®ä»äºãåç´ã«one locationã«ããã°ããã¨ããããã§ã¯ãªããä»å ¥ããã¼ãã°ããããããªå¤§ä¼æ¥ã«ãªã£ã¦ãã¾ããâ¦
Q. ãã¼ã ã¨ãã¦ã®ã¢ããã¼ã·ã§ã³ã®ä¸ãæ¹ããã¾ããã¾ããã£ã¦ãªãããã¸ã§ã¯ãã§ä¼ç¤¾ã¨ãã¦ããã¨æ±ºããå ´åããã¼ã ãªã¼ãã¼ã¯ã¢ããã¼ã·ã§ã³ãä¸ããªããã°ãããªããâ¦
- ã´ã¼ã«ãé©åã«è¨å®ããã¨ãããã¡ãªä¸ããå°ããªç®æ¨ãæ¢ãã¨ããå°ããåä½ã§ã³ãã¥ãã±ã¼ã·ã§ã³ãã¨ãã¨ãããªãã¨é£ããã
Q. æè¡æ¦ç¥ã«ã¤ãã¦ãæè¡ã®æ¹åæ§ã決ãããã¨ã«ã¤ãã¦ãä»ã¾ã§ã¯åé¡è§£æ±ºã®ããã«ã¯ãªãã§ãããã¨ãã£ã¦ããåæ£ãã¦ãã¾ã£ããæè¡ã®æè²ã»èç©ã®ç®æ¨ãã©ãããããããï¼
- ããã£ã¦æ ¹æ¬çã«æè¡ããã£ã¦ãä¼ç¤¾ãã©ããã«ãã£ã¦æ±ºã¾ãã®ã§ã¯ï¼æè¡ãã®ãã®ã«ãã£ã¦ç«¶äºåãæã£ã¦ããä¼ç¤¾ã ã£ããæå³ãæã¤ããã©ï¼ä¾ï¼Googleã ã£ããæ¤ç´¢ã®æè¡ã»ã¯ã©ã¦ãéçºï¼ããæè¡ã売ã£ã¦ããä¼ç¤¾ãã«ãããã¨ããªãã®ã§ããããã¨ããã«ããã¨æè¡ã¯äºã®æ¬¡ã«ãªãã
æ°ããããã¸ã§ã¯ãã«å¯¾ãã¦ã¬ãã¥ã¼ä¼ããã£ãããã¦æè¡ã®åæ£ãé²ãã¨ãããã¨ã¯ããããã©ãããã¯ãæªããã¨ãèµ·ããªãããã«ãããããã¨ããåé¡ããèµ·ãããã®ã§ãä¸çæ¸å½æ¦ç¥çãªãã£ã¹ã«ãã·ã§ã³ããã¦ãããã®ã§ã¯ãªãã
Q. ããã¸ã¡ã³ããå¦ã¶ããã«ã¯ï¼
- é¨ä¸ãä½ããå¾è¼©ãã§ããããããªãã®ã§ã¯ãå¦ãå¿ã§ãå¦ã°ãããå¾ãªããªãã
Q. ããã¸ã¡ã³ãããã楽ããã¯ã©ããã£ã¦ã¤ãï¼
- ããã¸ã¡ã³ãã¯å¥½ãã§ã¯ãªããã©å¾æã人é好ããªãã¨ãä»äºã«ãããã¨æãããã©å¾æãªãã¨ã¨å¥½ããªãã¨ãæ··åããã¡ãå¾æãªãã¨ãè¦ã¤ããã«ã¯ï¼èªåã§ã¯å¤§ãããã¨ãªãã¨æã£ã¦ãããã©å¨ãããããæè¬ããããã¨ãããã°ãããã¢ããã¼ã·ã§ã³ã¯å¨ãã®äººã«ä¾åãã¦ããã
ãããã¸ã¡ã³ãã£ã¦æãäºã®è§£æ±ºã ããããã好ãã£ã¦ãã¨ã¯ç¸å½æ§æ ¼æªãã§ããwã
Q. é¢é£ãã¦ããããã¸ã¡ã³ãã£ã½ããã¨ãã£ã¦ã¿ãªãï¼ãã¨è¨ããããã¨ãããã
- èªåã¯ãããããå¾ãªãç¶æ³ã«ãªã£ããããã°ã£ã¦æè¡ãã¯ãã¹ããã¨ãããæ¢ããã
é¢é£ããGREEã«ããã¨ãã«åªç§ã ã¨æã£ã人ã®è©±ããããã³ã¼ããæ¸ããã®ã ãã©åã®ä¼ç¤¾ã§ãªãã·ã§ã¢éçºã®ããã¸ã¡ã³ããã£ã¦ãããã®äººã¯1ãã10ã¾ã§æèãããã£ã¦ããããæ¬äººãå«ã ã£ããã©ããã¸ã¡ã³ãããã£ãã¨ãããã¨ã«èµ·å ãã¦ãããã§ãé£ãããä»äºã®å¹ ã¯åºãããã©ãä¸å¸ã¨ãã¦æ¼ãä»ããã¨è¾ãããã¦ãã¾ãã
Q. 対ççæ³ã«æãæ®ããã®ã¯ããã¸ã§ã¯ããåæ§ã ã¨æã£ã¦ãã¦ããã£ã¦ãæ¬äººãã¡ã¯è¦éççªã«é¥ã£ã¦å¯¾ççæ³ã§æºè¶³ãã¦ãã¾ã£ã¦ãããã©ããã£ã¦å¯¾å¦ããï¼
- ãã¼ã ã®ä¸ã«ãã¸ãã¹ã®è²¬ä»»ãæã¤äººã»ã³ã¼ãã®è²¬ä»»ãæã¤äººãæ確ã«ãããå½¹å²çã«æè¡çåé¡ã«è¦éççªã«ãªãã®ã¯ä»æ¹ãªããã¨ã§ãããã§ãªã人ãä½ã£ãã
ã»ã¼ã«ã¹ã¨ã¨ã³ã¸ãã¢ã®çãä¸ã®äººãããªãã±ã¼ã¹ãå¤ããPMã«å±äººçã«ãªããããã¦å¤±æããã¨å´©å£ããã
ã¨ã³ã¸ãã¢ãç´¹ä»ãã¦ãã ãããã¨ãã話ãããåãããã©ãããã¨ã³ã¸ãã¢ãããªãã¦PMãããï¼ã¨ããã®ã¯å¤ãã
Q. æè¡è ããããã¸ã¡ã³ãã«ãã£ãªã¢ãã¹ãå¤ããçç±ã¯ï¼
- é¸ã¹ãªãã£ãã人ãé£ãã¦ããªãã¨è§£æ±ºã§ããªããã¿ããã«ãªã£ã¦ãããã¼ã¸ããããå¾ãªããªã£ããããã¸ã§ã¯ãã®äººãããã¸ã¡ã³ããã§ããªãã£ãï¼ãã£ããé£ãã¦ãããã¤ãã«LANã±ã¼ãã«ä½ããã¦ãï¼ããã®ãã¨ãç¶ãã¦ãããã£ãªã¢ãã¹ãã¤ãã¦ããããããªãããã¸ã¡ã³ããããã¨è¨ãããããã§ãªãã£ãã®ã¯å¹¸éã§ãå¿ è¦ã«å¿ãã¦ã·ããããã¨ããã®ãããã£ãã ããã¸ã¡ã³ããã¦ãã¨æè¡ã®è©±ã«ã¤ãã¦ãããªãã¦ãã©ã¤ããå·ã¤ããã¨ã¨ãä¼ç¤¾ã«æé©åãããã¦ãã¾ã£ã¦ããã®ã§ã¯ã¨ãããããªæ©ã¿ãã¤ããªãã人ãå¢ããã¨å ¨ã¦ãã³ã³ããã¼ã«ã§ããªããå ¨ã¦ãç¥ããã¨ããããããªããã°ãªããªãããªãã§å ¨ã¦ãç¥ããããï¼âã¨ã´ãèªåã®å®å¿æã¯ãã¼ã ã®ããã«ãããã¨ã§ã¯å¿ ããããªããã¨ã´ãæ¨ã¦ãªããã°ãªããªãã人ã«è¨ããã¦ã§ãããã¨ã§ã¯ãªãã
Q. ITçSHIROBAKOæå¾ ãã¦ãã¾ã
ï¼ä¸åçç¬ï¼
ï¼çè 注ï¼ã¼ããã¬ã¤ãã¯ãã¹ã®è©±ãåºãã®ã¯å¤åããã®ã¿ã¤ãã³ã°ã§ããçè ãããããããªãã£ãããèãéããï¼
*1:å»å¹´ã®è¬æ¼ã®æç¹ã¨ãã§å²ã¨æããã ãQiitaãæ¬åå義ããsylph01ããã«ãªã£ãæç¹ã§ãå²ã¨æãã