2015/11/20 JAWS-UGã³ã³ããæ¯é¨ #3 #jawsug_ct
ã¯ããã« Herokuã®ããã¯è¨äº10 Habits of a Happy Node Hacker (2016)ãããæ´ã®æ±è¥¿ãåãããã¿ããªã10ã®ãªãã¨ããã£ã¦å¥½ããªãã ãªãã¨æããªããçºãã¦ããããçµæ§é¢ç½ãã£ãã®ã§å 容ãããã¯ã¢ãããã¦ã¿ã¾ãã 以åãGoè¨èªã§å¹¸ãã«ãªãã10ã®ãã¯ããã¯ã¨ããã®ãããããã°è¨äºãå ã«ãã¦æ¸ããæã«ã¯ãåé¡ã® "Ten Useful Techniques in Go"ãæ訳ãã¦ã幸ãã«ãªãããã¨ããã®ã ããä»åã¯åé¡ã«ã·ãã«ãª"Happy"ãå ¥ã£ã¦ããã¨ãããã¾ãä»ãã ãªããã2016å¹´çãã¨è¨ã£ã¦ããã®ã¯2013(2014ï¼)å¹´çããããããããããèªã¿æ¯ã¹ã¦ã¿ãã®ãã¾ãé¢ç½ãããã¨ããããä»åã¯ææ°ã®2016å¹´çã®ãç´¹ä»ã 1. æ°ããããã¸ã§ã¯ã㯠npm init ã§å§ãã æ°ããããã¸ã§ã¯ãã¯ããå§ãããããã¨è¨ã£ã¦ããã
ä¸æ«åéã®ãã£ã³ã¹ ç§ã¯æã¡è¾¼ã¿å稿ããã£ããã§ãé«æ ¡çã®ã¨ãããã¢ã¹ãã¼åºçã§ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ã¨ãã¦ã¢ã«ãã¤ãããããã¨ã«ãªã£ããå½æã¯ã¾ã PCã®é»ææã§ãNECããããããPC-8001ã¨ãã8ãããPCãçºå£²ãããã°ããã ã£ããã½ããã¦ã§ã¢ã®éçºç°å¢ãæ´ã£ã¦ãããããã¹ã¦æ©æ¢°èªã§ããã°ã©ã ãæ¸ããã°ãªããªãã£ãããã®ãããã½ããã¦ã§ã¢ãéçºã§ããã¨ã³ã¸ãã¢ã®æ°ããã®ãããå°ãªããé«æ ¡çã®ç§ã§ããã£ã¨ããéã«å¤§äººã¨è©ã並ã¹ã¦ä»äºãã§ããããã«ãªã£ã¦ãã¾ã£ãã®ã§ããã ãããªç§ã«ä¸æ«åéã®ãã£ã³ã¹ããã£ã¦ãããNECãPC-8001åãã«CP/Mã¨ããOSã移æ¤ãã¦ããã®ã ããããããã¼ãã£ã¹ã¯ã¸ã®ã¢ã¯ã»ã¹ããã¾ãã«ãé ããã¢ã¹ãã¼åºçã«ç¸è«ã«æ¥ãã®ã§ããã ç§ã¯ããã®æã®é«éåã®è©±ãå½æãã大好ãã ãå¾æã ã£ãã®ã§ãå½ç¶ã®ããã«ç§ã¨ç¸æ£ã®å¢å·ããï¼åããé«æ ¡çï¼ããããã¨ã«ãªã£ã
ããã«ã¡ã¯ã ã¤ã³ãã©ãã¼ã ã®é島ï¼@nojimaï¼ã§ãã ãã¼ã ã®ã¡ã³ãã¼ã« nginx ã®è¨å®ã«ã¤ãã¦æ°ãã¤ããã¹ãç¹ãå ±æããããã«ãã¬ãã¥ã¼è¦³ç¹ãæ¸ãã¾ããã ãã£ãããªã®ã§ããã§å ¬éãã¾ãã ã»ã¨ãã©ã®é ç®ã¯èªåããã¼ã ã®ã¡ã³ãã¼ã®å®ä½é¨ã«åºãã¦ãã¾ãã ã¬ãã¥ã¼è¦³ç¹ server server_name ãä»ã®ãã¤ã¨è¢«ã£ã¦ããªããã listen ãã IP ã¢ãã¬ã¹ãåãå ´åãserver_name ã§åºå¥ã§ããªãã¨ãããªãã TLS ã使ãå ´åãSNI ããµãã¼ãããªãã¯ã©ã¤ã¢ã³ãã§ã¯ TLS ç¨ã®è¨å®ã default_server ã®ãã®ã使ãããç¹ã«ã注æã TLS ã使ãå ´åãlisten ãã£ã¬ã¯ãã£ãã« ssl ãªãã·ã§ã³ãæ¸ãã¦ãããã location location ã®ãããã®é çªã«æ³¨æ æ£è¦è¡¨ç¾ã® location ã¯åæ¹ä¸è´ã® location ãã
AWS Summit 2014 TokyoãAmazon EBS ããªã¥ã¼ã ã®æ§è½ç¹æ§ã¨æ§ææ¹æ³ãç¿å¾ããï¼ãã¬ãã¼ã ããã«ã¡ã¯ãèå¡ã§ãã å æã®AWSãµãããã®ã»ãã·ã§ã³ãAmazon EBS ããªã¥ã¼ã ã®æ§è½ç¹æ§ã¨æ§ææ¹æ³ãç¿å¾ããï¼ããã¿ã¤ã ã·ããè´è¬ãã¾ããã®ã§ãã¬ãã¼ããã¾ãããã®ã»ãã·ã§ã³ã¯ãTech Deep Diveã¨åä»ããããæè¡ã»ãã·ã§ã³ã®1ã¤ã§ãã ãã¼ãã¯ãAmazon EBSã®æ§è½ç¹æ§ã¨æ§ææ¹æ³ã«ã¤ãã¦ãæ¤è¨¼çµæã交ããªããã®ç´¹ä»ã§ããè¬å¸«ã¯ãæ¾æ¬å¤§æ¨¹ããï¼ã¢ãã¾ã³ ãã¼ã¿ ãµã¼ãã¹ ã¸ã£ãã³ï¼ã§ãã AWS Summit Tokyo 2014 éå¬ã¬ãã¼ãåç»ã»è³æä¸è¦§ | ã¢ãã¾ã³ ã¦ã§ã ãµã¼ãã¹ï¼AWS æ¥æ¬èªï¼ Amazon EBS ããªã¥ã¼ã ã®æ§è½ç¹æ§ã¨æ§ææ¹æ³ãç¿å¾ããï¼ï¼AWS Summit Tokyo 2014 | TA-02ï¼ - You
æ¢ã«ãã¡ãã¡ã§åãä¸ãããã¦ãã¾ãããAmazon Web Service (AWS) ã®ãããã¯ã¹ãã¬ã¼ã¸ãµã¼ãã¹ã§ãããAmazon Elastic Block Store (EBS) 㧠SSD ãããã©ã«ãã§å©ç¨ã§ããããã«ãªãã¾ããã ããã¥ã¢ã«ãæé表ãSIMPLE MONTHLY CALCULATORãæ¹çããã¦ãã¾ãã ãªã³ãã¬ç°å¢ã¨æ¯è¼ãã¦é度çã«å£ãã¨ãããã¦ããEBSããããã§æ±åãæ½åã§ããã§ãããã? ãã¡ããã¤ã³ã¹ã¿ã³ã¹ã®ã«ã¼ãããªã¥ã¼ã ã¨ãã¦ãå©ç¨ã§ãã¾ãã ï¼çªç¶ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ä¸ã§ã®ãã¤ã³ã¹ã¿ã³ã¹ã¦ã£ã¶ã¼ãããã¤ã³ã¹ã¿ã³ã¹ãèµ·åãããã¨ããããSSDãé¸ã¹ããã©ã©ããã?ã¿ãããªãããã¢ãããã§ã¦å¤§é¨ããã¦ãã¾ãã¾ãããï¼ ãã¡ãã30GB ã¾ã§ã®ç¡æ使ç¨æ¨©ãä»ãã¦ãã¾ãã EBSã®ã¿ã¤ã ããã¾ã§ "standard" ããªã¥ã¼ã ã¨è¡¨è¨ããã¦ããE
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}