C ++ã§ã¢ã¯ã¿ãŒã䜿çšããŠ15幎ã«ããã£ãŠããŸããŸèç©ããå¡ã«é¢ããèšäºã®1ã€ã§ãå€ãã®ã¢ã¯ã¿ãŒãããèªäœã§åé¡ã«ãªãããšãå€ããšèšãããŸãããã解決çã§ã¯ãããŸããã ãŸãã SEDAã¢ãããŒãã®ã¢ã€ãã¢ã䜿çšãããšãã¢ã¯ã¿ãŒã¢ãã«ã«åºã¥ããŠã¢ããªã±ãŒã·ã§ã³ãéçºããéã®ç掻ãå€§å¹ ã«ç°¡çŽ åãããŸãã ãã ãã質åãåã®èšäºãžã®ã³ã¡ã³ãã§åŸã§ç€ºããããã«ãSEDAã¢ãããŒããšã¢ã¯ã¿ãŒã¢ãã«ã®çµã¿åããã¯æããã§ã¯ãªãããããã®ãããã¯ãããå°ãæãäžããããšã¯çã«ããªã£ãŠããŸãã
ã¢ã¯ã¿ãŒã®ã¢ãã«ãšãã®å©ç¹
俳åªã¢ãã«ã«ã€ããŠã®ããã€ãã®èšè
ã¢ã¯ã¿ãŒã¢ãã«ã§ã¯ã3ã€ã®åºæ¬ååã䜿çšããŠãã¢ã¯ã¿ãŒãšåŒã°ããç¹å¥ãªèšç®ãšã³ãã£ãã£ãéããŠé©çšäœæ¥ãå®è¡ãããŸãã
- ã¢ã¯ã¿ãŒã¯çä¿¡ã¡ãã»ãŒãžã«å¿çããŸãã
- ã¢ã¯ã¿ãŒã«ã¯ãçä¿¡ã¡ãã»ãŒãžãžã®å¿çã決å®ããåäœããããŸãã
- ã¡ãã»ãŒãžãåä¿¡ãããšãã¢ã¯ã¿ãŒã¯æ¬¡ã®ããšãã§ããŸãã
- ããã€ãã®ïŒæçµçãªïŒã¡ãã»ãŒãžãä»ã®ã¢ã¯ã¿ãŒã«éä¿¡ããŸãã
- ïŒæçµçãªïŒæ°ã®æ°ããã¢ã¯ã¿ãŒãäœæããŸãã
- åŸç¶ã®ã¡ãã»ãŒãžãåŠçããããã®æ°ããåäœãå®çŸ©ããŸãã
éåžžãã¢ã¯ã¿ãŒã¯çä¿¡ã¡ãã»ãŒãžãåŸ ã£ãŠã¹ãªãŒãããŸãã ãã®ãããªã¡ãã»ãŒãžã衚瀺ããããšãã¢ã¯ã¿ãŒã¯ãŠã§ã€ã¯ã¢ããããã¡ãã»ãŒãžãåŠçããŠã次ã®ã¡ãã»ãŒãžãåä¿¡ãããŸã§åã³ã¹ãªãŒãç¶æ ã«ãªããŸãã
ã¢ã¯ã¿ãŒã¢ãã«ã¯ãã¢ã¯ã¿ãŒãã©ãããã¹ããã決å®ããŸããã ãããã£ãŠãã¢ã¯ã¿ãŒã¢ãã«ã®å®è£ ã¯éåžžã«ç°ãªã£ãŠèŠããå ŽåããããŸãã ãããã£ãŠãã¢ã¯ã¿ãŒã¢ãã«ã®æãæåãªå®è£ ã®1ã€ã¯ã Erlangããã°ã©ãã³ã°èšèªãšèŠãªãããŸãã ããã§ã¯ãã¢ã¯ã¿ãŒã¯Erlang VMå ã§å®è¡ããã軜éããã»ã¹ã§ãã ã¢ã¯ã¿ãŒã¢ãã«ã®æãæåãªå®è£ ã®1ã€ã§ããJVMã®Akkaãã¬ãŒã ã¯ãŒã¯ã§ã¯ãã¢ã¯ã¿ãŒã¯ãã¢ã¯ã¿ãŒã®ã¡ãã»ãŒãžãåä¿¡ãããšãã«ãã¬ãŒã ã¯ãŒã¯ã«ãã£ãŠã¡ãœãããèªåçã«åŒã³åºããããªããžã§ã¯ããšããŠè¡šãããŸãã äžæ¹ãJVMã®ã¢ã¯ã¿ãŒã®å¥ã®å®è£ ã§ããQuasarã§ã¯ãã¢ã¯ã¿ãŒã¯ã³ã«ãŒãã³ã§ãã C ++ã®äžçã§ã¯ã QP / C ++ãSObjectizerãªã©ã®ãã¬ãŒã ã¯ãŒã¯ã¯ãã¢ã¯ã¿ãŒã®è¡šçŸãã¹ããŒããã·ã³ã§ãããªããžã§ã¯ããšããŠäœ¿çšããŸãã CAFãã¬ãŒã ã¯ãŒã¯ã§ã¯ãã¢ã¯ã¿ãŒã¯ãªããžã§ã¯ããŸãã¯é¢æ°ã®ããããã§ãã ãŸãã Just :: Thread ProïŒActors Editionãã¬ãŒã ã¯ãŒã¯ã§ã¯ãåã¢ã¯ã¿ãŒã¯åå¥ã®OSã¹ã¬ããã§ãã
ãããã£ãŠãç°ãªãå®è£ ã®åäœåçã¯ç°ãªããŸããã©ããã§ããã¬ãŒã ã¯ãŒã¯ãã¢ã¯ã¿ãŒãªããžã§ã¯ãã®ã³ãŒã«ããã¯ã¡ãœãããåŒã³åºããã©ããã§ãã¢ã¯ã¿ãŒèªäœã次ã®çä¿¡ã¡ãã»ãŒãžãåä¿¡ããããã«ãã¬ãŒã ã¯ãŒã¯ããã«ããããã«åŒ·å¶ãããŸãã ãã ããäžè¬çãªäœæ¥ã¹ããŒã ã¯ã©ã®å Žåã§ãä¿æãããŸãã俳åªãžã®çä¿¡ã¡ãã»ãŒãžããªãå Žåã俳åªã¯ã¹ãªãŒãããŠäœãããŸããã ã¡ãã»ãŒãžã衚瀺ããããšããã«ãã¢ã¯ã¿ãŒã¯ç®ãèŠãŸããçä¿¡ã¡ãã»ãŒãžãåŠçãã次ã®çä¿¡ã¡ãã»ãŒãžãåŸ ã£ãŠã¹ãªãŒãããŸãã
俳åªã®äŸ¿å©ãã¯äœã§ããïŒ
ç§ã®æèŠã§ã¯ãã¢ã¯ã¿ãŒã¢ãã«ã«ã¯2ã€ã®å€§ããªå©ç¹ããããç¹å®ã®ç¶æ³ã§éçºè ã®ç掻ãå€§å¹ ã«ç°¡çŽ åããŸãã
ãŸããåã¢ã¯ã¿ãŒã¯ç¬èªã®ç¶æ ãæã¡ãéåæã¡ãã»ãŒãžãä»ããŠã®ã¿å€éšãšéä¿¡ããŸãã ããªãã¡ æãçŽç²ãªåœ¢ã§ã¯äœãå ±æããªããšããå®æœåœ¢æ ã ãã®éèŠæ§ã¯ããã«ãã¹ã¬ããããã°ã©ãã³ã°ãšåæ£ã¢ããªã±ãŒã·ã§ã³ã®æ§ç¯ã®äž¡æ¹ã§é倧è©äŸ¡ãããããšã¯ã»ãšãã©ãããŸããã
確ãã«ãã¢ã¯ã¿ãŒã¢ãã«ã䜿çšããŠãã«ãã¹ã¬ããã³ãŒããèšè¿°ããå Žåã人皮ããããããã¯ãªã©ã«ã€ããŠèããå¿ èŠã¯ãããŸããã 確ãã«ãã¢ã¯ã¿ãŒã¢ãã«ã«ã¯èœãšãç©ŽããããŸããããã¢ã¹ã¬ããããã¥ãŒããã¯ã¹ãããã³æ¡ä»¶å€æ°ã®äœ¿çšãšæ¯èŒãããšãã¢ã¯ã¿ãŒã¢ãã«ã®åŠç¿ãšäœ¿çšã¯ã¯ããã«ç°¡åã§ãã
éåæã¡ãã»ãŒãžã³ã°ã§ã¯ãåä¿¡è ãåãããã»ã¹å ã«ãããããªã¢ãŒããã¹ãäžã§åäœããŠãããã¯é¢ä¿ãªããããååãšããŠãã¢ã¯ã¿ãŒã¢ãã«ã¯é åžãšã®èŠªåã§ãã ãã ããé ä¿¡ã®åé¡ã¯ãç¹ã«ã¢ã¯ã¿ãŒéã®éäžçãªã¡ãã»ãŒãžã³ã°ã«é¢ããŠã¯ã¯ããã«è€éã§ãããããããã§ã¯ãã¹ãŠãæ確ã§ã¯ãããŸãã ã ããããéãè² è·ã«ã€ããŠè©±ããŠããªãå Žåãç¹ã«ãã¬ãŒã ã¯ãŒã¯/ç°å¢ããã®ãããªæ©äŒãããã«æäŸããå Žåãã¢ã¯ã¿ãŒã¢ãã«ã«åºã¥ããŠåæ£ã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããããšã¯é£ãããããŸããã
第äºã«ãåã¢ã¯ã¿ãŒã¯ãç¬èªã®ããžãã¯ã«åŸã£ãŠåäœããç¹å®ã®èªåŸãšã³ãã£ãã£ã«ãªãããšãã§ããŸãã ããšãã°ããªã¬ãŒã·ã§ãã«DBMSã§ã¯ãã¢ã¯ã¿ãŒãäœæããŠSQLã¯ãšãªãå®è¡ã§ããŸãã åã¢ã¯ã¿ãŒã¯ãæåããæåŸãŸã§ãªã¯ãšã¹ããå®è¡ã§ããŸãïŒãªã¯ãšã¹ãã®éã¢ã»ã³ãã«ããã®æ£åœæ§ã®ç¢ºèªãå®è¡èšç»ã®äœæãã¹ãã¬ãŒãžã·ã¹ãã ããã®ããŒã¿ã®ãªã¯ãšã¹ãããªã¯ãšã¹ããæºããããŒã¿ã®éžæããªã¯ãšã¹ãã®éä¿¡è ãžã®ããŒã¿éä¿¡ã 1ã€ã®ãšã³ãã£ãã£ã®ãã¬ãŒã ã¯ãŒã¯å ã«ãã®ãã¹ãŠã®ããžãã¯ãã¢ã¯ã¿ãŒã®åœ¢ã§å®è£ ãããšäŸ¿å©ã§ãã ãã®åŸãã¢ããªã±ãŒã·ã§ã³ïŒããšãã°ãRDBMSãµãŒããŒïŒã¯Nåã®ã¢ã¯ã¿ãŒãäœæãããããããç°ãªããªã¯ãšã¹ãã«åå¥ã«å¯Ÿå¿ããŸãã
ãããã®2ã€ã®å©ç¹ãçµã¿åããããšãã¢ã¯ã¿ãŒã¢ãã«ã¯ããã«ãã¹ã¬ããã¢ããªã±ãŒã·ã§ã³ã§ãäºãã«åŒ·ãçµã³ã€ããŠããªãããŸããŸãªã¢ã¯ãã£ããã£ãåæã«å®è¡ããå¿ èŠãããå Žåã«éåžžã«äŸ¿å©ã§ããããšãããããŸãã
SEDAã®ã¢ãããŒããšçŸåŸ³
SEDAã®ã¢ãããŒã
SEDAã¢ãããŒãã®æ¬è³ªã¯ãç¹å®ã®åã¢ããªã±ãŒã·ã§ã³æäœãåå¥ã®ã¹ããŒãžã«åå²ãããåã¹ããŒãžã«åå¥ã®ã³ã³ãã¥ãŒãã£ã³ã°ãšã³ãã£ãã£ãå²ãåœãŠãããããšã§ãã ãããã£ãŠãRDBMSã§ã®SQLã¯ãšãªã®ãµãŒãã¹ã¯ãSQLã¯ãšãªã®è§£æãã¯ãšãªãã©ã¡ãŒã¿ãŒã®æ€èšŒãã¯ãšãªãã©ã³ã®æ§ç¯ããªããžããªããã®ããŒã¿ã®åéãã¯ãšãªãæºããããŒã¿ã®ãã£ã«ã¿ãŒåŠçãã¯ãšãªéä¿¡è ãžã®çµæã®éä¿¡ã®å段éã«åããããšãã§ããŸãã
ã¹ããŒãžéã®çžäºäœçšã¯ãéåæã¡ãã»ãŒãžãéä¿¡ããããšã«ããå®è¡ãããŸãã ãã®ãããSEDAã¢ãããŒãã®å Žåãå¥ã®ãšã³ãã£ãã£ã¹ããŒãžãSQLåŒã解æããŸãã 解æãæåãããšãSQLã¯ãšãªã®è§£æããããã¥ãŒã次ã®ãšã³ãã£ãã£æ®µéã«éä¿¡ãããŸãã 次ã®ãšã³ãã£ãã£ã¯ããã§ã«è§£æããããªã¯ãšã¹ãã®ãã©ã¡ãŒã¿ãŒãæ€èšŒããŸãã ãã©ã¡ãŒã¿ãæå¹ãªå Žåããªã¯ãšã¹ãã¯æ¬¡ã®ãšã³ãã£ãã£æ®µéã«éä¿¡ããããªã¯ãšã¹ãã®å®è¡ã®ããã®èšç»ãæºåãããŸãã ç
SEDAã¢ãããŒãã®ç¹åŸŽã¯ãã¹ããŒãžãšã³ãã£ãã£éã®ã¡ãã»ãŒãžãã¥ãŒã䜿çšããŠãã¢ããªã±ãŒã·ã§ã³ã®è² è·ãå¶åŸ¡ã§ããããšã§ãã ã解æã段éãšãæ€èšŒã段éã®éã®ç·ã¯ã20èŠçŽ ã®åºå®ãµã€ãºãæã€ããšãã§ãããšä»®å®ããŸãã ããã¯ãæ€èšŒã¹ããŒãžã®ãã¥ãŒãå®å šã«ãã£ã±ãã«ãªããšã解æã¹ããŒãžã次ã®ã¡ãã»ãŒãžããã¥ãŒã«å ¥ããããªãããšãæå³ããŸãã
ãããã£ãŠãã¹ããŒãžéã«åºå®ãµã€ãºã®ãã¥ãŒãååšãããšãã¢ããªã±ãŒã·ã§ã³ãéè² è·ããä¿è·ã§ããŸãã ããããããã«èå³æ·±ãããšã«ããªãŒããŒããŒããæ€åºããããšãïŒã€ãŸããæ¢ã«æºããããŠãããã¥ãŒã«æ°ããã¡ãã»ãŒãžãæ¿å ¥ããããšãããšãïŒã«ç°ãªãåäœã䜿çšã§ããŸãã
- ãããŸã§ã¯ããã¥ãŒå ã®ã¹ããŒã¹ã解æŸãããŸã§ãçŸåšã®ãšã³ãã£ãã£ã¹ããŒãžãäžæåæ¢ã§ããŸãã
- å¥ã®åŠçãå®è¡ããå¥ã®ãšã³ãã£ãã£ã¹ããŒãžã«ã¡ãã»ãŒãžãéä¿¡ããããšãã§ããŸãïŒããšãã°ãéè² è·ã®ããã«èŠæ±ãåŠçã§ããªãå Žåããåè©Šè¡åŸãã®ç¹å¥ãªå¿çãçæã§ããŸãïŒã
- ããã€ãã®å€ãã¡ãã»ãŒãžããã¥ãŒããåé€ããããšããããšãã§ããŸãïŒããšãã°ãå Žåã«ãã£ãŠã¯ãé·ãéé çªãåŸ ã£ãŠããã¡ãã»ãŒãžãæšãŠãããšãã§ããŸããé«ã確çã§ããã®åŠçã®çµæã¯ã ãã«ãäžèŠã«ãªãããã§ãïŒã
ããã«ãåäœã¯ãã¥ãŒã®æºæ¯ã ãã§ãªããããšãã°å¹³åã¡ãã»ãŒãžåŠçæéã«ãäŸåããå ŽåããããŸãã ãããã£ãŠãå¹³åæéãå¢å ãå§ããå Žåã¯ããã¥ãŒã®ãµã€ãºã匷å¶çã«åæžããŠããã¥ãŒã§é·æéãè²»ããããšãäœåãªããããã¡ãã»ãŒãžãä¿åããªãããã«ããããšãã§ããŸãã
SEDAã¢ãããŒãã®å©ç¹
SEDAã¢ãããŒãã®å®è£ ãéå ±æã¢ãŒããã¯ãã£ã䜿çšããå ŽåïŒããã³ãååãšããŠãåå¥ã®ã¹ããŒãžãšã³ãã£ãã£ãå¯å€ããŒã¿ãåé¢ããå¿ èŠããªãããã«äœ¿çšãããŸãïŒãSEDAã®å Žåããã«ãã¹ã¬ããããã°ã©ãã³ã°ãšåãå©äŸ¿æ§ããããŸãã¢ã¯ã¿ãŒã¢ãã«ãšåæ§ã«ãåæ£ã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããŸãã
ãã ããSEDAã¢ãããŒãã®æãéèŠãªå©ç¹ã¯ãåºæã®éè² è·ä¿è·ã§ãã ã¢ã¯ã¿ãŒã¢ãã«ã§ã¯ãã¢ã¯ã¿ãŒã®ãªãŒããŒããŒãã¯ã¢ãã¬ã¹è ±ã§ãã ããããSEDAã¢ãããŒãã§ã¯ãéçºè ã¯ããã«ãšã³ãã£ãã£ã¹ããŒãžãéè² è·ããä¿è·ããæšæºã¡ã«ããºã ã®1ã€ãéžæããããç¬èªã®æ¹æ³ãå®è£ ããŠäœ¿çšããå¿ èŠããããŸãã æãè¯å®çãªæ¹æ³ã§ãé«è² è·äžã§ã®ã¢ããªã±ãŒã·ã§ã³ã®å®å®æ§ãšå¿çæ§ã«åœ±é¿ããŸãã
ã¢ã¯ã¿ãŒã¢ãã«ãšSEDAã¢ãããŒãã®çµã¿åãã
ã¢ã¯ã¿ãŒã¢ãã«ãšSEDAã¢ãããŒããçµã¿åãããçç±
äžèŠãããšãã¢ã¯ã¿ãŒã¢ãã«ãšSEDAã¢ãããŒãã¯äºãã«ççŸããŠããããã«èŠãããããããŸããã ãããŠãã¢ã¯ã¿ãŒã¢ãã«ãŸãã¯SEDAã¢ãããŒãã䜿çšããŠãé©çšãããåé¡ã解決ã§ããŸãã ãã ããããã¯å®å šã«çå®ã§ã¯ãªãããããã®ã¢ãããŒãã®äž¡æ¹ãäžç·ã«äœ¿çšã§ããŸãã ããããç§ãã¡ãè¿œæ±ããç®æšãããããç解ããããã«ã¯ãå®éã«å¯ŸåŠããªããã°ãªããªã俳åªã¢ãã«ã®ããã€ãã®åé¡ã«è§Šããå¿ èŠããããŸãã
ã¢ã¯ã¿ãŒã¯éè² è·ããä¿è·ãããŠããŸãã
ã¢ã¯ã¿ãŒã¢ãã«ã®ç¹åŸŽã®1ã€ã¯ãéåæã¡ãã»ãŒãžã³ã°ã§ãã ããã«ãããã¢ã¯ã¿ãŒã䜿çšãããšãã«ãããããã¯ãå¿é ããããšã¯ã§ããŸããã ãããããã®è¯å®çãªæ©èœã«ã¯ç¬èªã®äŸ¡æ ŒããããŸããã¢ã¯ã¿ãŒã®ã¡ãã»ãŒãžãã¥ãŒã®ãµã€ãºã«å¶éã¯ãããŸããã ããã¯ãã¢ã¯ã¿ãŒBãã¡ãã»ãŒãžãåŠçãããããéãã¢ã¯ã¿ãŒAãã¢ã¯ã¿ãŒBã«ã¡ãã»ãŒãžãéä¿¡ããå Žåãã¢ã¯ã¿ãŒBã®ãã¥ãŒã®ãµã€ãºã¯åžžã«å¢å ããããšãæå³ããŸãã ããã«æªãããšã«ãã¢ã¯ã¿ãŒBããã®ã¡ãã»ãŒãžããã¢ã¯ã¿ãŒAããã ãã§ãªããã¢ã¯ã¿ãŒCãDãEãããã«ãªã¹ãã®ããã«äžãããé£ã³ãŸãã
ãã®ãããã¯ã«ã€ããŠã¯ã以åã®èšäºã®ããããã§è©³ãã説æããŸãã ã
ã泚æ äžè¬çã«ãã¢ã¯ã¿ãŒã®çä¿¡ãã¥ãŒã®å¶éãŸãã¯ç¡å¶éã®æ§è³ªã¯ãç¹å®ã®ãã¬ãŒã ã¯ãŒã¯ããã³ã©ã³ã¿ã€ã ã®æ©èœã§ãã ããšãã°ãSObjectizerã§ã¯ã åŠçãåŸ æ©ããŠããã¡ãã»ãŒãžã®æ°ã«å¶éã課ãããšãã§ããŸã ã ãã ããã»ãšãã©ã®å Žåãããã©ã«ãã§ã¯ãã¢ã¯ã¿ãŒã®ãã¥ãŒã®ãµã€ãºã¯åºå®ãããŠããŸããã
å€ãã®ä¿³åªã¯èª¿æŽãããå°é£ã§ãã
ã¢ããªã±ãŒã·ã§ã³ã«å€ãã®ã¢ã¯ã¿ãŒãããå Žåããããã®ã¢ã¯ãã£ããã£ã¯æéå ã«é ä¿¡ããããããã¢ããªã±ãŒã·ã§ã³ã¯çåœã®å åãèŠããªããªããŸãã ããšãã°ãDBMSãµãŒããŒã§ã¢ã¯ã¿ãŒã䜿çšããŠSQLã¯ãšãªãå®è¡ããåã¯ãšãªã1ã€ã®ã¢ã¯ã¿ãŒã«ãã£ãŠå®å šã«åŠçãããå Žåã®äžèšã®ã¢ãããŒãã«ã€ããŠèª¬æããŸããã ã¯ãšãªãã©ã¡ãŒã¿ãæ€èšŒããæäœã¯CPUã«å€§ããªè² è·ããããŸãããã¹ãã¬ãŒãžããããŒã¿ãäžããæäœã¯CPUã«è² è·ããããŸããããI / Oãç©æ¥µçã«äœ¿çšããå¯èœæ§ããããŸãã
ãã®ãããªãã¹ãŠã®ã¢ã¯ã¿ãŒãäœæ¥ã¹ã¬ããã®åãããŒã«ã«é 眮ãããšãé ããæ©ãããã»ãšãã©ãã¹ãŠã®ã¢ã¯ã¿ãŒãSQLã¯ãšãªã®ãã©ã¡ãŒã¿ãŒãæ€èšŒããããšããç¶æ³ãçºçããŸãã ãããã£ãŠãCPUã«ããã€ããããŒãããŸãã ãããŠããããã¯ãã¹ãŠããŒã¿ã®ãªããžããªã«ã¢ã¯ã»ã¹ããããšããI / Oæ©èœã«ééããŸãã åã®ããã«ãã¢ã¯ã¿ãŒã®äžéšã®ã¿ãCPUãããŒãã§ããããã«ããä»ã®éšåã¯I / Oã䜿çšããããã«ããŸãã ãããããã®ãããªèª¿æŽã«ã¯è¿œå ã®äœæ¥ãå¿ èŠã§ãããã¢ã¯ã¿ãŒã®åäœã®ããžãã¯ã¯æåã«å¿ èŠã ã£ããããè€éã«ãªããŸãã
èªç¶ãªãããã«ããã¯ãããããŸã
å€ãã®å Žåãã¢ããªã±ãŒã·ã§ã³ã«ã¯å®å šã«èªç¶ãªãããã«ããã¯ãããããŸãã å©çšå¯èœãªãã¹ãŠã®ã¢ã¯ã¿ãŒã«ããã«æäŸã§ããªãéåžžã«éããããªãœãŒã¹ã
ããšãã°ãã¢ã¯ã¿ãŒã¯æå·åæäœãå®è¡ããããã«ããŒããŠã§ã¢ã»ãã¥ãªãã£ã¢ãžã¥ãŒã«ïŒHSMïŒã䜿çšããå¿ èŠãããå ŽåããããŸãã HSM 1ã ãããžã®ã€ã³ã¿ãŒãã§ãŒã¹ã¯ãããããããã€ãã®ãµãŒãããŒãã£ã©ã€ãã©ãªã«ãã£ãŠè¡šãããHSMãšã®ãã¹ãŠã®äœæ¥ïŒåæåã䜿çšãåæå解é€ïŒãåæçã«å®è¡ãããããšãæå³ããŸãã
å¥ã®å žåçãªäŸïŒã¢ã¯ã¿ãŒã¯ããŒã¿ããŒã¹ãæäœããå¿ èŠããããããŒã¿ããŒã¹ãžã®äžŠåæ¥ç¶ã®æ°ã¯éåžžã«éãããŠããŸãã ããŒã¿ããŒã¹ãžã®äžŠåæ¥ç¶ã100ã®ã¿ã§ãã¢ã¯ã¿ãŒã10,000åã§ãããšããŸãã ãããŠãå šå¡ãããŒã¿ããŒã¹ãæäœããå¿ èŠããããŸãã
ãã®ãããªå Žåã¯ãã©ãã«ãããŠåºãªããã°ãªããŸããã HSMã§ã®äœæ¥ãæ åœããHSMã¢ã¯ã¿ãŒã玹ä»ã§ãããšããŸãã ãããŠãé©çšããããã¹ãŠã®ã¢ã¯ã¿ãŒã¯ãéåæã¡ãã»ãŒãžãä»ããŠåœŒãšéä¿¡ããå¿ èŠããããŸãããããã¯ç§ãã¡ãæãã»ã©äŸ¿å©ã§ã¯ãããŸããã ãŸãã¯ãããçš®ã®ããŒã¯ã³ã¡ã«ããºã ãå°å ¥ã§ããŸããã¢ããªã±ãŒã·ã§ã³ã¢ã¯ã¿ãŒã¯ããŒã¯ã³ãåä¿¡ããå¿ èŠããããŸããããã«ãããHSMãçŽæ¥æäœããæš©å©ãäžããããŸãã ã¢ã¯ã¿ãŒã¯HSMã§ã®ã¢ã¯ã·ã§ã³ãå®äºããåŸãããŒã¯ã³ãå¥ã®ã¢ããªã±ãŒã·ã§ã³ã¢ã¯ã¿ãŒã«å°éã§ããããã«ããŒã¯ã³ãè¿ãå¿ èŠããããŸãã
ãããã®ç¹æ®ãªã±ãŒã¹ã¯ãã¹ãŠæ·±å»ãªåé¡ã§ã¯ãããŸããã ãããã圌ãã¯ãçŽã®äžããå¿ããŠãããŸãã«ãæžè°·ãã§ããããšãå€æããŸããã ãããŠããããã®è¿åã«ã¯ãè¿œå ã®åªåãšå®è£ ã®è€éåãå¿ èŠã«ãªããŸãããæåã¯åçŽã§æçœã«èŠããŸããã
ã¢ã¯ã¿ãŒã¢ãã«ãšSEDAã¢ãããŒãã®çµã¿åããã¯äœãæäŸããŸããïŒ
ã¢ã¯ã¿ãŒã¢ãã«ã«åºã¥ããŠã¢ããªã±ãŒã·ã§ã³ãéçºãããšãã«ãSEDAã®ã¢ã€ãã¢ã䜿çšã§ããŸãã ãã®å Žåãèå°ã®æ¬è³ªã¯ä¿³åªã ãã«ãªããŸãã é©çšãããåé¡ã®å解äžã«ãSEDAã¢ãããŒãããéå§ããŸãããå解ã®çµæãšããŠåŒ·èª¿è¡šç€ºããã段éãã¢ã¯ã¿ãŒã®åœ¢ã§å®è£ ããŸãã
RDBMSã䜿çšããŠãã¢ã¯ã¿ãŒãä»ããŠSQLã¯ãšãªãåŠçããäŸãèŠãŠã¿ãŸãããã RDBMSãµãŒããŒã§ã¯ãSQLã¯ãšãªã®è§£æããã©ã¡ãŒã¿ãŒã®æ€èšŒãèšç»ã®æ§ç¯ããªããžããªããã®ããŒã¿ã®ååŸãã¯ãšãªã®æ¡ä»¶ãæºããããŒã¿ã®ãã§ãããçµæã®éä¿¡ãªã©ã®ã¹ããŒãžã¢ã¯ã¿ãŒã䜿çšã§ããŸãã ãããã®åã¢ã¯ã¿ãŒã¯ãã¢ã¯ã¿ãŒã®éåžžã®ã«ãŒã«ã«åŸã£ãŠæ©èœããŸããçä¿¡ã¡ãã»ãŒãžããªãéãã¹ããŒãžã¢ã¯ã¿ãŒã¯ç ã£ãŠããŸãã çä¿¡ã¡ãã»ãŒãžã衚瀺ããããšãã¢ã¯ã¿ãŒã¹ããŒãžãèµ·åããŠåŠçããŸãã
ãã®å Žåãç¡æã®è²»çšã¯ããããŸããããããã€ãã®çŽ æŽãããããŒãã¹ãåŸãããŸãã ããããããŒãã¹ãšãã®äŸ¡å€ã®ãªã¹ãã«ç§»ãåã«ã1ã€ã®éèŠãªç¹ã«æ³šæããå¿ èŠããããŸãã
ã¹ããŒãžã¢ã¯ã¿ãŒã¯ãç°ãªãç¬ç«ããã¢ããªã±ãŒã·ã§ã³æäœã«é¢é£ããã¢ã¯ã·ã§ã³ãå®è¡ããå¿ èŠããããŸãã ããšãã°ãSQLã¯ãšãªãå®è¡ããããã®ãã©ã³ãæ§ç¯ããããã®ã¢ã¯ã¿ãŒã¹ããŒãžã¯ãAliceã¯ã©ã€ã¢ã³ãããã®æ¿å ¥ã¯ãšãªãBobã¯ã©ã€ã¢ã³ãããã®æŽæ°ã¯ãšãªãããã³ã¯ã©ã€ã¢ã³ãããã®éžæã¯ãšãªã®èšç»ãæ§ç¯ã§ããå¿ èŠããããŸããã€ãã
ãããã£ãŠãã¢ã¯ã¿ãŒã¹ããŒãžã¯ãã¡ãã»ãŒãžã®éä¿¡è ãšã¡ãã»ãŒãžãé¢é£ããæäœã«é¢ããæ å ±ãä¿æããå¿ èŠããããŸãã ããã¯ãæ å ±ãããã«æ¬¡ã®æ®µéã«è»¢éããã¡ãã»ãŒãžã®éä¿¡è ã«åŠå®çãªçµæãéä¿¡ããããã«å¿ èŠã«ãªãå ŽåããããŸãã
å¶éã§ã¯ãã¢ã¯ã¿ãŒã¹ããŒãžã§ã¯ãåŠçãæãå¹æçã«ãªãããã«ãä¿çäžã®ã¡ãã»ãŒãžãã°ã«ãŒãåããæ©èœãå¿ èŠã«ãªãå ŽåããããŸãã ããšãã°ãRDBMSãµãŒããŒã®ã¯ãšãªãã©ã³ãæ åœããã¢ã¯ã¿ãŒã¹ããŒãžã®å Žåãæ¿å ¥ã¯ãšãªã®ãã©ã³ãäœæããæ¹ããéžæã¯ãšãªã®ãã©ã³ãäœæãããããã¯ããã«å®äŸ¡ã§ãã ãããã£ãŠããã®ãããªã¢ã¯ã¿ãŒã¯æåã«ãã¹ãŠã®æ¿å ¥èŠæ±ãåŠçããŠãããéžæèŠæ±ã®åŠçã«é²ãããšãã§ããŸãã ããããããã¯ãã¢ããªã±ãŒã·ã§ã³ãéåžžã«é«ãè² è·ã«çŽé¢ããå Žåã®å¶éã§ããããã¹ãŠããã³ãã¹ãŠã®äººãæé©åããå¿ èŠããããŸãã
ããŒãã¹1ïŒã¢ã¯ã¿ãŒã®ç·æ°ã®åæž
ããã¯çŽæã«åããããã«èããããããããŸãããäž»ãªè°è«ã®1ã€ã¯ãã¢ã¯ã¿ãŒã¢ãã«ã®ã»ãŒãã¹ãŠã®å®è£ ããæ°åäžãæ°çŸäžãããã«ã¯æ°åäžã®ã¢ã¯ã¿ãŒãäœæããå¯èœæ§ã«ã€ãªããããã§ãã ã¢ããªã±ãŒã·ã§ã³ã®100äžäººã®ä¿³åªãåºæ¿çã§ããã¿ãŒã³ãç Žããæ°ããèŠéãéããŠããããã«æããŸã...ããããããã¯åžžã«ããã§ã¯ãªããç§ãã¡èªèº«ã®çµéšããã¯ã俳åªã®æ°ãå°ãªãã»ã©è¯ããšããããšãããããŸããã
å°æ°ã®ã¢ã¯ã¿ãŒãå¶åŸ¡ããæ¹ãç°¡åã§ãã äœçŸãã®ã¢ã¯ã¿ãŒãåäœããã¢ããªã±ãŒã·ã§ã³èªäœã¯ãç£èŠãã¯ããã«ç°¡åã§ãã æ°çŸã®ãéããã¢ã¯ã¿ãŒã®äž»èŠãªãã€ã¿ã«ã€ã³ãžã±ãŒã¿ãZabbixãªã©ã®ããçš®ã®ç£èŠã·ã¹ãã ã«ãšã¯ã¹ããŒãããããŸããŸãªç£èŠã³ã³ãœãŒã«ãéç¥ã·ã¹ãã ãä»ããŠè¿œè·¡ããããšã¯éåžžã«å¯èœã§ãã ããããäœçŸäžãšããã軜ãã俳åªã®äž»ãªææšã§åãããšãããããšã¯ãã§ã«å°é£ã§ãã
å°æ°ã®ä¿³åªã®ä»äºã¯èª¿æŽã容æã§ãã ã¢ã¯ã¿ãŒAãšBãCPUããŠã³ãã§ããããšãããã£ãŠããå Žåãããããã«å¥ã ã®OSã¹ã¬ãããå²ãåœãŠããããã®åã¹ã¬ããããã®ã³ã¢ã«ãã€ã³ãããããšãã§ããŸãã I / Oã«ãã€ã³ããããéåæI / Oãå®è¡ããã¢ã¯ã¿ãŒCãDãããã³Eã«å¯ŸããŠã1ã€ã®å ±éã®äœæ¥ã¹ã¬ãããéžæã§ããŸãã ã¢ã¯ã¿ãŒãå°ãªãã»ã©ã誰ãããã€ãã©ã®ããã«ãã©ã®ãªãœãŒã¹ãæ¶è²»ãããã«ã€ããŠåæããã®ãç°¡åã«ãªããŸãã
ã泚æ åžžã«ä¿³åªã®æ°ãæžããããšã¯è¯ãããšã§ã¯ãããŸããã åæã«ååšããäœåãã®ã¢ã¯ã¿ãŒãéåžžãããå€ãã¿ã¹ã¯ããããããããŸããã ããšãã°ã.NETã®Orleansãã¬ãŒã ã¯ãŒã¯ã¯ãã«ããã¬ã€ã€ãŒã²ãŒã HaloïŒHalo 4ããã³Halo 5ïŒã«äœ¿çšãããåãŠãŒã¶ãŒã¯åå¥ã®ã¢ã¯ã¿ãŒãšããŠç»å ŽããŸãããããã¯ããã®ãããªåé¡ã解決ããå®å šã«åççãªã¢ãããŒãã®ããã§ãã ãã ããå Žåã«ãã£ãŠã¯ãåæã«çããŠãã俳åªãå°ãªãã»ã©ç°¡åã§ãã
ããŒãã¹2ïŒãããã«ããã¯ãã¯èªç¶ã«è¡šçŸããã
ã¹ããŒãžã¢ã¯ã¿ãŒã䜿çšãããšãæ¢åã®ãããã«ããã¯ãïŒã€ãŸãããã¹ãŠã®çããŠããã¢ã¯ã¿ãŒãåæã«å ±æã§ããªããªãœãŒã¹ïŒãåçŽãã€èªç¶ã«ã¹ããŒãžã¢ã¯ã¿ãŒãšããŠè¡šçŸãããããšãããã«ããããŸãã ãããŠããã®ãããªãããã«ããã¯ãã§ã®äœæ¥ã¯ç¹å¥ã§ã¯ãªããªããŸãã
ããšãã°ãåäžã®HSMãšHSMæ©èœãå¿ èŠãšããå€æ°ã®ã¢ããªã±ãŒã·ã§ã³ã¢ã¯ã¿ãŒãããå Žåãåã¢ã¯ã¿ãŒã¯HSMãžã®ã¢ã¯ã»ã¹ããªã¯ãšã¹ããããã®ã¢ã¯ã»ã¹ãèš±å¯ããããŸã§åŸ æ©ããåŸ æ©ã¿ã€ã ã¢ãŠããªã©ãå¶åŸ¡ããå¿ èŠããããŸãã ããã¯ãã¹ãŠãé©çšãããã¢ã¯ã¿ãŒã®å®è£ ãè€éã«ããŸãã
ããããæå·åæäœïŒããšãã°ãçºä¿¡ããã¥ã¡ã³ãã®æå·åãšçœ²åïŒãå®è¡ãã段éãã察å¿ãã段éã¢ã¯ã¿ãŒã«ãã£ãŠè¡šãããå Žåã次ã®ããã«ãªããŸãã
- ãã®ã¢ã¯ã¿ãŒã¹ããŒãžã¯ãHSMã«æä»çã«ã¢ã¯ã»ã¹ã§ããŸããããã¯ãå®è£ ãšãã®åŸã®ã¡ã³ããã³ã¹ã«éåžžã«äŸ¿å©ã§ãã
- ãã§ãŒã³ã®ã¹ããŒãžã¢ã¯ã¿ãŒã¯ãHSMã䜿çšããæ©èœããŸã£ããæ°ã«ããŸããã 圌ãã¯åã«çºä¿¡ææžãæºåããæå·åããã³çœ²åããå¿ èŠããããŸãããã®åŸãHSMãææããèå°ä¿³åªã«ææžã転éãã次ã®ææžã®æºåã«é²ã¿ãŸãã
ãã®çµæãã¹ããŒãžã¢ã¯ã¿ãŒã䜿çšããŠé©çšãããããžãã¯ã¯ããã¹ãŠã®é©çšãããåŠçãç¬ç«ããŠå®è¡ããã¢ã¯ã¿ãŒã«é©çšãããããžãã¯ãããå€§å¹ ã«åçŽåã§ããŸãã ã¹ããŒãžã¢ã¯ã¿ãŒéã®ã¡ãã»ãŒãžéä¿¡ã¯ããããã«ããã¯ããããå Žåãšãªãå Žåã®äž¡æ¹ã§åãããã«èŠããããã§ãã
ããŒãã¹çªå·3ïŒäžæ¬æäœã䜿çšããæ©èœ
ã¢ã¯ã¿ãŒã§MQãããŒã«ãŒãå®è£ ããŠãããšæ³åããŠãã ããã ãããŠãåã¢ã¯ã¿ãŒã¯èªåã®ãããã¯ãåŠçãã責任ããããŸãïŒ1ã€ã®ãããã¯== 1ã€ã®ã¢ã¯ã¿ãŒïŒã ãŸããæ°ããã¡ãã»ãŒãžãããŒã¿ããŒã¹ã«æžã蟌ãããšã«ãããå ¬éãããã¡ãã»ãŒãžã®æ°žç¶æ§ã確ä¿ããå¿ èŠããããŸãã ã€ãŸããã¢ã¯ã¿ãŒãããã¯ã¯æ°ããçºè¡ã³ãã³ããåä¿¡ããŸãããæåã«ããŒã¿ããŒã¹ã«ã¡ãã»ãŒãžãä¿åããå¿ èŠãããããã®åŸã§ã®ã¿ç¢ºèªä»ãã§publish_ackãéä¿¡ã§ããŸãã
åã¢ã¯ã¿ãŒãããã¯ãããŒã¿ããŒã¹ã§åå¥ã«æäœãå®è¡ããå ŽåãããŒã¿ããŒã¹ã§å€æ°ã®å°ããªãã©ã³ã¶ã¯ã·ã§ã³ãå®è¡ãããç¶æ³ãçºçããå¯èœæ§ããããŸãïŒåãããŒãã«ãžã®åäžæ¿å ¥ãå€ããåãããŒãã«ããã®åäžåé€ãå€ãïŒã è¯ããªããã®ã
ãã ãããããªãã·ã¥æäœãå®è¡ããå¥ã®ã¢ã¯ã¿ãŒãããå Žåãäžæ¬æäœã«ãã£ãŠããŒã¿ããŒã¹ããŒãã«ãžã®è€æ°ã®æ¿å ¥ãäžåºŠã«å®è¡ããããšãå¯èœã«ãªããŸãã MQãããŒã«ãŒã®ã¹ã«ãŒããããåäžããããšãã芳ç¹ããèŠããšãå€ãã®ã·ã³ã°ã«ã€ã³ãµãŒããããã¯ããã«æçã§ãã
ããŒãã¹æéïŒããã«èŒ»èŒ³å¶åŸ¡ãªã
ã¢ã¯ã¿ãŒã¢ãã«ã«åºã¥ãSEDAã¢ãããŒãã®ã¢ã€ãã¢ã䜿çšãããããã¹ããŒãžã¢ã¯ã¿ãŒãSEDAåºæã®éè² è·ããä¿è·ããããã®æ¢æã®æ段ããããŸããã ãããã£ãŠãã¹ããŒãžãã¢ã¯ã¿ãŒã®åœ¢ã§ç¡é çã«é 眮ããã¹ããŒãžã¢ã¯ã¿ãŒãäºãã«èªç±ã«ããŒãã§ããããã«ãããšãããã¹ããŒãžãåŸç¶ã®ã¹ããŒãžã¢ã¯ã¿ãŒãå®è¡ã§ãããããã¯ããã«å€ãã®äœæ¥ãçæããç¶æ³ã§ããã«èªåãèŠã€ããããšãã§ããŸãã
ãããã£ãŠãã¹ããŒãžã¢ã¯ã¿ãŒãéè² è·å¶åŸ¡ããä¿è·ããããšã«æ³šæããå¿ èŠããããŸãã ãããŠãäœããã®ãã£ãŒãããã¯ïŒããã¯ãã¬ãã·ã£ãŒïŒã®å®è£ ã«å°æããå¿ èŠããããããããŸããã
ååãšããŠãè€éãªããšã¯äœããããŸããã éè² è·ã«å¯Ÿããä¿è·ã«é¢ããŠã¯ãç°ãªãã³ã³ããã¹ãïŒç°ãªãã¯ãŒã¯ã¹ã¬ããïŒã§åäœããã¢ã¯ã¿ãŒ-ã³ã¬ã¯ã¿ãŒãšã¢ã¯ã¿ãŒ-ã¢ã¯ã¿ãŒã®ã«ããã«ãèªåèªèº«ã蚌æããŠããŸãã
ã³ã¬ã¯ã¿ãŒã¢ã¯ã¿ãŒã¯ã¡ãã»ãŒãžãåä¿¡ããåºå®ãµã€ãºã®å éšãã¥ãŒã«ã¡ãã»ãŒãžãèç©ããŸãã ãã®ãã¥ãŒããã£ã±ãã®å Žåãã³ã¬ã¯ã¿ãŒã¢ã¯ã¿ãŒã¯ãã¢ããªã±ãŒã·ã§ã³ã¢ããªã±ãŒã·ã§ã³ããžãã¯ã«é©ããã¢ã¯ã·ã§ã³ãå®è¡ã§ããŸããå€ãã¡ãã»ãŒãžã®äžéšãç Žæ£ãããå¥ã®ã¢ã¯ã¿ãŒã«ã¡ãã»ãŒãžã転éããããŸãã¯åŠå®å¿çãéä¿¡ããã
ã¢ã¯ã¿ãŒã³ã¬ã¯ã¿ãŒã¯ãã¡ãã»ãŒãžãè€è£œã§ããç¶æ³ã§éåžžã«åœ¹ç«ã¡ãŸãã ããšãã°ãã¢ã¯ã¿ãŒAã¯Reqã¡ãã»ãŒãžãéä¿¡ããRespãåä¿¡ãããªãå ŽåãRespã5ç§éå¿çããã®ãåŸ ã¡ãŸãããã®åŸãAã¯Reqãéä¿¡ããŸãã ã¢ããªã±ãŒã·ã§ã³ãè² è·ã®ããã£ãç¶æ ã§å®è¡ãããReqåŠçã®é床ãäœäžãå§ãããšãAã¯æåã®Respã«å°éããåã«è€æ°ã®Reqãéä¿¡ã§ããŸãã ãã¹ãŠã®èŠæ±ãã¢ã¯ã¿ãŒ-ã³ã¬ã¯ã¿ãŒãééããå Žåãã¢ã¯ã¿ãŒ-ã³ã¬ã¯ã¿ãŒã¯éè€ããèŠæ±ãèå¥ããŠæé€ã§ããå ŽåããããŸãã
ã¢ã¯ã¿ãŒ-ããã©ãŒãã³ã¹ã¯ãã³ã¬ã¯ã¿ãŒ-ã¢ã¯ã¿ãŒããèç©ãããã¡ãã»ãŒãžããããã§åãåããŸãã 俳åª-俳åªã¯æ¬¡ã®ããã¯ãåŠçããåŸã次ã®ããã¯ãªã©ã®ããã«ã³ã¬ã¯ã¿-俳åªã«åãããŸãã
ãã®2èŠçŽ ã¹ããŒã ã¯ã·ã³ãã«ã§ä¿¡é Œæ§ãé«ããããã«ç£èŠãéåžžã«ç°¡åã§ãïŒèç©ãããã¡ãã»ãŒãžã®æ°ã次ã®ã¡ãã»ãŒãžããã¯ã®åŠçæéãªã©ã®ãã©ã¡ãŒã¿ã¯ãZabbixãªã©ã®ããŒã«ã§ç£èŠçšã«åãåºãããšãã§ããŸãïŒã ãã ããæåã§å®è£ ããå¿ èŠããããŸãã åãC ++ã§ããã³ãã¬ãŒãã¯ã©ã¹ã䜿çšããŠããã®ãããªã³ã¬ã¯ã¿ãŒã¢ã¯ã¿ãŒãéçºããéã®ã³ããŒãšè²Œãä»ããæžããããšãã§ããŸãã ããã«ãããããããããã¯ãã¹ãŠã¢ããªã±ãŒã·ã§ã³éçºè ãè¡ãã¹ãã§ãããããã¯éçºæ®µéãšã¡ã³ããã³ã¹æ®µéã®äž¡æ¹ã§ã®ã³ã¹ãã§ãã
SEDAã®ã¢ãããŒããéåžžã«åªããŠããå Žåããªãããã䜿çšããã¢ã¯ã¿ãŒããŸã£ãã䜿çšããªãã®ã§ããïŒ
å®éã«ã¯ãããã¯ã«ããŽãªããã®è³ªåã§ããã ååã眮æããã¢ãããŒããéåžžã«åªããŠããå Žåããªãããã䜿çšããªãã®ã§ããïŒã
ã©ã®ã¢ãããŒãã«ãé·æãšçæããããŸãã ãããã£ãŠãäžéšã®ãããã§ã¯ãå©ç¹ãæ¬ ç¹ãã¯ããã«äžåããããçŽç²ãªåœ¢ã®ãã®ã¢ãããŒãã®ã¿ã䜿çšã§ããŸãã ä»ã®ãããã§ã¯ãé·æãšçæã®æ¯çã¯ããã»ã©æçœã§ã¯ãªããããã¢ãããŒããæåŠããããæ¢åã®åŒ±ç¹ãè£ãããã«ä»ã®ã¢ãããŒãããã®åçšã§è£å®ããŸãã
ããã¯ãã¢ã¯ã¿ãŒã®ã¢ãã«ã®å ŽåãšãŸã£ããåãã§ããã©ããã§ååã§ãã ã©ããã«ãã®æ¬ ç¹ã«å¯ŸåŠããå¿ èŠããããŸãã ã©ããã§äœ¿çšããŸãã
SEDAã¢ãããŒãã§ãåæ§ã§ãã ã©ããã§ããã®ã¢ãããŒãã䜿çšããŠã¢ããªã±ãŒã·ã§ã³å šäœãéçºã§ããŸãã ããããã»ãšãã©ã®å Žåã1ã€ã®SEDAã¢ãããŒãã§ã¯ååã§ã¯ãããŸããã ã¢ããªã±ãŒã·ã§ã³ã®äžéšã¯ãã¹ããŒãžã³ã°ãããã¢ããªã±ãŒã·ã§ã³ã®æäœã§æ確ãã€ç°¡åã«è¡šç€ºãããããšã¯ãããŸããã ãããŠãSEDAã®ã¢ãããŒããå¥ã®ãã®ã§è£å®ããå¿ èŠããããŸãã ããšãã°ãåã俳åªã
ããã«ãå®éã«ã¯ãçåãçããŸããå®è£ ã¬ãã«ã§ã®ãšã³ãã£ãã£æ®µéã¯äœã§ããïŒ åã¹ããŒãžã¯OSã¹ã¬ããã«ãªããŸããïŒ ãŸãã¯ãã³ãŒã«ããã¯ã¡ãœãããæã€ãªããžã§ã¯ãã«ãªããŸããïŒ ã¹ããŒãžããžãã¯ã¯ã¹ããŒããã·ã³ã«ãã£ãŠèšè¿°ãããŸããïŒ ã¹ããŒãžã¯ãåŠçã®ããã®æ°ããèŠæ±ããããŸã§ãããã€ãã®ã¢ã¯ã·ã§ã³ãå®è¡ããå¿ èŠããããŸããããŸãã¯ã¹ããŒãžã¯æ°ããã¢ããªã±ãŒã·ã§ã³ãåŸ æ©ããå¿ èŠããããŸããïŒ ãã®çµæãã³ãŒãã§ã¯ããšã³ãã£ãã£æ®µéã¯ãããã¡ã€ã«ã®ã¿ã§åãã¢ã¯ã¿ãŒã«ãªãããšãå€æããå ŽåããããŸãã ããã ãšããã°ãã¢ã¯ã¿ãŒã®ã¢ãã«ãšãã®å®è£ ã¯ããšã³ãã£ãã£æ®µéã®å®è£ ã®ããã®æ¢è£œã®ããŒã¹ãšããŠåçŽã«é Œã¿ãŸãã
ç§èªèº«ã®çµéšããã®å¿åã®äŸ
ç§ãã¡èªèº«ã¯ãã¢ã¯ã¿ãŒã¢ãã«ãšSEDAã¢ãããŒããçµã¿åãããå©ç¹ãããã«ã¯ç解ãããç¹å®ã®æ°ã®ã³ãŒã³ãååŸããããšãã§ããŸããããã®ãã¡ã®ããã€ãã¯ã以åã®2ã€ã®èšäºïŒ No. ããããããã2ã€ã®ã¢ãããŒãã®çµã¿åãããéå§ãããšãã§ããæ¡ä»¶ãæºãããã¢ãã«ãããã«æ±ºå®ããããšã¯ã§ããŸããã§ããã
ãã®çµæãSObjectizerã䜿çšããããããžã§ã¯ãã®1ã€ïŒããã«ããã°ã©ã ããšåŒã°ããïŒã§ã次ã®äœæ¥ã¹ããŒã ã«æ±ºããŸããã
ã¢ããªã±ãŒã·ã§ã³ã¯ããã€ãã®ã¡ãã»ãŒãžãããŒãåŠçããŸããã åã¹ã¬ããã«ã¯åãã¿ã€ãã®ã¡ãã»ãŒãžããããŸããã ããã€ãã®å ±éã®æ©èœãšé¡äŒŒç¹ããããŸããããåã¹ããªãŒã ã®åŠçã¯ç¬èªã®æ¹æ³ã§æ§ç¯ãããŸããã
åã¹ããªãŒã ã®åŠçã«ã¯ããã€ãã®æ®µéããããŸããã ( ). - 250ms ( 50ms 2s). - , - , , , , , ( ). , . , 200ms 250ms . - 50ms . , , 300ms 250ms, .
- , -. - - , «» , -. - (.. , ). -, -, , . .
, , . , , . , , . , - . , , .
ãããã«
SEDA-. , - . , , , , ( , , , Akka Quasar JVM). .