ï¼ä»æ´ã§ããï¼æ°å¹´ããã¾ãã¦ããã§ã¨ããããã¾ãï¼
JXé信社ã§ã·ãã¢ã»ã¨ã³ã¸ãã¢ããã¦ãã¾ã, @shinyorkeï¼ãããã¼ãï¼ã¨ç³ãã¾ã.
æè¿ã¯é±ã«2, 3å, ã¸ã ã§10kmã¡ããèµ°ã£ã¦ãã¾ã.*1
JXé信社ã®ã¨ã³ã¸ãã¢ãã¼ã ã§ã¯, æã«ä¸åº¦ã¿ããªãéã¾ãæ次åå¼·ä¼ã¨ããã¤ãã³ããããã¾ãï¼åºæ¬çã«ç¬¬2éææ¥éå¬ï¼*2.
â»éå»ã®éå¬ã¬ãã§ã
2020å¹´åï¼ãã¤, 飯ç°æ©ãªãã£ã¹æå¾*3ï¼ã®åå¼·ä¼ã¯,
ãæ®åããããã¨ãå¹´æ«å¹´å§ã«åå¼·ãããã¨ãªã©ãçºè¡¨ããLT大ä¼ã
ã¨ãããã¨ã§, ç§ã¯
- ãããµã2020ç»å£æã«æ«é²ãããã¢ã¢ããªãæ«é²
- å¼ç¤¾ãããã¯ãã§ã使ã£ã¦ããFastAPIåãããã¾ãã&Nuxt Core UI ãããã§ï¼ã£ã¦ããå¸æ
- ï¼ã¡ãã£ã¨ã ãï¼éçé¸æã®è©ä¾¡ææ¨ãç´¹ä»
ã¨ããçºè¡¨ãããã¦ãããã¾ãã.
ãã®ã¨ã³ããªã¼ã§ã¯ãããªçºè¡¨å 容ã®ãµããªã¼ããã³, åå¼·ä¼ã®æ§åãã¡ãã³ã£ã¨ç´¹ä»ãããã¨æãã¾ã.
Nuxt.js + FastAPIã使ã£ããã¼ã¿ã¨ã³ã¸ãã¢ãªã³ã°ãªã㢠+ æ次åå¼·ä¼ã¬ãã¼ã
ã¨ããããã§èªåã®çºè¡¨å 容ãï¼ãããµãæ¬çªã«æ¯éãããããªãç¨åº¦ã«ï¼ç´¹ä»ãã¾ã.
ãªããã¢ãä½ã£ãã®ã
ãããªã宣ä¼ã§æ縮ã§ãã, ãDevelopers Summit 2020ãã®2æ¥ç®, 2/14ã«ãã¡ãã®ãã¼ãã§ã話ããã¦ããããã¨ã«ãªãã¾ãã.
ã«ãã´ãªã¼ããã¨ã³ã¸ãã¢ã®çãæ¹ãã§, 話ãå 容ãç´°ããæè¡å 容ãããç§èªèº«ã®ãã£ãªã¢ã®è©±ãªã®ã§ä¸è¦ããã¨ãã¢ãªãã¦ãããªãã®ã§ã¯ï¼ã¨ããæããªã®ã§ãã,
- ç§ã®ãã£ãªã¢ã®è©±ã«ãã¾ãã»ã¤ãã¼ã¡ããªã¯ã¹*4ã®è©±ã絡ãã¦ãã¼ã¿ãµã¤ã¨ã³ã¹&ã¨ã³ã¸ãã¢ãªã³ã°ãªå³ä»ãã欲ãã
- èªåã¯ã¨ã³ã¸ãã¢ã§ãã, ãããµãã¯ååã®éããéçºè ã®ä¼è°ã»ãç¥ãããªã®ã§éçºè ãããæ¯ãèããããã
- ããããä½ãã, å¹´æ«å¹´å§ã¨ããæéããã£ããã¬ãããªã¨ã¼ããã¼ã¹ã§ï¼å°ããã¦ãï¼ãããã¯ãä½ãããï¼
ã¨ããèªåã®è¶£å³ã¢ããã¼ã·ã§ã³ã§ã¨ã¤ã¤ãã¨ä½ã£ã¦å½æ¥æ«é²ããã¾ã§ã«è³ãã¾ãã.
ãã¢ã®æè¡é¸å®&æ§æ
ãã¢ã®æè¡é¸å®ã§ãã,
- ãã¢ã¯ãã¼ã«ã«ï¼Docker Machineï¼ä¸ã§ããã«ãã¦ã, AWSãªãGCPãªãã«ãã¼ã³ããããã¨ã«åãã¦ãµã¼ãã¬ã¹ã§ã¤ã±ããããªæ§æ
- å¯è½ãªéã, ãèªåãã¾ã æªçµé¨ããããã¯ããã¼ã ã¡ã³ãã¼ã«ãªã¹ã¹ã¡ããããFrameworkã»ã©ã¤ãã©ãªã使ã
- ãDone is better than perfect.ï¼å®ç§ãç®æãããã¾ãçµããããï¼ãå°ãªãã¨ãæåã®ãã¢ã¯è¦ä»¶ããã£ã¡ãå®è£ &è¦ãããããããªè³ªã¨ã¹ãã¼ããåºãããã®ãéè¦
ã¨ãããã¨ã§, 以ä¸ã®ãããªæ§æã§ä½ãã¾ãã.
ãã¤ã¯ããµã¼ãã¹ã¨ããã»ã©ã®ç©ã§ã¯ããã¾ããã, Containerãã¼ã¹ã§ããã³ãã»ããã¯ã¨ã³ãã»åæã®åã¬ã¤ã¤ã¼ã§å¿ è¦ä»¥ä¸ã«ç¸äºä¾åãããªããã¨ãç®æãããããã¾ãã.
Nuxt Core UIã«ãã管çç»é¢ãã³ãã¬ï¼ããã®ãã¼ã¿è¡¨ç¤ºã¢ããªéçºï¼
JXé信社ã§ã¯, iViewã¨å¼ã°ãã管çç»é¢ãã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦ç®¡çç»é¢ãä½ããã¨ãå¤ãã§ã.
ã, ãé¸æè¢ã¨ãã¦ãããªã®ããããã¼ãã¨ãããã¨ã§ä»¥åç§ãPyCon JP 2018ã§ç´¹ä»ããã¦ããã£ãNuxt Core UI ã¨ãã, Nuxt.jsãã¼ã¹ã®ç®¡çç»é¢ãã¬ã¼ã ã¯ã¼ã¯ãç´¹ä»ã¨ãããã¨ã§ãã¡ãã使ãã¾ãã.*5
ä»åã¯ä»¥åä½ã£ããã®ããã¼ã¹ã«,
- Nuxt.jsã®ãã¼ã¸ã§ã³ãUpgrade
- ç¶æ ä¿æã»ä¿åãã¡ããã¨Vuexã§å®è£
- ä½ãçã«ã¤ã±ã¦ãªãã£ãç´°ããæããã©ãã·ã¥ã¢ãã
ã¨ããæãã§ç´1å¹´åã¶ãã«æ´æ°ãã¦æã¿ã¾ãã.
çºè¡¨ããã¨ããã°ã©ããåããæã«ãªãã¦ãããªã¢ã¯ã·ã§ã³ãå°ãããªããããã£ãããããã£ããªã£ã¦æãã¾ããï¼èªç»èªè³ï¼.
FastAPIã«ããã¶ã¯ãã¨APIæ§ç¯
ããã¯ã¨ã³ãã®APIã¯ãã³ãã¯Golangã§ä½ãäºå®ã§ããã,
- Golangèªä½ã¯åãã¦ã§ã¯ãªãã3, 4å¹´è¿ããã©ã³ã¯ããããDone is better than perfect.ããå®ããããããã
- ä½ã£ã¦ãéä¸ã§ä»æ§ãã´ãªã´ãªå¤ããå¯è½æ§ãé«ããã¢ãªã®ã§ä¸æ¦ã¯æ £ãã¦ãPythonã§æ¸ããã»ããå¹çã¯è¯ããã
- Pythonçã¯ãåãã¢ããªãã®ãã®ã ãã©è¨è¨å³ãæ±ãã«ãã¦ã©ã£ãã®ã¿ã¤ãã³ã°ã§ä¸¸ã£ã¨Golangã«ï¼
ã£ã¦ãã¨ã§æ¥é½Pythonã«ããéçºã«ã·ãããã¾ãã.
æåã¯responderã使ãã¤ããã§ããã, å¹´æ«å¹´å§ã«æå¿ã¡ã³ãã¼ã§ããããä¼ãã¦ããæã«,
ä», 社å ã§ã¯FastAPIã¢ããã§ããï¼
ã¨è¨ãããã®ã§è©¦ãã«FastAPIã使ã£ã¦ã¿ããã¨ã«ãã¾ãã.
ããã¯é¸æè¢ã¨ãã¦å¤§æ£è§£ã§, ç´¹ä»ãã¦ããã£ããã®æ¥ã®å ã«APIã®å®è£ ã8å²ã»ã©çµããã¾ãã.
æ©è½æ¡å¼µããã©ãã·ã¥ã¢ãããããæãã«ãªã£ã&ç®è«è¦ãéæã, Nuxt Core UIã«ããããã³ãã¨ã³ãéçºã«çµå§ã§ããã®ã¯ãã³ãè¯ãã£ãã§ã.
é¡ä¼¼æ§ã¹ã³ã¢ã§ä¼¼ã¦ããé¸æã®ãªã³ã¡ã³ã
å®ã¯ãã¢ãªæ©è½ã§ãããä¼¼ã¦ããé¸æãªã³ã¡ã³ããã«ã¤ãã¦ã¯ãé¡ä¼¼æ§ã¹ã³ã¢ãã¨ããã¹ãã¼ãçéã§ä½¿ããã¦ããã¢ãã«ã使ãã¾ãã.
ä¸è¨ã®ã¨ã³ããªã¼ä½ã£ããã®ãå ã«,
- ãã¼ã¿ã2019ã·ã¼ãºã³ã®ã¢ãã«å·®ãæ¿ã
- ç´19,000人ã®é¸æã®ã¹ã³ã¢è¨ç®ã®ããDockeråãã¦GCE + GCSä¸ã§ã´ãªãã¨è¨ç®
ãã¾ãã.
å¹´ãã¾ãããããã®ã¿ã¤ãã³ã°ã§åæ¥ã»ã©ããã¦ããã¾ãã.
å½æ¥ã®ææ
ã¨ãããã¢ãè¸ã¾ãã¦è©±ããå 容ããã¡ãã«ãªãã¾ã.
ç´5åã®çºè¡¨ã¨åããããã®è³ªçå¿çãããã¾ãã.
- éçã®ææ¨ãé¡ä¼¼æ§ã¹ã³ã¢ã«å¯¾ãã質å
- ãããããã¼ã¿ã¯ã©ãã«ãã*6
- Webç³»ã®ä»ã®ãªã³ã¡ã³ãã¨ãã«ãä¼¼ã¦ãã¦é¢ç½ã
ãªã©ãªã©è²ã ãã£ã¼ãããã¯ããã£ã¦ããã£ãã§ã.
ããããã¾ã§ãã¢ã®æ«é²ãæåã®ç´ æ¯ããããæãã§ãã.
ãã®ä»ã®çºè¡¨&次åã«åãã¦
ãªã, ãã®ä¼ã¯LTä¼ã§ããããªã¡ã³ãã¼ã®ããããªçºè¡¨ãããã¾ãã.
- Amplifyã使ã£ãã¢ããªéçºã®åã©ãã
- æ¢åãããã¯ãã使ãããæè¡ã§ã¼ããã¼ã¹ã§ä½ãç´ã
- èªå®ã¹ã¯ã©ã ãã¹ã¿ã¼ç ä¿®ã¬ãã¼ã
- éå»ã«ãããã¼ã ã®ã¢ã¼ããã¯ãã£è©±
- GISãã¼ã¿ã®æ±ãæ¹
- ã¨ã³ã¸ãã¢ã«ããå¹ãä½ææè¡ã®ã¯ãªã
å
¨ã¦ãé¢ç½ã, ä¸ã«ã¯ãè
¹ãæ±ãã¦ç¬ããï¼ãã¡ããå¦ã³ãæ·±ãï¼ã¢ãããã,ãã¹ã¦ãç´¹ä»ãããã®ã§ãã大人ã®äºæ
ã§åæ°ã足ããªãã®ã§ããã¦ããã¾ãè¦ç¬
å ¨ä½ã¨ãã¦ã¯, ããããã®æè¡çãªè°è«ãèå³é¢å¿ã§çãä¸ããåæ°ããããã¨ããä¼ã§ãã, å人çã«ã¯2, 3ã¶æã«ä¸åº¦ããããLTä¼ããã£ã¦ãããããªã¨...
ã¾ã, ä»åã¯ç¤¾å¡ã®ã¿ã®çºè¡¨ã§ãããã¤ã³ã¿ã¼ã³çã®ææããã¤ã姿ãã¿ãããªï¼ã£ã¦æã£ãã®ã§ãã¡ããããæãã«ã¸ã§ã¤ã³ã§ãããããªæãã«ãã¦ããããã§ãã.
ãããã« - ãããµãã§ä¼ãã¾ãããï¼
ã¨ãããã¨ã§ç°¡åã§ã¯ããã¾ããã, æ次åå¼·ä¼ã®ã¬ããéãã¦JXé信社ã®ã¨ã³ã¸ãã¢æåãç´¹ä»ããã¦ãããã¾ãã.
ä¸éæ¡ç¨ããã³ã¤ã³ã¿ã¼ã³ãåéãã¦ãã¾ãã®ã§, ä»åã®ã¬ãã§ãèå³ãæã£ãæ¹ã¯ãã²ã«ã¸ã¥ã¢ã«é¢è«çã§æ¥ã¦ããããã¨å¬ããã§ã.
ã¾ãç§å人ã¨ãã¦ã¯, ãDevelopers Summit 2020ãã§ç»å ´ããã®ã§ãã¡ãããããããããããã¾ãï¼å¤§åãªã®ã§äºåº¦è¨ãï¼
æå¾ã¾ã§ãèªã¿ããã ããããã¨ããããã¾ãã&次ã®ã¨ã³ããªã¼ã¯ï¼æ¥é±ãã稼åããï¼æ°ãªãã£ã¹ãããå±ããããã¾ãï¼
*1:ã¡ãªã¿ã«èµ°ã£ã¦ãçç±ã¯, å人OKRã®KR3ã«ããã¾ã.
*2:ã¡ãªã¿ã«ç§ã¯å ¥ç¤¾ç´å¾ã«PySparkã交ãããã¼ã¿åºç¤å ¥éã¿ãããªè©±ããã¾ãã&ãã®ææã®ä¸é¨ã¯ã¢ããã³ãã«ã¬ã³ãã¼ã§ãç´¹ä»ããã¦ãããã¾ããï¼å ã ã¯åå¼·ä¼ãã¿ã ã£ãã®ã§ãï¼.
*3:ä»æä¸ï¼ã¨ããããä»é±æ«ï¼ã«æ°ãªãã£ã¹ã«ãå¼è¶ããã¾ã
*4:æ¸ç±ã»æ ç»ãããã¼ãã¼ã«ãã§æåã«ãªã£ãéçã®çµ±è¨å¦çåæã®æ¦å¿µã¨ææ³ã§æ¨ä»ã¯ããã¼ãã«ã»ã¢ããªãã£ã¯ã¹ãã¨ãã人äºçãã¼ã¿ãµã¤ã¨ã³ã¹ã®å ç¥ã»æç§æ¸ã«ãªã£ã¦ããåéã§ãããã¾ã.
*5:æ¬å½ã¯iViewã§ã¼ãããä½ããããæ°æã¡ãããã¾ãããæé足ããªããªã£ã¦ãã¨ã§æè ¸ã®æãã§æ念orz
*6:念ã®çºæã£ã¦ããã¨ä»åã®åæã¯ã¡ã¸ã£ã¼ãªã¼ã°ã®ãªã¼ãã³ãã¼ã¿ã使ã£ã¦ãã¾ã.