å ã®åé¡ã«ã€ããŠ
PREMIERãããªãã©ãããã©ãŒã ã¯ãææ°ã®ãªãœãŒã¹ã«ãµãããããæ©æ¢°åŠç¿ã«åºã¥ããŠã¯ã©ã€ã¢ã³ãåãã®æšå¥šãµãŒãã¹ãäœæããŸãããå€ãã®ãŠãŒã¶ãŒããããªãã©ãããã©ãŒã ãå©çšããŠããŸãïŒ1æ¥çŽ100äžäººãPREMIERã¯éåžžã«äººæ°ããããŸãïŒãé話ã¯ããŠã§ããã©ãŒã ãã¢ãã€ã«ããã€ã¹çšã®ã¢ããªã±ãŒã·ã§ã³ãã¹ããŒãTVã®äž¡æ¹ããè¡ãããŸãã
åœç€Ÿã®ãµãŒãã¹ã®æ©æ¢°åŠç¿ãæ©èœããããã®åºç€ãšãªãåæããŒã¿ã¯ãæ±ç¶ã®ClickHouseDBMSã«ä¿åãããŸããã¹ã±ãžã¥ãŒã«ã«åŸã£ãŠãããŒã¿ã¯ããã¯ã°ã©ãŠã³ãã§åŠçãããŠã¢ãã«ãæ§ç¯ãããŸãïŒæçµçãªæšå¥šäºé ãçºè¡ããããã«äœ¿çšãããŸãïŒãèšç®çµæã¯PostgreSQLãªã¬ãŒã·ã§ãã«DBMSã«ä¿åãããŸãã
ã¢ããªã±ãŒã·ã§ã³ãµãŒããŒãšã¯ã©ã€ã¢ã³ãéã®çæéã§ã®é«éãªçžäºäœçšã®åé¡ã«å¯Ÿãã解決çã¯åžžã«éèŠã§ããå¿ èŠãªäœæ¥é床ïŒããã³å¿çæéã50ããªç§ä»¥äžã§ããå¿ èŠããããŸãïŒã確ä¿ããã«ã¯ããªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ã®æ§é ãæé©åãããã£ãã·ã³ã°ãšæ°Žå¹³ã¹ã±ãŒãªã³ã°ãå®è£ ããå¿ èŠããããŸãããããã§ãããã€ãã®ãã¯ããã¯ã«ã€ããŠèª¬æããŸãã
ãã£ãã·ã³ã°ã«ã€ããŠ
ãã£ãã·ã³ã°ã¯äžè¬çãªæé©åææ³ã§ããã¡ã€ã³ã¹ãã¬ãŒãžãããé«éãªè¿œå ã®äžéã¹ãã¬ãŒãžãäœæããæã人æ°ã®ããããŒã¿ãããã«é 眮ããŸãããã£ãã·ã¥ãããããŒã¿ãžã®ã¢ã¯ã»ã¹ãåçã«å éãããã¢ããªã±ãŒã·ã§ã³ã®é床ãå€§å¹ ã«åäžããŸããé«è² è·ã®ã¢ããªã±ãŒã·ã§ã³ãéçºããå ŽåãããŒããŠã§ã¢ãªãœãŒã¹ãæ¡åŒµããã«ã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ãæé©åããããã®æãäžè¬çãªãªãã·ã§ã³ã¯ãã£ãã·ã³ã°ã§ãããã£ãã·ã³ã°ã¯ãåãå ¥åã«å¯ŸããŠåãåºåãåçæããããã«ããªãœãŒã¹äœ¿çšéã®ç¹ã§ããããã®ç¯çŽãåŒãèµ·ããå¯èœæ§ããããŸãã
ãã£ãã·ã¥å®¹éã«ã¯å¶éããããã¹ãã¬ãŒãžãé«éã§ããã»ã©é«äŸ¡ã«ãªããããå¹ççã«äœ¿çšããå¿ èŠããããŸãããã¡ãããã¡ã€ã³ã¹ãã¬ãŒãžãååã«é«éã§ããã°ãçè«çã«ã¯ãã£ãã·ã¥ãªãã§å®è¡ã§ããŸããããããããã¯çµæžçã«äžæ¡ç®ã«ãªããŸããå€§å¹ ãªããŒããŠã§ã¢ã®ã¢ããã°ã¬ãŒããå®è¡ããå¿ èŠããããŸããå€ãã®å ŽåãRAMã®å¢å ããHDDããSSDãžã®ãã£ã¹ã¯ã®äº€æã«ãªããŸããããããã€ã³ãã©ã¹ãã©ã¯ãã£èŠä»¶ãå€§å¹ ã«å¢å ããäœæãããã¢ããªã±ãŒã·ã§ã³å šäœã®çµæžçãã©ã¡ãŒã¿ã«åœ±é¿ãäžããŸããå®çžŸã®ãããã£ãã·ã³ã°ããªããã°ãã»ãšãã©ã®å Žåã倧éã®è£œåãäœæããããšã¯ã»ãšãã©äžå¯èœã§ãã
ãã ãããã£ãã·ã³ã°ã¬ã€ã€ãŒãè¿œå ããŠãããã¹ãŠã®åé¡ãèªåçã«è§£æ±ºãããããã§ã¯ãããŸããããŸããã¿ã¹ã¯ã®ç¹æ§ã«å¿ããŠãç¶æ³ããµãŒãã¹ã®çºå±ã«å¿ããŠå€åããå¯èœæ§ã®ããããã®å å¡«ã®ã«ãŒã«ãæ€èšããå¿ èŠããããŸãããŸããããã¯äžèœè¬ã§ã¯ãªããã¢ããªã±ãŒã·ã§ã³ã®ç¹å®ã®éšåã§ã®ããã©ãŒãã³ã¹ã®åé¡ã®çç¶ãç·©åããå¯äžã®ææžçã§ããããšã«æ³šæããŠãã ãããã¢ããªã±ãŒã·ã§ã³ã«æ·±å»ãªã¢ãŒããã¯ãã£äžã®åé¡ãå¹³å¡ãªå®è¡ç°å¢ãããå Žåããã£ãã·ã³ã°ã«ãã£ãŠåé¡ãå¢ããå¯èœæ§ãé«ããªããŸãã
ãã£ãã·ã¥ããããªãœãŒã¹ãä¿åããå Žæã«ã¯ãããã€ãã®ãªãã·ã§ã³ããããŸããããŒã«ã«-ãã©ãŠã¶ã®ã¯ã©ã€ã¢ã³ãã€ã³ã¹ã¿ã³ã¹ããµãŒãããŒãã£ã®CDNãµãŒãã¹ãã¢ããªã±ãŒã·ã§ã³åŽãã¢ããªå ãã£ãã·ã³ã°ã«ã€ããŠèª¬æããŸããã¢ããªã±ãŒã·ã§ã³ããã»ã¹ã¡ã¢ãªã¯ãããããæãäžè¬çãªããŒã¿ãã£ãã·ã³ã°ãªãã·ã§ã³ã§ãããã ãããã®ãœãªã¥ãŒã·ã§ã³ã«ã¯æ¬ ç¹ããããŸããã¡ã¢ãªã¯ãç¹å®ã®ã¿ã¹ã¯ãå®è¡ããããã»ã¹ã«é¢é£ä»ããããŠããŸããã¢ããªã±ãŒã·ã§ã³ãã¹ã±ãŒã«ã¢ãŠãããå Žåã¯ãããã»ã¹éã§ã¡ã¢ãªãå²ãåœãŠãããªããããããã¯ããã«éèŠã§ããéåæåŠçãæ åœããããã»ã¹ãªã©ãä»ã®ããã»ã¹ã§ã¯äœ¿çšã§ããŸãããã¯ãããã£ãã·ã³ã°ã¯æ©èœããŸãããå®éã«ã¯ãã®ã¡ãªãããååã«äº«åã§ããŠããŸããã
ã¬ã³ã¡ã³ããŒãã£ãã·ã³ã°
ãããžã§ã¯ãã«æ»ããšãäžå åããããã£ãã·ã³ã°ãœãªã¥ãŒã·ã§ã³ã®å¿ èŠæ§ãç解ããŠããŸããå ±æãã£ãã·ã¥ã®å Žåãããšãã°ãMemcachedã䜿çšã§ããŸããã¢ããªã±ãŒã·ã§ã³ãåãã€ã³ã¹ã¿ã³ã¹ã«æ¥ç¶ãããŠããå Žåããããå€ãã®ããã»ã¹ã§äœ¿çšã§ããŸãã Memcachedã¯ãã·ã³ãã«ã§äŸ¿å©ãªãœãªã¥ãŒã·ã§ã³ã§ãããç¡å¹åãããŒã¿ã®å ¥åãããã³ãã£ãã·ã¥ãããããŒã¿ã¹ãã¢ãžã®ããè€éãªã¯ãšãªã®æ£ç¢ºãªç®¡çã«é¢ããŠã¯ããªãå¶éãããŠããŸããå®éãRedisã¹ãã¬ãŒãžã¯ãã£ãã·ã¥ã¿ã¹ã¯ã®æšæºã«ãªããMemcachedã®æ¬ ç¹ã¯ãããŸããã
Redisã¯ãããŒå€ã®é«éã¹ãã¢ã§ããããŒã¿ã®æäœå¹çãåäžããŸããæ§é ãå®çŸ©ããããšãå¯èœã«ãªããŸããé害ãšããªãšã³ãã·ã§ã³ããã现ããå¶åŸ¡ã§ããããã6ã€ã®ç°ãªãããªã·ãŒããéžæã§ããŸãã Redisã¯ãã¬ã€ãžãŒããªãšã³ãã·ã§ã³ãšã€ãŒã¬ãŒããªãšã³ãã·ã§ã³ã®äž¡æ¹ãããã³ã¿ã€ã ããªãšã³ãã·ã§ã³ããµããŒãããŠããŸãã RedisããŒã¿æ§é ã䜿çšãããšãäºæ¥äœã«å¿ããŠå ·äœçãªæé©åãæäŸã§ããŸããããšãã°ããªããžã§ã¯ããã·ãªã¢ã«åãããæååãšããŠä¿åãã代ããã«ãéçºè ã¯ããã·ã¥ããŒã¿æ§é ã䜿çšããŠããã£ãŒã«ããšå€ãããŒããšã«ä¿åããã³æäœã§ããŸããããã·ã¥ã䜿çšãããšãæååå šäœããã§ããããŠéã·ãªã¢ã«åããæŽæ°ã®ãã³ã«ãã£ãã·ã¥å ã®æ°ããå€ã«çœ®ãæããå¿ èŠããªããªããŸããã€ãŸãããªãœãŒã¹ã®æ¶è²»ãå°ãªããªããããã©ãŒãã³ã¹ãåäžããŸãããã®ä»ã®ããŒã¿æ§é ãRedisãææ¡ãããã·ãŒããããã»ããããããœãŒããããã»ããããããã€ããŒãã°ãããããããããããããžãªã€ã³ããã¯ã¹ãïŒã䜿çšããŠãããã«è€éãªã·ããªãªãå®è£ ã§ããŸããæç³»åããŒã¿ãåæããããã®ãœãŒããããã»ããã«ãããããŒã¿ã®åŠçãšè»¢éã®è€éããšéã軜æžãããŸãã HyperLogLogããŒã¿æ§é ã䜿çšããŠãå°éã®æ°žç¶çãªã¡ã¢ãªãå ·äœçã«ã¯HyperLogLogããšã«12KBïŒããã³ããŒèªäœã«æ°ãã€ãïŒã®ã¿ã䜿çšããŠãã»ããå ã®äžæã®ã¢ã€ãã ãã«ãŠã³ãã§ããŸãã Redisã§äœ¿çšå¯èœãªçŽ200ã®ã³ãââã³ãã®å€§éšåã¯ãããŒã¿åŠçæäœãšãLuaã¹ã¯ãªããã䜿çšããããŒã¿ããŒã¹èªäœãžã®ããžãã¯ã®åã蟌ã¿ã«å°å¿µããŠããŸããçµã¿èŸŒã¿ã®ã³ãã³ããšã¹ã¯ãªããæ©èœã«ããããããã¯ãŒã¯çµç±ã§ã¢ããªã±ãŒã·ã§ã³ã«ããŒã¿ãéä¿¡ããããšãªããRedisã§çŽæ¥ããŒã¿ãåŠçããæè»æ§ãæäŸãããè¿œå ã®ãã£ãã·ã³ã°ããžãã¯ãå®è£ ãããªãŒããŒããããåæžãããŸããåèµ·åçŽåŸã«ãã£ãã·ã¥ããŒã¿ãå©çšã§ããããã«ãããšããã£ãã·ã¥ã®ãŠã©ãŒã ã¢ããæéãå€§å¹ ã«ççž®ãããã¡ã€ã³ããŒã¿ã¹ãã¢ãããã£ãã·ã¥ã³ã³ãã³ããåèšç®ããè² æ ã軜æžãããŸãã次ã®èšäºã§ã¯ãRedisæ§æã®æ©èœãšã¯ã©ã¹ã¿ãªã³ã°ã®èŠéãã«ã€ããŠèª¬æããŸãã次ã®èšäºã§ã¯ãRedisæ§æã®æ©èœãšã¯ã©ã¹ã¿ãªã³ã°ã®èŠéãã«ã€ããŠèª¬æããŸãã次ã®èšäºã§ã¯ãRedisæ§æã®æ©èœãšã¯ã©ã¹ã¿ãªã³ã°ã®èŠéãã«ã€ããŠèª¬æããŸãã
ãã£ãã·ã³ã°ããŒã«ãéžæããåŸã®äž»ãªåé¡ã¯ããã£ãã·ã¥ã«ä¿åãããŠããããŒã¿ãšã¢ããªã±ãŒã·ã§ã³ã«ä¿åãããŠããããŒã¿ã®åæã§ããããã«èŠããŸãããã¢ããªã±ãŒã·ã§ã³ã®ããžãã¹ããžãã¯ã«å¿ããŠãããŒã¿ãåæããããŸããŸãªæ¹æ³ããããŸããç§ãã¡ã®å ŽåãããŒã¿ãç¡å¹ã«ããããã®ã¢ã«ãŽãªãºã ãäœæããã®ãå°é£ã§ããããã£ãã·ã¥ã«é 眮ãããããŒã¿ã¯ãçŸåšã®ç¶æ³ã§äœ¿çšããå¿ èŠãããéãããŸãã¯å°ãªããšããã®å¯èœæ§ãããéããéãããæéã ãããã«ä¿åãããŸããç¶æ³ãé²å±ããã«ã€ããŠã圌ãã¯ãå€åããç¶æ³ã«ãããŠãããå¿ èŠãšãããä»ã®ããŒã¿ã®ããã®äœå°ãäœããªããã°ãªããŸããããã®å Žåã®äž»ãªã¿ã¹ã¯ã¯ãããŒã¿ããã£ãã·ã¥ããåé€ãããåºæºã®éžæã§ããã»ãšãã©ã®å Žåãããã¯ããŒã¿ã®é¢é£æ§ã®ææã§ãããä»ã®ãã©ã¡ãŒã¿ãŒã«ã€ããŠèŠããŠãã䟡å€ããããŸããããªã¥ãŒã ãã©ã³ãã³ã°ïŒåçã蚱容ç¯å²ãã©ã€ãã¿ã€ã ïŒãã«ããŽãªïŒã¡ã€ã³ãŸãã¯è£å©ããŒã¿ïŒãªã©ã
ããŒã¿ãææ°ã®ç¶æ ã«ä¿ã€ããã®åºæ¬çã§äžè¬çãªæ¹æ³ã¯ãæéã®å»æ¢ã§ãããã®æ¹æ³ã¯ãæšå¥šã¢ããªã±ãŒã·ã§ã³ããŒã¿ãå®æçã«äžå çã«æŽæ°ããããããåœç€Ÿã§ã䜿çšãããŠããŸãããã ãããã¹ãŠãäžèŠããã»ã©åçŽã§ã¯ãããŸããããã®å Žåãæ¬åœã«äººæ°ã®ããããŒã¿ã®ã¿ããã£ãã·ã¥ã«å ¥ãããã«ãã©ã³ãã³ã°ãç£èŠããããšãéåžžã«éèŠã§ããããã¯ãã¯ãšãªçµ±èšã®åéãšãããŒã¿äºç±ãã®å®è£ ã®ãããã§å¯èœã«ãªããŸããã¢ããªã±ãŒã·ã§ã³ã®éå§æã«ããŒã¿ããã£ãã·ã¥ã«ããªããŒãããŸãããã£ãã·ã¥ãµã€ãºç®¡çããã£ãã·ã³ã°ã®éèŠãªåŽé¢ã§ããç§ãã¡ã®ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãçŽæ°çŸäžã®æšå¥šäºé ãçæãããããããã®ãã¹ãŠã®ããŒã¿ããã£ãã·ã¥ã«ä¿åããããšã¯éçŸå®çã§ãããã£ãã·ã¥ãµã€ãºã®ç®¡çã¯ããã£ãã·ã¥ããããŒã¿ãåé€ããŠæ°ããããŒã¿çšã®ã¹ããŒã¹ã確ä¿ããããšã«ãã£ãŠè¡ãããŸããããã€ãã®æšæºçãªæ¹æ³ããããŸãïŒTTLãFIFOãLIFOãæåŸã«ã¢ã¯ã»ã¹ãããŸããããããŸã§ã®ãšãããTTLã䜿çšããŠããŸãã Redisã€ã³ã¹ã¿ã³ã¹ã¯ãå²ãåœãŠãããã¡ã¢ãªãšãã£ã¹ã¯ãªãœãŒã¹ãè¶ ããããšã¯ãããŸããã
ãã£ãã·ã¥ãç°ãªãããšãæãåºããŠãã ãããã»ãšãã©ã®å Žåãã©ã€ãã¹ã«ãŒãšé 延ã®2ã€ã®ã«ããŽãªããããŸããæåã®ã±ãŒã¹ã§ã¯ãæžã蟌ã¿ã¯ãã£ãã·ã¥ãšã¡ã€ã³ã¹ãã¬ãŒãžã®äž¡æ¹ã«å¯ŸããŠåæçã«å®è¡ãããŸãã2ã€ç®ã¯ãæåã¯ãã£ãã·ã¥å ã§ã®ã¿æžã蟌ã¿ãè¡ãããå€æŽãããããŒã¿ãå¥ã®ãã£ãã·ã¥ãããã¯ã«çœ®ãæãããŸã§ãã¡ã€ã³ã¹ãã¬ãŒãžãžã®æžã蟌ã¿ã延æãããŸããã©ã€ãããã¯ãã£ãã·ã¥ã¯ããã£ãã·ã¥ããåé€ããããšãã«ã¡ã€ã³ã¹ãã¢ã«åŸã§æžã蟌ãããã«ãã£ãã·ã¥å ã®ããŒã¿ãç£èŠããå¿ èŠããããããå®è£ ãããå°é£ã§ããæåã®ãªãã·ã§ã³ã¯ããã£ãã·ã¥ã®ãŠã©ãŒã ã¢ããæé ãšçµã¿åãããŠäœ¿çšââããŸããããŠã©ãŒãã³ã°ã¢ãããèªäœãéèŠã§é£ããã¿ã¹ã¯ã§ããããšã«æ³šæããŠãã ãããç§ãã¡ã®ãœãªã¥ãŒã·ã§ã³ã«ã€ããŠã¯ã次ã®èšäºã§èª¬æããŸãã
ã¬ã³ã¡ã³ããŒã·ã§ã³ã¢ããªã§ã¹ã±ãŒã«ã¢ãŠã
æšå¥šã¢ããªã±ãŒã·ã§ã³ãžã®ãã¬ãã¢ã¢ã¯ã»ã¹ãæäŸããããã«ãHTTPãããã³ã«ã䜿çšããŸããããã¯ãå€ãã®å Žåãã¢ããªã±ãŒã·ã§ã³ã®å¯Ÿè©±ã«ãããäž»èŠãªãªãã·ã§ã³ã§ããç¹ã«KubernetesãšIngressControllerãã€ã³ãã©ã¹ãã©ã¯ãã£ç°å¢ãšããŠäœ¿çšãããŠããå Žåã¯ãã¢ããªã±ãŒã·ã§ã³éã®çžäºäœçšãæŽçããã®ã«é©ããŠããŸãã Kubernetesã䜿çšãããšãã¹ã±ãŒãªã³ã°ãç°¡åã«ãªããŸãããã®ããŒã«ã¯ãã¯ã©ã¹ã¿ãŒå ã®ãããéã§èŠæ±ã®ãã©ã³ã¹ãèªåçã«åããæäœãåçã«ããããšãã§ãããããéçºè ã¯ç°¡åã«ã¹ã±ãŒã«ã¢ããã§ããŸãã Ingress Controllerã¢ãžã¥ãŒã«ããããæ åœããKubernetesã®ã¢ããªã±ãŒã·ã§ã³ãžã®å€éšæ¥ç¶ã®ã«ãŒã«ãå®çŸ©ããŸããããã©ã«ãã§ã¯ãKubernetesã®ã¢ããªã±ãŒã·ã§ã³ã¯å€éšãããã¯ãŒã¯ããã¢ã¯ã»ã¹ã§ããŸãããã¢ããªã±ãŒã·ã§ã³ãžã®å€éšã¢ã¯ã»ã¹ãæäŸããã«ã¯ãèªåãã©ã³ã·ã³ã°ããµããŒãããIngressãªãœãŒã¹ã宣èšããå¿ èŠããããŸããSSL / TLSãURIæžãæãã«ãŒã«ãVirtualServerããã³VirtualServerRouteããµããŒãããNginx Ingress Controllerã䜿çšããŠãURIãšãã¹ãããããŒã«å¿ããŠããŸããŸãªã¢ããªã±ãŒã·ã§ã³ã«èŠæ±ãã«ãŒãã£ã³ã°ããŠããŸãã
Ingress Controllerã®åºæ¬æ§æã§ã¯ãNginxã®åºæ¬æ©èœã®ã¿ã䜿çšã§ããŸããããã¯ãã¹ããšãã¹ã«åºã¥ãã«ãŒãã£ã³ã°ã§ãããURIæžãæãã«ãŒã«ãè¿œå ã®å¿çããããŒãæ¥ç¶ã¿ã€ã ã¢ãŠããªã©ã®è¿œå æ©èœã¯äœ¿çšã§ããŸãããIngressãªãœãŒã¹ã«é©çšããã泚éã䜿çšãããšãNginxèªäœã®æ©èœïŒéåžžã¯ã¢ããªã±ãŒã·ã§ã³èªäœã®æ§æãéããŠäœ¿çšå¯èœïŒã䜿çšããIngressãªãœãŒã¹ããšã«Nginxã®åäœãå€æŽã§ããŸãã
Nginx Ingress Controllerã¯ãçŸåšæ€èšããŠãããããžã§ã¯ãã ãã§ãªããåŸã§èª¬æããä»ã®å€ãã®ã¢ããªã±ãŒã·ã§ã³ã§ã䜿çšããäºå®ã§ããããã«ã€ããŠã¯ã次ã®èšäºã§èª¬æããŸãã
ãã£ãã·ã³ã°ã䜿çšããããšã®ãªã¹ã¯ãšçµæ
ããŒã¿éçŽåã¢ããªã±ãŒã·ã§ã³ã®æé©åã«åãçµãã§ããããŒã ã¯ããã£ãã·ã³ã°ãæé©åããæ¹æ³ã«ã€ããŠå€ãã®è³ªåãããã§ããããåæã«ããã£ãã·ã³ã°ã®åé¡ã¯ãäžåºŠéãã解決ããããšã¯ã§ããŸãããæéã®çµéãšãšãã«ãããŸããŸãªåé¡ãçºçããŸããããšãã°ããŠãŒã¶ãŒããŒã¹ãæ¡å€§ããã«ã€ããŠãã«ããŽãªå¥ã®ããŒã¿ã®äººæ°ã«é¢ããçµ±èšãççŸããå¯èœæ§ãããããã®åé¡ã«å¯ŸåŠããå¿ èŠããããŸãã
ãã£ãã·ã³ã°ã¯ã¢ããªã±ãŒã·ã§ã³ãé«éåããããã®åŒ·åãªããŒã«ã§ãããããã ãã解決çã§ã¯ãããŸãããç¶æ³ã«ãã£ãŠã¯ãã¢ããªã±ãŒã·ã§ã³ããžãã¯ãæé©åããã¹ã¿ãã¯ãšã€ã³ãã©ã¹ãã©ã¯ãã£ç°å¢ãå€æŽããå¿ èŠãããå ŽåããããŸããæ©èœããªãèŠä»¶ãæ€èšŒãããšãã泚æããå¿ èŠããããŸãã補åã®ææè ãšè©±ãåã£ãåŸãã¢ããªã±ãŒã·ã§ã³ã®èŠä»¶ãèªåŒµãããå¯èœæ§ããããŸããåãœãªã¥ãŒã·ã§ã³ã«ã¯ç¬èªã®ç¹æ§ãããããšãèŠããŠããå¿ èŠããããŸãã
ãããžã§ã¯ãã«ãã£ãã·ã¥æ¹æ³ãé©çšããåã«ãå€ãããŒã¿ãæäŸãããªã¹ã¯ããœãªã¥ãŒã·ã§ã³å šäœã®è€éããå¢ããªã¹ã¯ãæœåšçãªãã°ãçºçããå¯èœæ§ã«å¯ŸåŠããå¿ èŠããããŸããçµå±ã®ãšããããã®å Žåããã£ãã·ã³ã°ã¯åé¡ã®è§£æ±ºãè€éã«ããã ãã§ãªããããã©ãŒãã³ã¹ãšã¹ã±ãŒã©ããªãã£ã®åé¡ãé ãã ãã§ããããŒã¿ããŒã¹ã¯ãšãªã¯é ãã®ã§ããããã -ãã£ãã·ã¥ã«ããé«éã¹ãã¬ãŒãžã«ãªããŸãïŒ APIåŒã³åºãã¯é ãã§ããïŒ -çµæãã¯ã©ã€ã¢ã³ãã«ãã£ãã·ã¥ããŸãïŒããã¯ãããžãã¹ããžãã¯ã®è€éããå¢ãã«ã€ããŠããã£ãã·ã³ã°ã管çããã³ãŒãã®è€éããå€§å¹ ã«å¢ãããã§ãã
ã¢ããªã±ãŒã·ã§ã³ã®æåã®ããŒãžã§ã³ã§ã¯ããã£ãã·ã¥ã¯å®è£ çŽåŸã«å®éã«å ·äœçãªå¹æããããŸããçµå±ã®ãšãããããžãã¹ããžãã¯ãåçŽã§ããå€ãä¿åããŠå ã«æ»ããŸããäºæ¥äœéã®äŸåé¢ä¿ã¯åãã«è¶³ããªããååšããªããããç¡å¹åã¯ç°¡åã§ãããã ããæéã®çµéãšãšãã«ããã©ãŒãã³ã¹ãåäžãããã«ã¯ããŸããŸãå€ãã®ããžãã¹ãšã³ãã£ãã£ããã£ãã·ã¥ããå¿ èŠããããŸãã
ãã£ãã·ã³ã°ã¯ãããã©ãŒãã³ã¹ã®åé¡ã«å¯Ÿããç¹å¹è¬ã§ã¯ãããŸãããå€ãã®å Žåãã³ãŒããšã³ã¢ã¹ãã¬ãŒãžãæé©åããããšã§ãé·æçã«ã¯ããŸãããã§ããããããã«ããã£ãã·ã³ã°ã®å°å ¥ã¯åé¡ãžã®åå¿ã§ããã¹ãã§ãããææå°æ©ã®æé©åã§ã¯ãããŸããã
çµè«ãšããŠãã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ãæé©åããã¹ã±ãŒã©ãã«ã«ããããšã¯ãæå®ãããéæ©èœèŠä»¶å ã§äºæž¬å¯èœãªåäœãå®çŸããããšãç®çãšããç¶ç¶çãªããã»ã¹ã§ããããã©ãŒãã³ã¹ãšã¹ã±ãŒã©ããªãã£ã®åäžã«è²»ããããããŒããŠã§ã¢ã³ã¹ããšéçºæéãåæžããã«ã¯ããã£ãã·ã³ã°ãå¿ èŠã§ãã
ãªã³ã¯ïŒ