CloudNative Days Tokyo 2020 ã§çºè¡¨ããã¹ã©ã¤ãã¨ãªãã¾ãã https://event.cloudnativedays.jp/cndt2020/talks/27 çºè¡¨æã®é²ç»ã¯ä¸è¨ã®ãªã³ã¯ããåç §ãã ããã
Microserviceã®åå²ã®ä»æ¹ã«ã¤ãã¦èªããã¦ãããã®ãåéãã¾ãã microservices.ioã®ãµã¤ãã«è¼ã£ã¦ããåå²ãã¿ã¼ã³ã¯4ã¤ããã ããèªå·±å®çµåãµã¼ãã¹ãã¨ããã¼ã ãã¨ã®ãµã¼ãã¹ãã¯ãç´äº¤ãã¦ããªãã®ã§å¤§ããã¯ããã¸ãã¹ã±ã¤ãããªãã£ã§ã®åå²ãã¨ããµããã¡ã¤ã³ã§ã®åå²ãã®2ã¤ã ãã¸ãã¹ã±ã¤ãããªãã£ã§ã®åå² https://microservices.io/patterns/decomposition/decompose-by-business-capability.html ç¾å¨ã®æ¥åæ©è½ã«ãããã£ã¦ãµã¼ãã¹ãåå²ããã ãããã£ã¦ãã³ã³ã¦ã§ã¤ã®æ³åã«ãããã£ãåå²ã¨ãããã ãµããã¡ã¤ã³ã§ã®åå² https://microservices.io/patterns/decomposition/decompose-by-subdomain.html DDDã®ãµããã¡
Microservices Platform Teamã®@deeeeeeetã¨@dragon3ã§ãï¼ Microservices Platform Teamã§ã¯Google Kubernetes Engineï¼GKEï¼ãã¡ã¤ã³ã®ã³ã³ãã¼ãã³ãã¨ãã¦å©ç¨ãï¼ãã®ä¸ã«ã¡ã«ã«ãªã¨ã¡ã«ãã¤ã®Microservicesãåããããã®åºç¤ãæ§ç¯ãã¦ãã¾ãï¼ã¡ã«ã«ãªã®Microservicesåã®ããã¸ã§ã¯ãèªä½ã¯2å¹´ã»ã©åããå§ãã¦ããï¼GKEãå½æã«æ§ç¯ãããã®ãä»æ¥ã¾ã§éç¨ãç¶ãã¦ãã¾ããï¼ ãã®2å¹´éã§GKEããã¯å¤ãã®æ©è½ããªãªã¼ã¹ããã¾ããï¼ãã®ä¸ã®ã»ã¨ãã©ã¯ãã®ã¾ã¾æå¹ã«ãããã¨ãã§ãã¾ããï¼ä¸ã«ã¯Clusterãä½ãç´ãå¿ è¦ããããã®ãããã¾ãï¼ä¾ãã°Routes-based ClusterãVPC-native Clusterã«ï¼Zonal ClusterãRegional Clust
ãã®ãã¿ã¼ã³ã«ã¯2ã¤ã®èæ¯ãããã¾ããã²ã¨ã¤ã¯ãæè¡è ããã¤ã¯ããµã¼ãã¹ã¢ã¼ããã¯ãã£ãã¿ã¼ã³ãæ¡ç¨ãã¦ãè¤æ°ã®(çæ³çã«ã¯åä¸ç®çã§ãç¬ç«ãã¦ãããã¤å¯è½ãª)ãµã¼ãã¹ã§æ§æãããã¢ããªã±ã¼ã·ã§ã³ãéçºããããã«ãªã£ããã¨ã§ãããµãã¤ãã¯ãä¼æ¥ãã³ã³ãã(Dockerãªã©)ããªã¼ã±ã¹ãã¬ã¼ã¿(Kubernetesãªã©)ããããã·/ã²ã¼ãã¦ã§ã¤(Envoyãªã©)ã¨ãã£ããã¯ã©ã¦ããã¤ãã£ããªãã©ãããã©ã¼ã ãã¯ããã¸ãæ¯æããããã«ãªã£ããã¨ã§ãã æå³ ãµã¼ãã¹ã¡ãã·ã¥ã解決ãããã¨ããåé¡ã¯æ¬¡ã®ãããªãã®ã§ãã ãµã¼ãã¹ãã£ã¹ã«ããªãã«ã¼ãã£ã³ã°ãã¢ããªã±ã¼ã·ã§ã³ã¬ãã«(ã¬ã¤ã¤7)ã®éæ©è½éä¿¡è¦ä»¶ãå¦çããè¨èªå¯¾å¿ã®éä¿¡ã©ã¤ãã©ãªããåã ã®ãµã¼ãã¹ç¨ã«ã³ã³ãã¤ã«ããå¿ è¦æ§ã®æé¤ å¤é¨ãµã¼ãã¹ã®ãããã¯ã¼ã¯ãã±ã¼ã·ã§ã³ãã»ãã¥ãªãã£èªè¨¼ããµã¼ãã¹å質(QoS)ç®æ¨ãªã©ããµã¼ãã¹éä¿¡è¨å®ã®å¤
ãã¤ã¯ãã½ããã¯ããã¤ã¯ããµã¼ãã¹ã¢ããªã±ã¼ã·ã§ã³ã®éçºã容æã«ããããã®ãã¬ã¼ã ã¯ã¼ã¯ãDaprãããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éãã¾ãããç¾å¨ã¢ã«ãã¡çã¨ãªã£ã¦ãããå¤ãã®éçºè ã®ååãæ±ãã¦ãã¾ãã ãã¤ã¯ããµã¼ãã¹ã¢ããªã±ã¼ã·ã§ã³ã¯ãããã¤ã¯ããµã¼ãã¹ããããã¯åã«ããµã¼ãã¹ãã¨å¼ã°ããããããããã¢ããªã±ã¼ã·ã§ã³ãæ§æããããã®æ©è½ãæä¾ããå¤æ°ã®ããã°ã©ã ãççµåã«ãã£ã¦é£ä¿ãããã¨ã§å®ç¾ããã¾ãã ããããã®ãµã¼ãã¹ã¯Webãµã¼ãã®ããã«ã¹ãã¼ãã¬ã¹ãªãã®ãããã°ããã¼ã¿ãã¼ã¹ãµã¼ãã®ããã«ç¶æ ãã¤ãã«ä¿æããã¹ãã¼ããã«ãªãã®ãããã¾ãã ã¾ããããããç°ãªãããã°ã©ãã³ã°è¨èªã§éçºããããµã¼ãã¹ããäºããå¼ã³åºããã¡ãã»ã¼ã¸ãããã¨ãããå¿ è¦ãããã¾ãã Daprã¯ããããããã¤ã¯ããµã¼ãã¹ã¢ããªã±ã¼ã·ã§ã³ã®éçºã容æã«ãããããããã°ã©ãã³ã°è¨èªã«ä¾åããããµã¼ãã¹éã®å¼ã³åº
ã¬ãããããã§ã¤ã³ãã°ã¬ã¼ã·ã§ã³ã®ããã®ããã«ã¦ã§ã¢ã®ãã¯ãã«ã«ãµãã¼ããæ å½ãã¦ããå±±ä¸ã§ãã æè¿ã¯ãã¤ã¯ããµã¼ãã¹ã§ã·ã¹ãã ãéçºãã¦ããã¨ãã話ãããèãããã«ãªã£ã¦ãã¾ãããã§ã¯ããã§ã¡ãã»ã¼ã¸ã³ã°ãããã¦Kafkaã使ã£ã¦ã¾ãã§ããããï¼ãã¤ã¯ããµã¼ãã¹ã§ã¯ä½æ ãRESTã°ãããä¸ã®ä¸ã«æ³¨ç®ããã¦ãã¾ããã¨ãå¤ãããã«ãä»åã¯ã¡ãã»ã¼ã¸ã³ã°æ¨ãã®å 容ã«ãã¦ãã¾ãã ãã¤ã¯ããµã¼ãã¹ã§ã¯ã¡ãã»ã¼ã¸ã³ã°ãç¨ããã³ãã³ããã¤ãã³ãããä¸å¿ã§ãã£ã¦ä¸å¯æ¬ ã§ãããã¤ã¯ããµã¼ãã¹ã®ä¸ã§ã¡ãã»ã¼ã¸ã³ã°ã¯ã©ã®ããã«å©ç¨ãããããã¦ãªãå¿ è¦ãªã®ã§ãããããä»åã¯ããã¤ã¯ããµã¼ãã¹ã¨ã¡ãã»ã¼ã¸ã³ã°ã®ãªã [æ¦è¦ç·¨]ãã¨é¡ãã¦ãããæ¦è¦³ãã¦ããã¾ãã Kafkaã®ç°¡åãªãããã ã©ãã§ã¡ãã»ã¼ã¸ã³ã°ã¯å©ç¨ãããã®ãï¼ RESTã¯ãæ軽ãªè§£æ±ºçï¼ ãªããã¤ã¯ããµã¼ãã¹ã«ã¡ãã»ã¼ã¸ã³ã°(Kafka)ãå¿
Chris Richardson æ°ã® Microservices Patterns ãèªãã ã Microservices Patterns: With examples in Java ä½è : Chris Richardsonåºç社/ã¡ã¼ã«ã¼: Manning Publicationsçºå£²æ¥: 2018/11/19ã¡ãã£ã¢: ãã¼ãã¼ããã¯ãã®ååãå«ãããã°ãè¦ã ãã¤ã¯ããµã¼ãã¹ã¨ããè¨èãåºã¦æ¥ã¦æ°å¹´çµã¡ã¾ãã ç§ããã¤ã¯ããµã¼ãã¹çãªè¤æ°ã®ãµã¼ãã¹éã§ãã¼ã¿ã®ããåããé »ç¹ã«ãããããªã·ã¹ãã ãæ§ç¯ãããã¨ãããã¾ãã ãã®éã«ãã¼ã¿ã®æ´åæ§ã¯æéè¦ã§ã¯ãªãã£ãã®ã§ãã©ã³ã¶ã¯ã·ã§ã³çãªãã®ã¯ä½¿ãã¾ããã§ããã ãéãæ±ããããªã·ã¹ãã ããã¤ã¯ããµã¼ãã¹ã«ããå ´åã¡ããã¨ãããã©ã³ã¶ã¯ã·ã§ã³ã¯ã©ãããã®ãã¯æ°ã«ãªã£ã¦ãã¾ããã æ¬æ¸ã«ã¯ãã®çåã«å¯¾ããç¾å®çãªåçãè¼ã£ã¦ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}