ç§ãã¡ã¯ãäŒè°ã®åœ¢åŒãå®éšãç¶ããŠããŸãã æè¿ããã¯ã·ã³ã°ãªã³ã°
ã§ãéäžããŒã¿ãã¹ãšService Meshã«
è¡çªããŸãã ã ä»åã¯ãããç©ãããªãã®ãã€ãŸãã¹ã¿ã³ãã¢ãããã€ãŸããªãŒãã³ãã€ã¯ãè©Šãããšã«ããŸããã ãããã¯ã¯ã¡ã¢ãªå
ããŒã¿ããŒã¹ã«éžæãããŸããã
ã©ã®ãããªå Žåã«ã€ã³ã¡ã¢ãªã«åãæ¿ããå¿
èŠããããŸããïŒ ã¹ã±ãŒãªã³ã°ã®æ¹æ³ãšçç± ãããŠãäœã«æ³šæãæã䟡å€ããããŸããïŒ çãã¯ã¹ããŒã«ãŒã®ã¹ããŒãã«ãããŸããããã«ã€ããŠã¯ãã®æçš¿ã§èª¬æããŸãã
ããããæåã«ãã¹ããŒã«ãŒãæ³åããŠãã ããïŒ
- Andrey TrushkinãPromsvyazbankã®æè¡é©æ°ããã³å
端æè¡ã»ã³ã¿ãŒé·
- Vladislav ShpilevaãTarantooléçºè
- GridGainãœãªã¥ãŒã·ã§ã³ã¢ãŒããã¯ããArtyom Shitov
ã€ã³ã¡ã¢ãªã«åãæ¿ãã
éèåžå Žã®çŸåšã®åŸåã¯ãäžè¬ã«ããã»ã¹èªååã®å¿çæéãšæäœã«ããå³ããèŠä»¶ã課ããŠããŸãã ããã«ãä»æ¥ã§ã¯ã»ãšãã©ãã¹ãŠã®äž»èŠãªéèæ©é¢ãç¬èªã®ãšã³ã·ã¹ãã ãæ§ç¯ããããšããŠããŸãã
ãã®ç¹ã§ãã€ã³ã¡ã¢ãªãœãªã¥ãŒã·ã§ã³ã®2ã€ã®äž»èŠãªã¢ããªã±ãŒã·ã§ã³ããããŸãã 1ã€ç®ã¯ãçµ±åããŒã¿ã®ãã£ãã·ã¥ã§ãã å€å
žçãªã·ããªãªã«ãããšã倧äŒæ¥ã«ã¯ããŠãŒã¶ãŒã®èŠæ±ã«å¿ããŠããŒã¿ãæäŸããèªååãããã·ã¹ãã ãããã€ããããŸãã ãŸãã¯å€éšã·ã¹ãã -ãã ãããã®å Žåãã»ãšãã©ã®å Žåãã€ãã·ãšãŒã¿ãŒã¯ãŠãŒã¶ãŒã§ãã åŸæ¥ããããã®ã·ã¹ãã ã¯ããŒã¿ããŒã¹ã«ç¹å®ã®æ¹æ³ã§æ§é åãããããŒã¿ãä¿åãããªã³ããã³ãã§ã¢ã¯ã»ã¹ããŠããŸããã
ä»æ¥ããã®ãããªã·ã¹ãã ã¯ãè² è·ã®èŠ³ç¹ããèŠä»¶ãæºãããŠããŸããã ããã§ã¯ãã³ã³ã·ã¥ãŒãã·ã¹ãã ã«ãããããã®ã·ã¹ãã ã®ãªã¢ãŒãåŒã³åºããå¿ããŠã¯ãªããŸããã ããã¯ããŠãŒã¶ãŒãèªååãããã·ã¹ãã ããŸãã¯åã
ã®ãµãŒãã¹ã«å¯ŸããŠãããŒã¿ã®ä¿åãšè¡šç€ºã®ã¢ãããŒããæ€èšããå¿
èŠãããããšãæå³ããŸãã è«çåºå-ã€ã³ã¡ã¢ãªã¬ã€ã€ãŒã¬ãã«ã§ãµãŒãã¹ã䜿çšããé¢é£ããŒã¿ã®ã¹ãã¬ãŒãžã åžå Žã«ã¯å€ãã®åæ§ã®æåäºäŸããããŸãã
ãããæåã®ã±ãŒã¹ã§ããã 2ã€ç®ã¯ãããžãã¹ããã»ã¹ç®¡çã®æè¡çãªèŠ³ç¹ããå¹æçã§ãã åŸæ¥ã®BPMã·ã¹ãã ã¯ãäºåå®çŸ©ãããã¢ã«ãŽãªãºã ã«åŸã£ãŠç¹å®ã®æäœã®å®è¡ãèªååããŸãã ãããŠå€ãã®å ŽåãçåãçããŸãããªããããã®ã·ã¹ãã ã¯ååã«å¹ççã§ãªããååã«é«éã§ã¯ãªãã®ã§ããïŒ
éåžžããã®ãããªã·ã¹ãã ã¯ãåã¹ãããïŒãŸãã¯ããžãã¹ãã©ã³ã¶ã¯ã·ã§ã³ãšããŠèšèšãããå°ããªã¹ãããã»ããïŒãããŒã¿ããŒã¹ã«æžã蟌ã¿ãŸãã ãããã£ãŠããããã¯å¿çæéãšãããã®ã·ã¹ãã ãšã®çžäºäœçšã«é¢ä¿ããŠããŸãã çŸåšããªã¢ã«ã¿ã€ã ã§åæã«å®è¡ãããŠããããžãã¹ããã»ã¹ã€ã³ã¹ã¿ã³ã¹ã®æ°ã¯ã10幎以äžåã®èŠæš¡ã§ãã ãã®ãããææ°ã®ããžãã¹ããã»ã¹ç®¡çã·ã¹ãã ã§ã¯ãããã©ãŒãã³ã¹ã倧å¹
ã«åäžããåæ£ã¢ããªã±ãŒã·ã§ã³ã®å®è¡ãä¿èšŒãããŸãã ããã«ãä»æ¥ããã¹ãŠã®äŒæ¥ã¯å€§èŠæš¡ãªãã€ã¯ããµãŒãã¹ç°å¢ã®åœ¢æã«åãã£ãŠããŸãã 課é¡ã¯ãããžãã¹ããã»ã¹ã®ç°ãªãã€ã³ã¹ã¿ã³ã¹ãéçšããŒã¿ãå
±æããå¹ççã«äœ¿çšã§ããããšã§ãã ãªãŒã±ã¹ãã¬ãŒã·ã§ã³ã®ãã¬ãŒã ã¯ãŒã¯å
ã§ãããããã€ã³ã¡ã¢ãªãœãªã¥ãŒã·ã§ã³ã«ä¿åããããšã¯çã«ããªã£ãŠããŸãã
å解ã®åé¡
èšå€§ãªæ°ã®ããŒããšãµãŒãã¹ããããå€æ°ã®ããžãã¹ããã»ã¹ãå®è¡ããããã®ã¢ã¯ã·ã§ã³ããã€ã¯ããµãŒãã¹ã®åœ¢ã§å®è£
ãããŠãããšããŸãã ããã©ãŒãã³ã¹ãåäžãããããã«ããããããããŒã«ã«ã¡ã¢ãªã€ã³ã¹ã¿ã³ã¹ãžã®ç¶æ
ã®æžã蟌ã¿ãéå§ããŸãã å€æ°ã®ããŒã«ã«ã€ã³ã¹ã¿ã³ã¹ãååŸããŸãã ãã¹ãŠã®é¢é£æ§ãšäžè²«æ§ã確ä¿ããæ¹æ³ã¯ïŒ
ãŸãŒãã³ã°ã®ã€ã³ã¡ã¢ãªé åã䜿çšããŸãã ããšãã°ãããžãã¹ãã¡ã€ã³ã«å¿ããŠã ããžãã¹ãã¡ã€ã³ãã«ãããããšããç¹å®ã®ãã€ã¯ããµãŒãã¹/ããžãã¹ããã»ã¹ã¯ã察å¿ãããã¡ã€ã³ãæ
åœãããŸãŒã³ã®ãã¬ãŒã ã¯ãŒã¯å
ã§ã®ã¿æ©èœãããšå€æããŸãã ãã®æ¹æ³ã«ããããã£ãã·ã¥ã®æŽæ°ãšã€ã³ã¡ã¢ãªãœãªã¥ãŒã·ã§ã³å
šäœãé«éåã§ããŸãã
åæã«ããã¡ã€ã³ãæ
åœãããã£ãã·ã¥ã¯å®å
šãªã¬ããªã±ãŒã·ã§ã³ã¢ãŒãã§åäœããŸãããã¡ã€ã³éã®åæ£ã«ããããŒãæ°ãå¶éãããããããã®ã¢ãŒãã§ã®ãœãªã¥ãŒã·ã§ã³ã®é床ãšæ£ç¢ºããä¿èšŒãããŸãã ãŸãŒãã³ã°ãšæ倧ã®æçåã¯ãåæãã¯ã©ã¹ã¿ãŒæäœãªã©ã®åé¡ã®è§£æ±ºã«åœ¹ç«ã¡ãŸãã ããŒãã®ç·æ°ãå€ãå Žåã
åœç¶ãã€ã³ã¡ã¢ãªãœãªã¥ãŒã·ã§ã³ã®ä¿¡é Œæ§ã«ã€ããŠçåãçããããšããããããŸãã ã¯ãããã¹ãŠãããã«çœ®ãããšã¯ã§ããŸããã ä¿¡é Œæ§ã確ä¿ããããã«ãã€ã³ã¡ã¢ãªã®é£ã«åžžã«ããŒã¿ããŒã¹ããããŸãã ããšãã°ãå€æ°ã®ããŒãã§ã¯å°é£ã«ãªãå¯èœæ§ã®ããã¬ããŒãããŸãšããéèŠãªåé¡ã®å Žåã ããã§ãä»æ¥ã®ããžã§ã³ã¯äœ
ã§ãã ïŒ
2ã€ã®ã¢ãããŒãã®çžä¹å¹æã§ã ã
ãŸããããã2ã€ã®ã¢ãããŒãã¯ã察æ¯ããã ãã§ã¯å®å
šã«æ£ããããã§ã¯ãªãããšã«ã泚æããŠãã ããã ãããŠåæã«ããããã«çŠç¹ãåãããŸãã Kubernetesãªã©ã®é«åºŠãªã³ã³ãããŒåä»®æ³åã·ã¹ãã ã®ã¡ãŒã«ãŒãšè²¢ç®è
ã¯ããã§ã«é·æçã«ä¿¡é Œã§ããã¹ãã¬ãŒãžã®ãªãã·ã§ã³ãæäŸããŠããŸãã ãœãªã¥ãŒã·ã§ã³ãå®è£
ããããã®åªããç£æ¥äºäŸããã§ã«ç»å ŽããŠãããã¹ãã¬ãŒãžã¯ãã®ãããªä»®æ³å圢åŒã§å®è¡ãããŸãã
ç±³åœæ倧ã®æ°èã®1ã€ã¯ã19äžçŽã«ãã®æ°èã®çºè¡ãéå§ãããŠããçºè¡ãããåé¡ããèªè
ããªã³ã©ã€ã³ã§åãåãæ©äŒãæäŸããŠããŸãã è² è·ã®ã¬ãã«ãæ³åã§ããŸãã ã¹ãã¬ãŒãžã¯ãApache Kafkaãã©ãããã©ãŒã ãéããŠå®è£
ãããKubernetesã«å±éãããŸãã æ
å ±ãä¿åããå€æ°ã®é¡§å®¢ã«å€§ããªè² è·ãããã£ããšãã«æ
å ±ãžã®ã¢ã¯ã»ã¹ãæäŸããå¥ã®ãªãã·ã§ã³ã次ã«ç€ºããŸãã æ°ãããœãªã¥ãŒã·ã§ã³ãèšèšãããšãããã®ãªãã·ã§ã³ã泚æãã䟡å€ããããŸãã
Tarantoolã䜿çšããã€ã³ã¡ã¢ãªããŒã¿ããŒã¹ã®ã¹ã±ãŒãªã³ã°
ãµãŒããŒããããšããŸãã èŠæ±ãåãå
¥ããããŒã¿ãä¿åããŸãã çªç¶ããªã¯ãšã¹ããšããŒã¿ãå¢ãããµãŒããŒã¯è² è·ã«å¯ŸåŠããªããªããŸãã ããå€ãã®ããŒããŠã§ã¢ããµãŒããŒã«ã¢ããããŒãã§ããããå€ãã®èŠæ±ãåãå
¥ããŸãã ããããããã¯äžåºŠã«3ã€ã®çç±ã§è¡ãæ¢ãŸãã«ãªããŸããé«ã³ã¹ããéãããæè¡çèœåãèé害æ§ã®åé¡ã§ãã 代ããã«ãæ°Žå¹³ã¹ã±ãŒãªã³ã°ããããŸãããå人ãããµãŒããŒã«æ¥ãŠãã¿ã¹ã¯ã®å®è¡ãæ¯æŽããŸãã æ°Žå¹³ã¹ã±ãŒãªã³ã°ã®2ã€ã®äž»ãªã¿ã€ãã¯ãã¬ããªã±ãŒã·ã§ã³ãšã·ã£ãŒãã£ã³ã°ã§ãã
ã¬ããªã±ãŒã·ã§ã³ãšã¯ãå€æ°ã®ãµãŒããŒããããããããã¹ãŠãåãããŒã¿ãä¿åããã¯ã©ã€ã¢ã³ãèŠæ±ãããããã¹ãŠã®ãµãŒããŒã«åæ£ããŠããå Žåã§ãã ããã¯ãããŒã¿ã§ã¯ãªãã³ã³ãã¥ãŒãã£ã³ã°ã®ã¹ã±ãŒãªã³ã°æ¹æ³ã§ãã ããã¯ãããŒã¿ã1ã€ã®ããŒãã«é
眮ãããŠããå Žåã«æ©èœããŸããã1ã€ã®ãµãŒããŒãåŠçã§ããªãã»ã©å€ãã®ã¯ã©ã€ã¢ã³ãèŠæ±ãããããã§ãã ãŸãããã©ãŒã«ããã¬ã©ã³ã¹ã倧å¹
ã«åŒ·åãããŠããŸãã
ã·ã£ãŒãã£ã³ã°ã¯ãããŒã¿ãã¹ã±ãŒãªã³ã°ããããã«äœ¿çšãããŸããå€ãã®ãµãŒããŒãäœæãããç°ãªãããŒã¿ãä¿åããŸãã ãããã£ãŠãèšç®ãšããŒã¿ã®äž¡æ¹ãã¹ã±ãŒãªã³ã°ããŸãã ãã ãããã®å Žåã®ãã©ãŒã«ããã¬ã©ã³ã¹ã¯äœããªããŸãã 1ã€ã®ãµãŒããŒã«é害ãçºçãããšãããŒã¿ã®äžéšã倱ãããŸãã
3çªç®ã®ã¢ãããŒãããããŸã-ããããçµã¿åãããã ã¯ã©ã¹ã¿ãŒããµãã¯ã©ã¹ã¿ãŒã«åå²ããããããã¬ããªã«ã»ãããšåŒã³ãŸãã ãããããåãããŒã¿ãä¿åããããŒã¿ã¯ã¬ããªã«ã»ããéã§äº€å·®ããŸããã ãã®çµæãããŒã¿ã®ã¹ã±ãŒãªã³ã°ãã³ã³ãã¥ãŒãã£ã³ã°ãããã³ãã©ãŒã«ããã¬ã©ã³ã¹ãå®çŸããŸãã
è€è£œ
ã¬ããªã±ãŒã·ã§ã³ã«ã¯ãéåæãšåæã®2ã€ã®ã¿ã€ãããããŸãã éåæãšã¯ãããŒã¿ãã¬ããªã«ã«åæ£ãããŸã§ã¯ã©ã€ã¢ã³ãèŠæ±ãåŸ
æ©ããªãå Žåã§ãã1ã€ã®ã¬ããªã«ã«æžã蟌ãã ãã§ååã§ãã ããŒã¿ããã£ã¹ã¯ããã°ã«å°éãããšããã«ããã©ã³ã¶ã¯ã·ã§ã³ã¯æåãããã€ãããã¯ã°ã©ãŠã³ãã§ãã®ããŒã¿ãè€è£œãããŸãã åæ-ãã©ã³ã¶ã¯ã·ã§ã³ãæºåãšã³ãããã®2ã€ã®ãã§ãŒãºã«åãããŠããå Žåã ã³ãããã¯ãããŒã¿ãäžå®æ°ã®ã¬ããªã«ã«è€è£œããããŸã§æåãè¿ããŸããã
ãããã¯ãŒã¯äžã«äœã眮ãããŠããªããããéåæã¬ããªã±ãŒã·ã§ã³ã¯æããã«é«éã§ãã ããŒã¿ã¯ããã¯ã°ã©ãŠã³ãã§ãããã¯ãŒã¯ã«éä¿¡ããããã°ã«èšé²ãããŠãããã©ã³ã¶ã¯ã·ã§ã³èªäœãå®äºããŸãã ãã ããåé¡ããããŸããã¬ããªã«ãäºãã«é
ããŠãåæããšããŠããªãå¯èœæ§ããããŸãã
åæã¬ããªã±ãŒã·ã§ã³ã¯ããä¿¡é Œæ§ãé«ããªããŸãããå®è£
ãã¯ããã«é
ããªããŸãã è€éãªãããã³ã«ããããŸãã Tarantoolã§ã¯ãã¿ã¹ã¯ã«å¿ããŠããããã®çš®é¡ã®ã¬ããªã±ãŒã·ã§ã³ãéžæã§ããŸãã
ã¬ããªã«ã®é
ãã¯ãéåæåã ãã§ãªãããã¹ã¿ãŒã®ç¡ç¥ã®åé¡ãåŒãèµ·ãããŸãããã¹ã¿ãŒã«å€æŽãã¬ããªã«ã«æž¡ãæ¹æ³ãããããŸããã éåžžãå€æŽã¯æ®µéçã«é©çšãããŸããå€æŽã¯é©çšãããåã圢åŒã§ã¬ããªã«ã«ç§»åããŸãã ããããã¬ããªã«ãå©çšã§ããªãå Žåã¯ã©ãããŸããïŒ ããšãã°ããã¹ãŠãTarantoolã§æ§æã§ãããŠã£ã¶ãŒãã¯éåžžã«æè»ã«ãªããŸãã
å¥ã®èª²é¡ïŒããããžãè€éã«ããæ¹æ³ïŒ ããšãã°ãMail.ruã«ã¯ãæ°çŸã®TarantoolãããããããžããããŸãã ããã¯ã¢ããçšã®ã¬ããªã«ã¿ã©ã³ãã¥ã©ãåã§çµã°ããtarantoolã«ãŒãã«ããããŸãã Tarantoolã§ã¯ãå®å
šã«ä»»æã®ããããžãäœæã§ããããã䜿çšããè€è£œã¯å®å
šã«æ©èœããŸãã
ã·ã£ãŒãã£ã³ã°
次ã«ãããŒã¿ã®ã¹ã±ãŒãªã³ã°ã§ããã·ã£ãŒãã£ã³ã°ã«ç§»ããŸãããã ç¯å²ãšããã·ã¥ã®2çš®é¡ããããŸãã ç¯å²åå²ã¯ããã¹ãŠã®ããŒã¿ãåå²ããŒã«ãã£ãŠãœãŒãããããã®å€§ããªã·ãŒã±ã³ã¹ãç¯å²ã«åå²ãããåç¯å²ãã»ãŒåãéã®ããŒã¿ãæã€ããã«ããå Žåã§ãã ãŸããåç¯å²ã¯ãã¹ãŠ1ã€ã®ç©çããŒãã«å®å
šã«ä¿åãããŸãã ãã ããéåžžããã®ãããªã·ã£ãŒãã£ã³ã°ã¯å¿
èŠãããŸããã ããã«ãããã¯åžžã«éåžžã«è€éã§ãã
ããã·ã¥ã«ããã·ã£ãŒãã£ã³ã°ããããŸãã ã¿ã©ã³ããŒã«ã§çŽ¹ä»ãããã°ããã§ãã å®è£
ã䜿çšãã¯ããã«ç°¡åã§ãã·ã£ãŒãã£ã³ã°ç¯å²ã®ä»£ããã«ã»ãŒåžžã«é©åã§ãã ããã¯æ¬¡ã®ããã«æ©èœããŸããã¬ã³ãŒãããããã·ã¥é¢æ°ãæ€èšããä¿åããç©çããŒãã®çªå·ãè¿ããŸãã åé¡ããããŸãããŸããè€éãªã¯ãšãªããã°ããå®äºããããšãå°é£ã§ãã
第äºã«ããªã·ã£ãŒãã£ã³ã°ã®åé¡ããããŸãã ããŒãä¿åããå¿
èŠãããç©çã·ã£ãŒãã®çªå·ãè¿ãã·ã£ãŒãé¢æ°ããããŸãã ãŸããããŒãã®æ°ãå€ãããšãã·ã£ãŒãé¢æ°ãå€ãããŸãã ããã¯ãã¯ã©ã¹ã¿ãŒå
ã®ãã¹ãŠã®ããŒã¿ã«ã€ããŠãåèšç®ããŠå床æ€èšŒããå¿
èŠãããããšãæå³ããŸãã ããã«ãåŸæ¥ã®ã·ã£ãŒãã£ã³ã°ã§ã¯ãäžéšã®ããŒã¿ã¯æ°ããããŒãã«è»¢éããããåã«å€ãããŒãéã§ã·ã£ããã«ãããŸãã å€å
žçãªã·ã£ãŒãã£ã³ã°ã§ã¯ãç¡é§ãªè»¢éããŒãã«æžããããšã¯ã§ããŸããã
Tarantoolã¯ä»®æ³ã·ã£ãŒãã£ã³ã°ã䜿çšããŸããããŒã¿ã¯ç©çããŒãã§ã¯ãªããä»®æ³ããŒãã«åæ£ãããŸãã ä»®æ³ã¯ã©ã¹ã¿ãŒå
ã®ä»®æ³ãã±ããã ãããŠãä»®æ³ã®ã¹ããŒãªãŒã¯ç©ççãªã¹ããŒãªãŒã«åºã¥ããŠããŸãã ãããŠãã§ã«ãåä»®æ³éãå®å
šã«1ã€ã®ç©çéã«ããããšãä¿èšŒãããŠããŸãã
ããã¯å販ã®åé¡ãã©ã®ããã«è§£æ±ºããŸããïŒ å®éããã±ããã®æ°ã¯åºå®ãããŠãããç©çããŒãã®æ°ã倧å¹
ã«è¶
ããŠããŸãã ãããã£ãŠãã¯ã©ã¹ã¿ãŒãã©ãã ãç©ççã«ã¹ã±ãŒãªã³ã°ããŠããããŒã¿ãä¿åããŠåçã«åæ£ããã«ã¯ããã±ããã§åžžã«ååã§ãã ãŸããã·ã£ãŒãé¢æ°ã¯å€æŽãããŠããªããããã¯ã©ã¹ã¿ãŒã®æ§æãå€æŽããããšãã«ã·ã£ãŒãé¢æ°ãåèšç®ããå¿
èŠã¯ãããŸããã
ãã®çµæã
ç¯å²ãããã·ã¥ãä»®æ³ãã±ããã®3çš®é¡ã®ã·ã£ãŒãã£ã³ã°ãååŸã
ãŸã ã ç¯å²ãšãã±ããã®å Žåãç©ççãªæ€çŽ¢ã®åé¡ããããŸãã
解決æ¹æ³ã¯ïŒ æåã®æ¹æ³ïŒãªã·ã£ãŒãã£ã³ã°ãçŠæ¢ããŸãã 次ã«ããªã·ã£ãŒãã£ã³ã°ã®ããã«ãæ°ããã¯ã©ã¹ã¿ãŒãäœæããããã«ãã¹ãŠã転éããå¿
èŠããããŸãã 2çªç®ã®æ¹æ³ïŒåžžã«ãã¹ãŠã®ããŒãã«ç§»åããŸãã ããããããã¯æå³ããããŸããããªããªããã¹ã±ãŒãªã³ã°ããå¿
èŠããããèšç®ã¯ãã®ããã«ã¹ã±ãŒãªã³ã°ããªãããã§ãã 3çªç®ã®ãªãã·ã§ã³ïŒãã±ããã®äžçš®ã®ã«ãŒã¿ãŒãšããŠæ©èœãããããã·ã¢ãžã¥ãŒã«ã ãããå®è¡ããããã«ãã±ããã®çªå·ã瀺ããªã¯ãšã¹ããéä¿¡ãããšããªã¯ãšã¹ãããããã·ãšããŠç®çã®ç©çããŒãã«éä¿¡ããŸãã
GridGainãã©ãããã©ãŒã ã䜿çšããé«åºŠãªã€ã³ã¡ã¢ãªã®äŸ
ããžãã¹ã«ã¯è¿œå ã®ããŒã¿ããŒã¹èŠä»¶ããããŸãã 圌ã¯ããããã¹ãŠããã©ãŒã«ããã¬ã©ã³ãã§ç Žæ»
çãªãã®ã«ããããšèããŠããŸãã 圌ã¯é«å¯çšæ§ãæãã§ããŸãããã®ãããäœã倱ããããããã«å埩ã§ããŸãã ãŸããç°¡åã§å®äŸ¡ãªæ¡åŒµæ§ãç°¡åãªãµããŒãããã©ãããã©ãŒã ãžã®ä¿¡é Œãå¹ççãªã¢ã¯ã»ã¹ã¡ã«ããºã ãå¿
èŠã§ãã
ãããã®ã¢ã€ãã¢ã¯ãã¹ãŠæ°ãããã®ã§ã¯ãããŸããã ãããã®å€ãã¯ãããçšåºŠãŸã§ãå€å
žçãªDBMSãç¹ã«ããŒã¿ã»ã³ã¿ãŒéã®ã¬ããªã±ãŒã·ã§ã³ã«å®è£
ãããŠããŸãã
In-Memoryã¯ãã¯ãã¹ã¿ãŒãã¢ãããã¯ãããžãŒã§ã¯ãªããäžçäžã®å€§äŒæ¥ïŒããŒã¯ã¬ã€ãºãã·ãã£ã°ã«ãŒãããã€ã¯ããœãããªã©ïŒã§äœ¿çšãããŠããæçãã補åã§ãã ãããã®èŠä»¶ã¯ãã¹ãŠæºããããŠãããšæ³å®ãããŠããŸãã
ãã®ãããçªç¶å€§çœå®³ãçºçããå Žåãããã¯ã¢ããããå埩ããæ©äŒãããã¯ãã§ãã éèçµç¹ã«ã€ããŠè©±ããŠããå Žåããã¹ãŠã®ãã©ã€ãããã®ã³ããŒã ãã§ãªãããã®ããã¯ã¢ãããäžè²«ããŠããããšãéèŠã§ãã ããŒãã®äžéšã§Xã®æç¹ã§ããŒã¿ã埩å
ãããYã®æç¹ã§ä»ã®éšåã§ããŒã¿ã埩å
ãããªãããã«ããããã«ããã€ã³ãã€ã³ã¿ã€ã ãªã«ããªãè¡ãããšãéåžžã«éèŠã§ããããã«ãããããŒã¿ã®ç Žæãç¹ã«é倧ãªäºæ
ãçºçããå Žåã§ããæ倱ã®éãæå°éã«æããããšãã§ããŸãã
ããŒã¿ããã£ã¹ã¯ã«ããã·ã¥ã§ããããšãéèŠã§ãã ãã®ãããã¯ã©ã¹ã¿ãŒãéè² è·ã«é¥ãããšãªããããã«äœéã§åäœãç¶ããŸãã ãããŠããã£ã¹ã¯ããçŽ æ©ãç«ã¡äžãããããããããŒã¿ãã¡ã¢ãªã«éã蟌ã¿ãŸããã
GridGainãã©ãŒã«ããã¬ã©ã³ã¹ã³ã³ããŒãã³ãã®æç¡ã«ããããããã¯ã©ãã·ã¥ã«å¯Ÿããã¡ã¢ãªå
ã®å¿çãã§ãŒã«ãªãŒããŒã¯ã©ã¹ã¿ãŒã¯ãæ°Žå¹³ããã³åçŽã«ç°¡åã«æ¡åŒµã§ããå¿
èŠããããŸãã ãµãŒããŒã«ãéãæã£ãŠããªãœãŒã¹ã®ååãã¢ã€ãã«ç¶æ
ã«ãªã£ãŠããã®ãèŠãŠããæ°ãããŸããã 管çããå¿
èŠãããäœçŸãã®ããã»ã¹ã®äžããå°çã«è¡ããããããŸããã ãµããŒãã®èŠ³ç¹ãããã¯ã©ã¹ã¿ãŒããã®ããŒãã®ç°¡åãªå
¥åºåãšéçºãããæçããç£èŠã·ã¹ãã ãåããã·ã³ãã«ãªã·ã¹ãã ã欲ããã§ãã
ãã®èŠ³ç¹ã§MongoDBãæ€èšããŠãã ããã MongoDBã§äœæ¥ããããšã®ãã人ã¯èª°ã§ããå€æ°ã®ããã»ã¹ãç¥ã£ãŠããŸãã 5ã€ã®ã·ã£ãŒãã®åœ±ä»ãMongoDBãããå Žåãåã·ã£ãŒãã«ã¯3ã€ã®ããã»ã¹ã®ã¬ããªã«ã»ããããããŸãïŒåé·æ§æ¯ã¯3ïŒã ãããŠãããã¯ããŒã¿èªäœã§ã®ã¿15ããã»ã¹ã§ãã ã¯ã©ã¹ã¿ãŒæ§æã¹ãã¬ãŒãžã¯ãã1ã€ãã©ã¹3ããã»ã¹ã§ãåèšã§18ã«ãªããŸããããã«ã¯ã«ãŒã¿ãŒã¯å«ãŸããŸããã 20åã®ã·ã£ãŒããå¿
èŠãªå Žåã¯ã63å以äžïŒããšãã°ã8åãåèš71åïŒã®ããã»ã¹ããå°çãžããããã
Cassandraãšæ¯èŒããŠãã ããã ãã¹ãŠåã5ã€ã®ã·ã£ãŒãã䜿çšããŸãããããã¯5ã€ã®ããã»ã¹ãš5ã€ã®ããŒãã§ãããåãåé·ä¿æ°3ãæã¡ãŸããããã¯å¶åŸ¡ã®èŠ³ç¹ããã¯ããã«åçŽã§ãã 20åã®ã·ã£ãŒããå¿
èŠã§ã-ãããã¯20åã®ããã»ã¹ã§ãã ã¯ã©ã¹ã¿ãŒãä»»æã®æ°ã®ããŒãã«ã¹ã±ãŒãªã³ã°ã§ããŸãããå¿
ããã3ã®åæ°ïŒãŸãã¯åé·ä¿æ°ã®å¥ã®å€ïŒã«ããå¿
èŠã¯ãããŸããã ã¬ããªã«ã»ãããããå®è£
ãšä¿å®ãã¯ããã«ç°¡åã§å®äŸ¡ã§ãã
ããã«ãã·ã¹ãã ãä¿¡é Œããå補åã®èåŸã«ãã人ã
ãç解ããå¿
èŠããããŸãã çæ³çã«ã¯ãã©ã€ã»ã³ã¹ã¯ãªãŒãã³ãœãŒã¹ãŸãã¯ãªãŒãã³ã³ã¢ã§ãªããã°ãªããŸããã ãã³ããŒãæ»äº¡ããå Žåãäœããã§ããããã«ã ãŸãããœãŒã¹ã³ãŒããç¬ç«ããã³ãã¥ããã£ã«ãã£ãŠç®¡çãããŠããå Žåãæå¹ã§ããMongoDBãšRedisã管çäŒç€Ÿã®èŠæ±ã«å¿ããŠã©ã€ã»ã³ã¹ãå€æŽããæ¹æ³ããã¹ãŠèŠããŠããŸãã Aerospikeã幎åã«ããªãŒãã³ãœãŒã¹ãã³ãã¥ããã£ãšãã£ã·ã§ã³ã«å¶éãå°å
¥ããæ¹æ³ã
ããŒã¿ãžã®å¹æçãªã¢ã¯ã»ã¹ãå¿
èŠã§ãã ã»ãšãã©ãã¹ãŠããäœããã®åœ¢ã§æ§é åç
§äŒèšèªãæã£ãŠããŸãã ã»ãšãã©ã®å ŽåãSQLã䜿çšããŸããããã®èšèªã§ã®é©å¿ã¯ã§ããã ãç°¡åã«ããå¿
èŠããããŸãã ããã¯ãåããŒãã«åå¥ã«ãªã¯ãšã¹ããéä¿¡ããå¿
èŠã¯ãããŸãããããã·ã³ã°ã«ãŠã£ã³ããŠãã®ããã«ã¯ã©ã¹ã¿ãŒãšéä¿¡ã§ããå Žåã«ãåæ£ã¯ãšãªã®å®è¡ã«åœ¹ç«ã¡ãŸãã APIã®èŠ³ç¹ããèãããšãããã¯äžé£ã®ããŒãïŒè€éãªSQLã¯ãšãªãçºçããå¯èœæ§ããªããæãåçŽãªput / getã¬ãã«ã§ã倧容éã§Memcacheã䜿çšããã®ãããã«é£ããããæãåºããŠãã ããïŒãåæ£DDLããã³ACIDã®ä¿èšŒã§ãã
ãããŠæåŸã«ããµããŒãã äœããçªç¶æ©èœããªãå ŽåãäŒç€Ÿã¯åã«ãéã倱ããŸãã äžéšã®åéã§ã¯ããã¯éèŠã§ã¯ãããŸããããå€ãã®å Žåã誰ãã補åãšãã®äœæ¥ã«è²¬ä»»ãæã€ããšãéèŠã§ãã ãã®ããããã€ã§ãç³ãç«ãŠãè¡ãããšãã§ããããã«è§£æ±ºãããŸããã
ãã®æçš¿ã§ãHamsã®Promsvyazbankã®å¹Žãå®äºããŸããã ããããã¹ã¯ã®äœæ°ã«å¯Ÿããæ°å¹Žã®é¡ããçããããªã§éããŸããã