ã¬ãããããã®ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã®æ£®ã§ãã
ä»åã¯ãã¢ããªã±ã¼ã·ã§ã³ã»ã¢ããã¤ã¼ã¼ã·ã§ã³ã®è©±ã«ã¤ãã¦ã§ãã
ä¼æ¥ã®DXãå®ç¾ããããã«ãã¬ã¬ã·ã¼ãªã·ã¹ãã ããã¤ã¯ããµã¼ãã¹åãããã¨ãã話ã¯ãçããä¸åº¦ã¯è³ã«ãããã¨ãããã®ã§ã¯ãªãã§ããããã
ãããä¸æ¹ã§ãå ¨ã¦ã®ã·ã¹ãã ã«å¯¾ãã¦ããã¤ã¯ããµã¼ãã¹åããããã¨ãæé©è§£ã¨ããããã§ã¯ããã¾ãããããã§ããã¤ã¯ããµã¼ãã¹ã®ç¹å¾´ããéçºã»éç¨ããã«ããã£ã¦å¿ è¦ãªè¦ç´ ãå®éã«ç§»è¡ããéã®æ¹æ³è«ãªã©ãæ°åã«åãã¦ãç´¹ä»ãã¦ããããã¨æãã¾ãã
ãããããã¤ã¯ããµã¼ãã¹ã£ã¦ä½ï¼
ãã¤ã¯ããµã¼ãã¹ã¨ã¯ããµã¼ãã¹ã¨å¼ã°ãããç¬ç«ãã¦éçºããã¦ç¨¼åããã³ã³ãã¼ãã³ãããè¤æ°çµã¿åããã¦ï¼ã¤ã®ã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦æ§æãããã®ã§ããåã³ã³ãã¼ãã³ãã¯å¥ã ã®ãã·ã³ï¼ãããã¯ãµã¼ãã¼ãã¾ãã¯ã³ã³ããï¼ã«åããã¦ãããï¼ã¤ã®ãªã¯ã¨ã¹ãã«å¯¾ãã¦ãRESTãã¡ãã»ã¼ã¸ã³ã°ã«ããéä¿¡ã§ãã¼ã¿ãéãåããã¨ã§å¦çãè¡ãã¾ãããã®å°ããªåä½ã«åå²ãããæ§é ã¨åæ£ã³ã³ãã¥ã¼ãã£ã³ã°ãããã¤ã¯ããµã¼ãã¹ã®å¤§ããªç¹å¾´ã§ãã
ãµã¼ãã¹ã®åå²ã®ç²åº¦ã¤ãã¦ã¯ããã¡ãã®è¨äºãåç §ãã¦é ããã°ã¨æãã¾ãã
ãã¤ã¯ããµã¼ãã¹ã«ã¤ãã¦ã®ç解ãæ·±ããããã«ãå¾æ¥åã®ã¢ã¼ããã¯ãã£ã¨ã®æ¯è¼ããã¦ã¿ã¾ãããã
ããããã¤ã¯ããµã¼ãã¹ã¨ã®å¯¾æ¯ã§å¼ãåãã«åºãããå¾æ¥åã®ã¢ã¼ããã¯ãã£ã«ãã¢ããªã¹ï¼ã¾ãã¯ã¢ããªã·ãã¯ï¼ã¨å¼ã°ãããã®ãããã¾ããã¢ããªã¹ã¯ãè±èªã§ãä¸æ岩ãã¨ããæå³ã§ãããããããå½¢ã¨ãã¦ã¯ãï¼å±¤æ§é ï¼ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ããã¸ãã¹ãã¸ãã¯ããã¼ã¿ï¼ã§æ§æããã¦ãããã®ãå¤ããã¨æãã¾ããã¾ãå®éã«ã¯ããã¸ãã¹ãã¸ãã¯ãå é¨çã«ã¯ããã¤ãã®æ©è½ãã¨ã«åããã¦ããã¨æãã¾ããããã§ã¯ãè¤æ°ã®æ©è½ãåä¸ã®ã¢ããªã±ã¼ã·ã§ã³ã§æ§æããããã®ãã¨ãã¦èãã¦ã¿ã¾ãã
ã¢ããªã¹ã¨ãã¤ã¯ããµã¼ãã¹ã®éã
ä¸è¨ã§è¦ãæ§é ã®éãã«ããã¦ãã¢ããªã¹ã¨ãã¤ã¯ããµã¼ãã¹ã«ã¯ããããã¡ãªããã»ãã¡ãªãããããã¾ãã ãã®å 容ãã以ä¸ã®è¡¨ã®ããã«æ´çããã¦ã¿ã¾ããã
ææ·æ§
å¾æ¥ã®ã¢ããªã¹ã«ããã¦ããã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã¯è¤æ°ã®æ©è½ããæ§æãããã¦ãã¾ããéçºããã®åä½ã§ã¯è¡ããããã®ã®ãã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ã¯åä¸ã®ã¢ã¸ã¥ã¼ã«ã¨ãªã£ã¦ãããåæ©è½ã¯ç¬ç«ãã¦ãããä¾åé¢ä¿ãããã¾ãããã®ãããããæ©è½ãå è¡ãã¦éçºãå®äºããã¨ãã¦ããä»ã®æ©è½ã¨ã®æ´åæ§ãåãã¦ããªãã¨ç¨¼åãããã¨ãã§ãããå ¨ã¦ã®æ©è½ã®éçºã®å®äºãå¾ ã£ã¦ãªãªã¼ã¹ãããå¿ è¦ãããã¾ãã
ãããããã¤ã¯ããµã¼ãã¹ãé©ç¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ãå°ããåä½ã«åå²ããã¦ããã°ããµã¼ãã¹ãã¨ã«ç¬ç«ããéçºããããã¤ãå¯è½ã¨ãªãã¾ããçµæã¨ãã¦éçºã»ãªãªã¼ã¹é度ã®åä¸ãæå¾ ã§ããã¦ã¼ã¶ã¼ãéããã«æ°ããæ©è½ã使ããã¨ãã§ããããã«ãªãã¾ãã
ç¬ç«æ§
ã¢ããªã¹ã§ã¯ãéçºã«ä½¿ãããã°ã©ãã³ã°è¨èªã製åãªã©ãã¢ããªã±ã¼ã·ã§ã³ã§å ±éã®ãã®ã使ç¨ããå¿ è¦ããããããåã ã®ã¢ããªã±ã¼ã·ã§ã³ããã¼ã ç¹æ§ã«å¯¾ãã¦æé©åãããã¨ã¯ã§ãã¾ããã
対ãã¦ãã¤ã¯ããµã¼ãã¹ã§ã¯ããµã¼ãã¹ãã¨ã«ç°ãªãããã°ã©ãã³ã°è¨èªãéçºææ³ãæ¡ç¨ãããã¨ãå¯è½ã«ãªãã¾ããããã°ã©ãã³ã°è¨èªã«ã¯ãç¨éã«ãã£ã¦åãä¸åããããããããµã¼ãã¹ãã¨ã«é©ããè¨èªãé¸æã§ãããã¨ã¯ãéçºå¹çã®æé©åã«ç¹ããã¾ãã
ä¿å®æ§
ã¢ããªã¹ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®æ¹ä¿®ãç¹°ãè¿ã度ã«ãããã°ã©ã ã¯å¤§ãããè¤éåãã¦ãããæ©è½éã®çµå度ãå¯ã«ãªã£ã¦è¡ãã¾ããããã¦è¤éåããã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããããã°ã©ã ãè¤éãªããæ©è½è¿½å ããã«ããããã°ãçºçããããããæ©è½ãå¤ã巨大ãªãããã¹ãã«æéããããããã·ã¹ãã å ¨ä½ã«å½±é¿ããå¯è½æ§ããããããæ°è»½ã«ãããã¤ã§ããªããã¨ãã£ãåé¡ãçºçãããããé«éãªéçºã®è¶³æ·ã¨ãªã£ã¦ãã¾ãã¾ãã
ãã®ç¹ããã¤ã¯ããµã¼ãã¹ã«ããã¦ã¯ããµã¼ãã¹ã®å¢çãæ確ãããã¨ã§ãæ©è½è¿½å ã«ãããå½±é¿ç¯å²ãéå®ããåããããããªãã¾ãããã®ããæ¹ä¿®ã®é£æ度ã¯ä½ããªãããã¹ããå¤æ´ç®æã®ã¿ã¨ãããã¨ãã§ãã¾ãã
æ¡å¼µæ§
ã¢ããªã±ã¼ã·ã§ã³ã®æ§è½ã«åé¡ãããå ´åã¯ããµã¼ãã®CPUãã¡ã¢ãªçã®ãã¼ãã¦ã§ã¢ã®å¢å¼·ãããããã¢ããªã±ã¼ã·ã§ã³ã並å稼åãã¦åæ£å¦çãè¡ããã¨ã§ãå ¨ä½ã®å¦çè½åãåä¸ãããå¿ è¦ãããã¾ããã¢ããªã¹ã®å ´åã«ã¯ãä¸é¨ã®æ©è½ã®æ§è½ã«åé¡ããã£ãã¨ãã¦ããã¢ããªã±ã¼ã·ã§ã³å ¨ä½ããããã¹ããã¯ã®é«ããã¼ãã¦ã§ã¢ã«è¼ãæ¿ãããã並å稼åãããå¿ è¦ãããã¾ãããããã«ã¯æ§è½å¯¾çãä¸è¦ãªæ©è½ãå«ã¾ããããããªã½ã¼ã¹ã®ä½¿ç¨å¹çã¯ä½ããªãã¾ãã
ãã¤ã¯ããµã¼ãã¹ã§ã¯ããµã¼ãã¹ãã¨ã«è² è·åæ£ãã¹ã±ã¼ã«ãå¯è½ã§ããã¢ããªã±ã¼ã·ã§ã³å ¨ä½ã§ã¯ãªããè² è·ã®å¤§ãããµã¼ãã¹ã®ã¿ãã¹ã±ã¼ã«ãããããã¨ããæè»æ§ã¨ãè² è·ã®ä½ããµã¼ãã¹ã¯ã¹ã±ã¼ã«ããªãã¦ããããããªã½ã¼ã¹æé©åã®å®¹æããå ¼ãåãã¦ãã¾ãã
å¯ç¨æ§
ä¸é¨ã®æ©è½ã§é害ãçºçããå ´åãã¢ããªã¹ã§ã¯ã¢ããªã±ã¼ã·ã§ã³å ¨ä½ãè½ã¡ã¦ãã¾ããé害ã®å¾©æ§ã¾ã§å ¨ã¦ã®æ©è½åæ¢ãã¦ãã¾ãã¾ãã
ãã¤ã¯ããµã¼ãã¹ãé©ç¨ãã¦ããå ´åã¯ãç¹å®ã®æ©è½ã«é害ãçºçãã¦ããä»ã®æ©è½ã¯ç¨¼åãç¶ç¶ãããã¨ãå¯è½ã§ãé害ã®å½±é¿ãå±æçã«æãããã¨ãã§ãã¾ãããã®ãããã¢ããªã±ã¼ã·ã§ã³å ¨ä½ã®èé害æ§ãåä¸ããããã¨ãã§ãã¾ãã
åå©ç¨æ§
æ°ããæ¥åã·ã¹ãã ãä½ãéã«ãæ¢åã®ã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã®ä¸é¨æ©è½ã¨åããã®ãå¿ è¦ã«ãªããã¨ãããã¾ããæ¢åã®ã¢ããªã±ã¼ã·ã§ã³ã®æ©è½ãæµç¨ãã足ããªãæ©è½ã追å ãã¦ãªãªã¼ã¹ã»ã»ã»ã¨ãããã¨ããã§ãããæ°ããæ¥åã·ã¹ãã ã«ã¯ä¸è¦ãªæ©è½ããæ¢åã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¯å«ã¾ãã¦ãããã¨ãããã¾ãããã®ã¾ã¾æ¢åã®ã¢ããªã±ã¼ã·ã§ã³ã«æ©è½è¿½å ãè¡ã£ã¦ããã¨ãã¢ããªã±ã¼ã·ã§ã³ãè¤éåãã¦ãããã¨ã«ãªããããå¹çåã®ããã«æ¢åã®ã½ã¼ã¹ã³ã¼ããæµç¨ããæ°è¦ã®ã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦éçºãå§ããã±ã¼ã¹ãããã¾ãããã®å ´åã¯ãæ¢åã®ä¸è¦ãªæ©è½ãå«ãã¦ã³ãã¼ãã¦ãã¾ãç¹ã¨ãåãæ©è½ãè¤æ°ã®ã¢ããªã±ã¼ã·ã§ã³ã«åå¨ããäºé管çãã¨ãªãç¹ã課é¡ã«ãªã£ã¦ãã¾ãã
ãã¤ã¯ããµã¼ãã¹ã§ããã°æ©è½ãåå²ãã¦ãããããæ°ããã¢ããªã±ã¼ã·ã§ã³ãä½ãéã«ããæ¢åã®æ©è½ããã®ã¾ã¾æµç¨ãã¦éçºããããã¨ã容æã§ããããã«ãããéçºã®ããªã¥ã¼ã ãæ¸ãããã¸ãã¹ã®ãã¼ãºã«åãããè¿ éãªã·ã¹ãã å¤æ´ã«ã対å¿ãã§ããããã«ãªãã¾ãã
ããã©ã¼ãã³ã¹
ããã¾ã§ã¯ãå¾æ¥ã®ã¢ããªã¹ã¨æ¯è¼ãã¦ããã¤ã¯ããµã¼ãã¹ãåªãã¦ããç¹ãç´¹ä»ãã¦ãã¾ããããããããã¡ããè¯ããã¨ã°ããã§ã¯ããã¾ããããã®æ§é ã«ãããã¡ãªãããåå¨ãã¾ãã
ãã¤ã¯ããµã¼ãã¹ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ï¼ãªã¯ã¨ã¹ããå®çµããããã«ãè¤æ°ã®ãµã¼ãã¹ãAPIãç¨ãã¦ç¸äºã«é£æºãã¾ãããã®ãããè¤æ°åã®ãããã¯ã¼ã¯éä¿¡ãçºçãããã¨ã§ã·ã¹ãã ã®ããã©ã¼ãã³ã¹ãå£åããå¯è½æ§ãããã¾ããã¾ãä¾ãã°ãRESTãªã©ã®åæéä¿¡ã®ã¿ã§æ§æããå ´åã«ã¯ãä»®ã«ã©ããã®ãµã¼ãã¹ã§ä½ãé害ãçºçããã¨ããã¨ããã®ãµã¼ãã¹ãèµ·ç¹ã«ä¸æµå´ã®æ©è½ãå ¨ã¦æ¢ã¾ã£ã¦ãã¾ããã¨ã«ãªãã¾ãããã®ãããå¦çã®éä¸ã§ã¨ã©ã¼ã¨ãªã£ãéã®å¯¾å¿ãªã©ãèæ ®ããå¿ è¦ãããã¾ããããã«å¯¾ãã¦ã¯ãéåæéä¿¡ã«ã¦ãµã¼ãã¹éã®é£æºãè¡ãããæ¹ãããã詳細ã«ã¤ãã¦ã¯æ¬¡åã®ããã°ã§ã話ããã¾ãã
ãã¼ã¿ç®¡ç
ãã¤ã¯ããµã¼ãã¹ã®è¨è¨ã®æ¹éã®ï¼ã¤ã«ãççµåãããã¾ããåãµã¼ãã¹éã®ä¾åé¢ä¿ãçã«ãããã¨ã§ãç´ æ©ãæè»ã«å¤æ´ãè¡ããã¨ãã§ããããã«ãªãã¾ããããã¯ãã¢ããªã±ã¼ã·ã§ã³ã ãã§ãªããã¼ã¿ãã¼ã¹ãå«ã¾ãã¾ãããã¸ãã¹å´ã®è¦æã«ããããã¼ã¿ãã¼ã¹ã®ã¹ãã¼ãå¤æ´ãå¿ è¦ã«ãªãã±ã¼ã¹ãããã§ãããããã®éã®è¨è¨å¤æ´è¦æ±ã«å¯¾ãã¦æè»ãªå¯¾å¿ãã§ããããã«ããµã¼ãã¹ã¨ãã¼ã¿ãã¼ã¹ã®é¢ä¿ãï¼ï¼ï¼ã¨ããã¢ãã«ãæ¨å¥¨ããã¾ããããããã®ä¸æ¹ã§ããµã¼ãã¹ãã¾ãããããªå¦çãããå ´åã«ããã¼ã¿ã®ä¸è²«æ§ãä¿è¨¼ãããã¨ãé£ãããªã£ã¦ãã¾ãã¨ãã課é¡ãããã¾ãã
ãã¤ã¯ããµã¼ãã¹ã«ããã¦ãè¤æ°ã®ãã¼ã¿ãã¼ã¹éã®åæã«ã¤ãã¦ã¯ããçµææ´åæ§ãã許容ã§ããªãããã¨ãããã¨ãèæ ®ã«å ¥ãã¦æ¤è¨ãã¦ãããã¨ãéè¦ã§ããITå´ã®äººéã ãã§ã¯å¤æãé£ããã®ã§ããã¸ãã¹å´ã®ã¨ãã¹ãã¼ãã¨ããæ¥åè¦ä»¶ã確èªãããã¼ã¿ãã¼ã¹éã®åæï¼æ´åæ§ã®è¨è¨ãé²ããã¨è¯ãã§ãããã
éç¨ã»ç£è¦
ãã¤ã¯ããµã¼ãã¹åãé²ãã«ã¤ãã¦ãã¢ããªã±ã¼ã·ã§ã³ã¯å°ããªåä½ã«åå²ãããã¦ããã¾ãã大è¦æ¨¡ãªã·ã¹ãã ã®å ´åã«ã¯ããã®æ°ãæ°ç¾ãæ°åã«åã¶ãã¨ããããæåã«ãããµã¼ãã¹ã®ç®¡çã¯ç¾å®çã«ä¸å¯è½ã§ããããã¾ããã¤ã¯ããµã¼ãã¹ã®åãµã¼ãã¹ã¯ãã³ã³ãããå©ç¨ãã¦ãããã¤ããã®ãä¸è¬çã¨ãªã£ã¦ãã¾ãããã³ã³ããã®ç®¡çããµã¼ãã¹åæ§ã«ç ©éã¨ãªããã¡ã§ãããã®ãããã³ã³ããã®ãªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ã·ã¹ãã ã¨ãã¦ãããã¡ã¯ãã¹ã¿ã³ãã¼ãã¨ãªã£ã¦ãã Kubernetes ãããµã¼ãã¹ã¡ãã·ã¥ã®å°å ¥ãä½µãã¦æ¤è¨ããã®ããå§ãã§ãã
ãã¤ã¯ããµã¼ãã¹ã¯ã©ã®ãããªã·ã¹ãã ã«é©ç¨ãã¹ããï¼
ããã¾ã§è¦ã¦ããããã«ããã¤ã¯ããµã¼ãã¹ã«ã¯æ§ã ãªã¡ãªãããããã¾ãããããããã¹ã¦ã®ã·ã¹ãã ããã¤ã¯ããµã¼ãã¹åãã¹ããã¨è¨ãã¨ãå¿ ãããããã§ã¯ããã¾ããããMicroservicesãã®å ±åå·çè ã§ããMartin Fowlerã¯ããMicroservicePremiumãã«ããã¦ããã¢ããªã¹ã§ã¯ç®¡çããããªãã»ã©è¤éãªã·ã¹ãã ã§ãªãå ´åã¯ããã¤ã¯ããµã¼ãã¹ãæ¤è¨ããå¿ è¦ã¯ãªããã¨è¿°ã¹ã¦ãã¾ãã
ã¨ã¯ãããå¾æ¥ã®ã¢ããªã¹ã§ã¯éçºã»éç¨ã¨ãã«è² è·ã大ãããé ãããã¹ã±ã¼ã«ã®éçãè¦ãã¦ããã®ãäºå®ã§ãã大è¦æ¨¡ãªã·ã¹ãã ã§ããã°ãã©ããã®ã¿ã¤ãã³ã°ã§ã¢ã¼ããã¯ãã£ãè¦ç´ãã¦ããã¤ã¯ããµã¼ãã¹ã«ç§»è¡ããã¨ããå¤æãä¸ãå¿ è¦ã¯åºã¦ããã®ã§ã¯ãªãã§ããããã
次å
次åã«ã¤ãã¦ã¯ããã¤ã¯ããµã¼ãã¹ã®èª²é¡ã¨ãã¦æãããããã©ã¼ãã³ã¹ããã¼ã¿ç®¡çã®é¢ã§æå¹ãªãã¶ã¤ã³ãã¿ã¼ã³ã«ã¤ãã¦ããç´¹ä»ãã¦è¡ãããã¨æãã¾ãã