YAPCåå ã¡ã¢ 8/21 1æ¥ç®
YAPCåå ã¡ã¢ 8/21 1æ¥ç®
ã¡ãªã¼ã¯ãªã¹ãã¹ãLarry Wall
- ããããç©èªãæ輪ç©èªãã¹ã¿ã¼ãã¬ãã¯
- 2015/12/24 perl6 1.0åºãããï¼(ãã¹ã«è½¢ãããªããã°)
ãããªãããããç©èªã¨æ輪ç©èªããå
¥ã£ã¦ãã¦ãªã¼ãã£ã¨ã³ã¹ãä»ãã¦ãã¦ãªããã§ã¯ãã£ãã
ãã¹ã«ã¯æ³¨æãã¦æ¬²ããã
ããããã£ã¦ãªããã©æ£è¦è¡¨ç¾ã®è©±ï¼ã§$1ã$0ã«ãªããã£ã¦è¨ã£ã¦ã¦ã
ããã£ã¦å¤§ä¸å¤«ãªãã ã£ãã£ã¦å°ãæã£ãã
ä¸çå±éãã大è¦æ¨¡ã¦ã§ããµã¼ãã¹ã®ãããã¤ãæ¯ããæè¡ãaerealãã
- Miiã¯å ¨ã¦html gameå ããããã©ã¦ã¶ãèµ·åãã¦è¡¨ç¤ºãã¦ãã
- ã²ã¼ã å ãããæ稿ã§ãã
- JP/US/EU
- DB multi-master + region replication
- PCããã¯å ¨ä¸çUSã«ã¤ãªãã
- ã¿ã¤ã ã©ã¤ã³ãå ±æãéç¥ã¯ãã«ããµã¼ãã¹REST API
- Miiverse deploy
- capstrano2 + Git
- regionè¶ ãã+å°æ°ãå¤ãã¦åægit pullèããããªã
- slave+random accessã§åæ£
- git slaveãåregionã«é
ç½®
lsyncdã®ç£è¦ä¸éã«å°éãã¦ãã¾ã£ã
Capstrano
- Mackerelå©ç¨ããåãRoleãè¨å®
- AutoScaleã¯äºåã«poolãããã·ã³ãå©ç¨ãã¦ãã
- deployã¯ä¸æçã«å ¨å°ããã¦å®æ½ãã¦ä¸è¦åã¯è½ã¨ãã¦ãã
- éçºããã¼
- æ°gitåæã·ã¹ãã
- ä»å¾ã®ãããã¤
- ä¸è¬èª²é¡
- deployã«å¿ è¦ãªãã®ãå ¨ã¦commitå¿ è¦ repoè¥å¤§å
- ãã«ãããå ´åãæéããã
- Miiverse課é¡
- å°æ° gitè² è·
- region
- consul + stretcher
- jenkins build->s3->consul+stretcher
- perf
git: 1149 s
consul+stretcher: 29 s
- 40å
- ä¸è¬èª²é¡
- QA
- gitåæã·ã¹ãã ããã³å¨è¾º->perl5 ãããã¤å¨æã2é±éï¼bugfix
- pullåã§ä¸å°ã ã失æããå ´åã®æ¤åº?->失ææã®å¦çãæ¸ãã
- pull req mergeã¯åæã·ã¹ãã ãå°å ¥ããç®æã§ã¯ä½¿ããããã«ãªã£ã
- codedeploy: ææçã«æ¤è¨ãã¦ãªã
- consulã®ã¤ããã¨ãã: åã¤ãã³ãã®éç´ãé£ããããå®äºãããããã®ãï¼
- ã©ã®ãããã®è¦æ¨¡ããconsul? 30ãããããGit pullãã¤ããªã
æ°å¹´åããããregionééç¨ã®ä¾ã¨ãã¦ã¦ã©ãããã¦ãã®ã§è´ãã¦è¯ãã£ãã
å¤ãã¼ã é£æºãã¦ãããã課é¡ãæ§è½å¤ãããããªãã¦ã¦ããããããã
Consulã¨èªä½OSSãæ´»ç¨ãã100å°è¦æ¨¡ã®Webãµã¼ãã¹éç¨ fujiwaraãã
- Lobi ã¹ããåãã³ãã¥ããã£ããã¬ã¤å®æ³ã¨ãã
- hostã®ç¨®é¡å¤ã
- perl, node.js, Go
- AWS移è¡æã®æ©ã¿ãDNSããªããChefã§/etc/hosts
- AutoScaleããã
- å é¨DNSã®ä»£ããã¨ãã¦Consulæ¤è¨
- failedã ã¨DNSå¼ãããleft(èªåããé¢è±ããã¨ã)ã¯ç¡ç
- rawã£ã¦ã¤ããã¨Bodyã ã帰ã£ã¦ãããBase64decodeãããªã
- å ¨ã¦ã®åãåãããLeaderãå¦çãã => stale modeã«ããã¨ä»ãå¿çãã
- Consule server 2CPU 20MBMEM 2GBDisk
- root commandæãããªãããã«ã¦ã¼ã¶ããã»ã¹ã«ãã¦ããã
- 1年以ä¸éç¨ãã¦ãããAgentãè½ã¡ãããããã¨ã¯ãªã
- ãªããã¹ã§Leaderé¸åºã§ããªãå°æ°ã¾ã§æ¸ããã¨å´©å£ããã»ã»ã»ã»
- ã¢ã³ã¹ãã«Lobi SDKãå
¥ã£ã=>大éã®åç»ãããã
- Spot Instance + èªåAutoScale
- ã¯ã©ã¹ã¿å ã§uniqueãªååãå¿ è¦
- Stretcher
- AutoScaleããã«ã¯pullã§ãªãã¨ããã
- Rolebackãããããeventã§åã®MANIFESTæå®ããªããã ã
- Deployå®äºãå¾
ã¤ã«ã¯->kv dashboard
- 100å°ã失æã§100åãã°æµããªãããã«kvsã«å ¥ãã¦ç®¡ç
- trigger
- Consul lock ã使ãã¨é¨åå®è¡ã§ãã => BlueGreen
- ãããã¯Roleåãã
- serverå
å®å
¨ã«åã®Miiverseã®çºè¡¨ã®èª²é¡è§£æ±ºã¿ããã«ãªã£ã¦ã¦ãå¾æããã
èªåã®å ´åã¯å°æ°ã¯ããã¾ã§ãããªããã©ã種é¡ãå¤ãã¦pushã¯æå®ãã¤ããæãåºã¦ãã¦
pull(remote trigger)ãæ°ã«ãªã£ã¦ãã¦consulã®èª¬æã詳ããã¦ãããããã£ãã
kv dashboardã®æå³ãèªåã®æ¸å¿µã¨åè´ãã¦ãã¦è²ã
ã¿ã¤ã ãªã¼ãStretcherãæ¤è¨ããããªã¼ã
Conway's Law of Distributed Work caseywestãã
- remote ã§ä½æ¥ãè¡ãæ§ã ãªãã¼ã«ç
- remoteãã¦ãã¦ãããã«Officeã«æ¥ãã®éè¦
- ä»ã«äººããããã¨ãæèãããæ©ä¼
- æå³çã«remoteã®äººãchatãvideo chatã®è°è«ã«å·»ãè¾¼ã
- åæ£ãã¼ã ã«ãCAPå®ç
- åæ£åãããã·ã¹ãã ãä½ãã«ã¯åæ£åããããã¼ã ãå¿ è¦(?)
- ãªãJIRAãå«ããï¼
- Administratorãå ¨ã¦ã®è¨å®ãWorkflowãå¤ããã¦ãã¾ã
- ä»ã¾ã§èªåãè¦ã¦ãããã®ãå¤ãã£ã¦ãã¾ãã
- confluenceã®hosted jiraã ã¨ãå¶éãããã®ã§å®å¿
- remote workã ã¨åãããããããªããï¼
- èªåã®ã¹ã±ã¸ã¥ã¼ã«ãå³ãã管ç
- å¸°å® ãä¿ã
- 責任åæ
- Google docsã®Googleçã¯ä¿¡ç¨ã§ããã®ãï¼
- ä¿¡ãã¦ãã
- hipchatã¯å±¥æ´ãæå·åãã¦ãªãéå»ããã£ã
- S3ã«é¢ãã¦ã¯ç¶æ³ã«å¿ãã¦é©ç¨ãå¤ããã«ã¼ã«ã決ãã
- code review ã¨ãã¢ãããåæã«ãããï¼èªåã¯ã©ã¡ããã«ãããã¨ãå¤ã
- é¸æçã«ãã
- ãã¢ãããã¦ãã°ååã ãã第3ã®ç®ãå¿ è¦ã§ããã°ãªã¯ã¨ã¹ããããã
- Timezoneã«å·®ãããå ´åã¯ã©ãããã®ãï¼
- é£ãããããã¤ãæ¹æ³ãããã
- ããã¤ãã®å ´æã«äººãã¾ã¨ãããç¹å®ã®æ©è½ãã¾ã¨ãã¦æ å½ããã
- å人ãã°ãã°ãã®å ´åã¯é常ã«é£ãã
- meetupé »åº¦ï¼
- min:4åæã«1åã
- remoteã§é£ãããã¨ã2ã¤
- 人éé¢ä¿ã®æ§ç¯
- é·æçãªãã©ã³ãã³ã°
- languageãç°ãªãå ´åã®å¹æçãªã³ãã¥ãã±ã¼ã·ã§ã³
- ãã¾ãä½é¨ããªãããè±èªãã¼ã¹ã§ãã£ã¦ãã
- smartphoneã§ã®Chatãç¹ã«Vacations
- ãã¡ãã便å©
- ä¼ã¿ã®æã«ã¯æ°ãã¤ãããç½®ãã¦ãã
è±èªï¼é訳ã ãã©é常ã«ããããããå
容ã ã£ãã(翻訳ã鬼)
ãããç¹æ®ãªãã¨ããã¦ãããã§ã¯ãªããã§ãè²ã
ã¨æ°ãé
ã£ã¦ããããªã¤ã¡ã¼ã¸ã
remoteãã£ã¦ã¿ãããã©éä¸åããªã¼ãæ©ã¾ããã
ãã£ããããªããæè¡ãkarupaneruraãã
ç«ã¡è¦ã ã£ãã®ã§ã¡ã¢ãªã
èªåã®è¶£åçã«éç¨æå¾
ã ã£ãã®ã§ãã©ã°ã©ãã¼ãã¼ã¨ãã(å½ããå)
ããªã¼ããã«ã³ã¼ãèªãã©ããã¯ã¢ã°ãªã¼
ææ³
LT...ã¯é¨å±ã«å
¥ããã«å¸°ã£ãã
åã®æéã®æå¾ãé¨å±ãåºã人ãå¤ãã¦æãæªãã£ããããããäºãã¨ã
ä¸ã«çã¦ãYAPC Tã·ã£ãã«LTæã«ãªããã¨æã£ã¦ãã®ã ãããã¡ãã£ã¨æ®å¿µã ã£ãã
ããã¤ãè¦ãããã©æºå®¤ã§ç¡çãªãã®ããã£ã¦ãææ¥ã¯ãã£ã¨æ¿æ¦ãªã®ã§YAPCå端ãã¼ãªã¼ãããã¼ãã¼ã£ã¦ææ³(å°ä¸¦æ)
以åã«ãã±ããè²·ã£ãã®ã«æ¥ãªãã£ãæããã£ã¦ãããæããæ°ã«ãªã£ã¦ããã
ä»åã¯å人ã¹ãã³ãµã¼ã«ä½æ
ããããã©ããã ãã®ä¾¡å¤ã¯ããã¨æã£ãã