YAPCåå ã¡ã¢ 8/22 2æ¥ç®
YAPCåå ã¡ã¢ 8/22 2æ¥ç®
Mackereléçºã«ãããScalaã¨Goãããã¦Perlãsongmuãã
- 趣å³CPANIZE
- Mackerelã®éçº
- æ°æ©è½ãå¤å½¢ç£è¦ å¤é¨ããã¯ãã¼ãªã³ã°ç£è¦
- ãªã³ãã¬æ§ç¯ãAWSé害ã¨ã¯ç¡é¢ä¿
- LVS nginx scala redis postgreSQL Graphite
- Angular typescript
- Scala Go JavaScript Perl Ruby
- Play Framework
- Scala éçåã·ã¹ãã 使ããã
- é¢æ°å楽ãã
- Option便å©ãNullã®ãªãä¸ç
- ã³ã³ãã¤ã«ã®é ãã¹ãã¬ã¹<=>ãã°æ··å ¥çã¯ä½ã
- 大ãç®ã®ãã®ãã«ãããªä½ãã®ã«ããã¦ããScala
- Mackerel-agent Golang
- Golang 常é§ããã»ã¹ã«åãã¦ã
- URLå¤å½¢ç£è¦
- job queue: redis
- å¤å½¢ç£è¦ã¯ã¼ã«ã¼ãµãã·ã¹ãã ãåãåºãã¨åä½ã®ç¶æ³ãè¦ãã
- Graceful restart
- Mackerelã®ãµã¤ãã¯ãã¯ã¦ãªããã°ã§éç¨ãã¦ãã
- paranoidhttp å é¨DNSã¸ã®è§£æ±ºãç¦æ¢ãã
- Golang
- ã¯ãã¹ã³ã³ãã¤ã«ãã¡ããã¨ããã¨æå¤ã¨å¤§å¤
- æ¸ãæ¨ã¦ãã¥ãã
- å®ç¨è¨èªã¨ãã¦ã®å²ãåã perlã
- ç¶æ¿ããã³ã³ãã¸ã·ã§ã
- Mackerelã«ãããHaskell
- ãããã¡ã¤ã©ãåçã«æ¯ ç¶
- ãªãªã¼ã¹ã®èªåå
- perl å ¨é¨Scalaã ã¨å¤§å¤ãå段ã«ãããããWebServerãã£ãã»ãããã
- ruby: fluentd-plugin-mckerel / mackerel-client
- ã¯ã¦ãªæ±äº¬ã®ã¨ã³ã¸ãã¢ã1å¹´ã§6åï¼(6人)
- QA
- è¨èªã®é©æé©æããã¨å±äººåããªãï¼ããªããã¡ã ããã¬ãã¥ã¼ããããæ¸ãã¦ããã
- Golang vendoring? å¤é¨ã©ã¤ãã©ãªã¯ä»ã®ææ éã«ä½¿ã£ã¦ãã®ã§å°ã£ã¦ãªã
- buildã¹ã¯ãªããperlãGolangã®ã¬ãã¸ããªã«å
¥ã£ã¦ããã®ã¯ï¼
- perl好ãã ãã軽ããéåæãªã
- deployæéãæç20åã ããã¹ããããã®ã§1æéã¨ã
Mackerelã¯ãä¸è©±ã«ãªã£ã¦ãã®ã§ã¡ã¢ã¯ãã£ããé£ã³é£ã³ãããã ã£ãã®ã ã éçºç°å¢å¨ãã®è©±ã¯ãããªã«è´ãããã¨ãªãã£ãã®ã§ãããããã«ãªã£ãã Serverã¯AWSãããªãããã (ãããããã)
NASA主å¬ã®ä¸çæ大ç´ããã«ã½ã³SpaceAppsãéå¶ãã話ã湯æãã
- SpaceApps (International SpaceApps Challenge)
- è¡æã³ã¬ã¯ã·ã§ã³
- äºåå±ã¯SpaceAppsã®ããã«çµæããã©ã³ãã£ã¢
- ãã£ããããã«ã½ã³ãªã®ã§å¤ããã°ããããã§ããªã
- ã¹ãã³ãµã¼ãåå è²»ã¯ä¸å¯ã®ã«ã¼ã«
- ç¡æãã£ã³ã»ã«å¯¾çã以éãæãæè¨æ²è¼
- éå¶ã®æ å ±å ±æãTimezoneãéãã®ã§1æ¥3åMTGéå¬ãã©ããã«åå
- ã³ãã¥ãã±ã¼ã·ã§ã³éè¦ãMTGå¾ã«é£äºãããã¨ãã
- ããã¥ã¡ã³ãã¼ã·ã§ã³å¤§äºããã£ããã¨ãå ¨é¨æ¸ãåºã 941ããã°ãMakiãã
- ã¤ãã³ãã®éå¶å´ã«åå ãã¦ã¿ãã
- QA
- äºåå±é·ã®ä»äºã¨ã¯ ãã人ãããªããã®å ¨é¨
ä¸çã§2çªç®ãããã®è¦æ¨¡ã®ã¤ãã³ãã ãã©ä»ã¾ã§ç¥ããªãã£ãã®ã§åèã«ãªã£ãã ã¤ãã³ãå¼±è ã ãã©æ©ä¼ãããã°ã»ã»ã»
Docker3å å¼ã«ã¤ãã¦ãã¢ã«ãã«å¤§æç¥ãã
- Docker Machine / Docker Compose / Docker Swarm
- Docker Toolbox
- causion!!! all beta vesrion
- Docker Machine: Vagrantã®Dockerãã¼ã¸ã§ã³ã¿ãããªãã®ï¼
- cloudä¸ãåãIFã§æä½ã§ãã
- Docker Compose: YAMLå®ç¾©ãã管ç
- extends ä»ã®YAMLãincludeã§ãã
- Docker Swarm: filters strategies
- Usecase
- éçºç°å¢é å¸ docker-compose.ymlãã¬ãã¸ããªã«é å¸ãã¦ãã
- volumeã§ãã¼ã«ã«ã¨åæãã¦ããã
- Multi cloud cluster ?
- zenbutsuãã
- éçºç°å¢ã¨ãã¦ã¯ååå©ç¨å¯è½
Dockeræ©ã使ããããã«ãªããããéçºç°å¢ã¨ãã¦ååã¨ããã®ã¯å¿å¼·ãã
3åã§ãµã¼ãã¹ã®OSãå ¥ãæ¿ããæè¡ãhsbtãã
- YAPCéããªãã£ãããã社å¡->ãããããã¯ã«ã³ãã¡ã¬ã³ã¹
- 3ãµæå¾ã«CMæã«ãµã¼ãã¹ãè½ã¨ããªãããã«ãã¦ï¼
- Web+DB
- è¬ãµã¼ããåç´å¹³è¡ã§ã¯ãªããæ°å°ãã«ããã«ã
- scale automatic é«é
- ç¹å½ãã¼ã
- Scale out
- old: golden image ç§ä¼ã®ã¿ã¬
- hostæ å ±ãèµ·åå¾ã«æ¸ãæãããæã§ãæé æ¸ãåæ¥
- ã§ãããã¤ãªããããã5-6å°ãtanpopo work
- Scietific linux 6.x <- ç«ãå´ã
- new: puppet
- æ¸ãããã ã£ãã<- æ¸ãæãã
- ãã¼ã«ã«ã¢ãã«ããagentã¢ãã«ã¸
- ã³ã¼ãåã§ãã
- Automation
- sshã使ããªããä½ã§ãã§ãããã®ã«å¶éã課ãã¨ã¤ããã¼ã·ã§ã³ãèµ·ãã
- cloud-init: YAML(userdata?)ã§èµ·åæå®è¡ã§ãããrun_cmdã¯ä½¿ããpuppetã«å¯ãã
- Applicationã¯hostname/ipã«ä¾åããªããå¦çã¯IaaSããAPIåå¾
- hostnameæ å ±ã¿ãããªã®ãæ¶ãã¦Imageç»é²èªåã§ãã
- 稼åããã¨ãªããªãUpgradeã§ããªããªãã®ã§ãå ã«Rails4ã«ããã
- ãããªãHerokuã¿ãããªãã¨ãããã¨ççºããã®ã§ç®ãåã®ãã®ãçå®ã«èªåå
- é«éã¹ã±ã¼ã«ã¢ã¦ã
- ä¸è¨ã¾ã§ã§ã1æé
- capistrano3å°å ¥
- Rails Bundle (å 製)ãpullåãS3
- Consul+consul-alert: nagioså¼±è ããã
- mackerel: 1Roleã«50+host, retire API -> shutdown init
- ãå ¬å¼ããµãã¼ããã¦æè¡è ã®åªåãå ¨é¨ç¡é§ã«ãªãã¾ããï½ã
- fluentd
- thor: sub commandãä½ãã
- 人éãäºæ¸¬ããªãã¦ãããã¢ã¼ããã¯ãã£ã使ãã¾ããã
- æä½æ¥ã«ããªã
- ããã¾ã§ã§20-30å
- çªå¤:AntipopãããYoutuberã«ãªããã
- æé ãåé¡ãSlow Operation, Fast Operation
- Minimal image (phase1)
- èµ·åããã ãã§Railsãèµ°ãImage (phase2)
- éãå¦çã®åºåããã¨ã«Imageãä½ã->Packerã§
- Packer
- Image creation ã®æåã§Serverspecå®è¡
- Infra CI: Drone CI->puppet
- refactoring puppet manifests
- BlueGreenDeploy
- AWSã¯ELBãOpenStackã¯nginx+consul-template,nginx-mruby
- ä»å¾
- imageä½æã®èªåå
- docker
- QA:
- Scaleããã¨DBçã«ãããè² è·ã¯ã©ãã¿ã¦ãã®ãï¼ 1->10ã¨ãããã¨ã¯ãªãã®ã§ã¾ã 大ä¸å¤«
- Scaleout trigger: TV parameterãã
ããã§ãConsulãConsulã®è©±3åãè´ãããä½ãå½ããåã«ãªã£ã¦ãã¦ããã ã¡ããã©ãã®åã試ãã§çµã¿è¾¼ãã ã°ãããªã®ã§è´ãã¦ãããæããã ã©ããã£ã¦ãã®ä»çµã¿ãèãããã®èæ¯ã¾ã§è´ãã¦åèã«ãªã£ãã
ãç¹å¥ä¼ç»ãYAPCããããï¼ä»®ï¼
ç«ã¡è¦ãªã®ã§ã¡ã¢ãªãã é¢åè¦ã¦ã¢ãã¨æã£ã¦ç´åã«é£ã³è¾¼ãã ãã©æå¾ ãè£åããªãã£ãã ãµã©ãã¨è²ã åè¨ãé£ã³åºãã¦ãæ°ããããåç»ãªãã®ããªï¼ yusukebeãããç·å¼µãã¦ãæ°ããã¦ãã®é¢åã ã¨ããããããã£ã¦ããã YAPCååå çµã ãã©æ¥½ããã¾ããã
HTTP2 æ代㮠Webãjxckãã
ãããç«ã¡è¦ãå ¥ãæ¿ãæã«åã®å¸è¡ããã¨ãã¦å¤±æããã¨ããã æ¥æ¬ã ãã¾ããã£ã³ã¹ãããããããªããBrad Fitzpatrickè¦ãã¹ãããã¨ãæã£ããã Jxckããã®ãã¼ã¯ã¯æ¬å½ã«ãã¾ãããããããããã¯ã¯ã¯ã¯ããã®ã§è´ãã«æ¥ã¦ãã¾ã£ãã ããã¦ãã£ã¡ãæºè¶³ãã¦ããã社å åå¼·ä¼ã«æ¥ã¦ãããªãããªã¨ãæã£ã¦ãã¾ãã
Lightning Talks Day 2
ãã¡ããã¡ãé¢ç½ãã£ãããæã£ã以ä¸ã«ã¬ãã«ãé«ãã£ãã ã¨ãããè²ã çªãæãã¦ãã å®å ¨ã«ã¨ã³ã¿ã¼ãã¤ã¡ã³ãã ã£ãã®ã§é ããã§åæ¼ãè¦æ±ãããã (ããã¾ããã調åã«ã®ãã¾ãã)
ã¯ãã¼ã¸ã³ã°
ãã¤ãããã¾ã§ããï¼
ææ³
ãããå å®ãã¦ããæ°ããããããããèªåã®åå ã®ä»æ¹ã¯æ®éã®åå¼·ä¼ã®å»¶é·ã§ãããªãã¦ã ãã£ã¨ã¹ãã¼ã«ã®äººéã¨äº¤æµãããããæ¹ããããã ãããªãã¨æãã ããã§ãä»åã®ãç¥ãã®ä¸ç«¯ã«é¢ããäºãã§ãã¦è¯ãã£ãã åå¼·ä¼ã§çºè¡¨ã§ããããã«ãªãã®ã¯ç®æ¨ã ãã©ãã£ããã«ãªãéããã®ã§ è¥ã人ãçºè¡¨ããã®ãé 飲ã¿ãªããé次é£ã°ãã¦è´ãããããããã®ããã (ã¨ããgdgdãªææ³ãé 飲ã¿ãªããæ¸ãã¦ã¾ã)
ã¨ãããä»åYAPCã«é¢ãã£ãçæ§ãæ´ä»£ã®YAPCã«é¢ãã£ãçæ§ããããã¨ããããã¾ããããç²ãæ§ã§ããã