åæ£ã³ã³ã»ã³ãµã¹ãå¿ èŠãªçç±ãšãã®å 容
å€ãã®å Žåãåæ£ã·ã¹ãã ã®å®è¡äžïŒãŠãŒã¶ãŒãªã¯ãšã¹ããåæ£ã¹ãã¬ãŒãžã·ã¹ãã ãªã©ãåŠçãããµãŒããŒãè€æ°ããã ãïŒãäžè¬çãªæ±ºå®ãäžãå¿ èŠããããŸããããšãã°ãã¯ã©ã¹ã¿ãŒã¬ãã«ã®ã·ã³ã°ã«ãã³ãµãŒãã¹ãå®è¡ãããµãŒããŒãšããããèœã¡ããšãã«ç§»è¡ããå ŽæãµãŒããŒã ãã®ã¿ã¹ã¯ã¯ã決å®ã®èª¿åè ïŒç®¡çãµãŒããŒïŒã®ååšäžã§åçŽã«è§£æ±ºãããŸãã åé¡ã¯ãã¢ãŒãã¿ãŒãåäžã®åŽ©å£ç¹ã«ãªããã¢ãŒãã¿ãŒã®é害ãã·ã¹ãã ã®å®å šãŸãã¯éšåçãªåäœäžèœã«ã€ãªããå¯èœæ§ããããã·ã¹ãã ã®ããã©ãŒãã³ã¹ã®åŸ©å ãšåŸ©å ã«ã¯æåã®ä»å ¥ãå¿ èŠã«ãªãããšã§ãã æããã«ãåé¡ã«èæ§ã®ããã·ã¹ãã ã¯ãå ±éã®åé¡ã«ã€ããŠåæããããšãã§ããå¹³çãªåå è ã§æ§æãããã¹ãã§ãã éåžžã亀æžã®çµæãšããŠãã¢ãŒãã¿ãŒãéžã°ãïŒãªãŒããŒããã¹ã¿ãŒãšããçšèªã䜿çšããŸãïŒãäœæ¥äžã«åœŒãéããŠãããªãåé¡ã決å®ãããŸãã
ã¬ã¹ãªãŒã©ã³ããŒãã¯ããšããšãä¿¡é Œæ§ã®äœãéä¿¡ã䌎ãåæ£ã·ã¹ãã ã§ã¯ã³ã³ã»ã³ãµã¹ãäžå¯èœã§ããããšãæ°åŠçã«å³å¯ã«èšŒæãããã£ãã®ã§ããããã®ãããªã³ã³ã»ã³ãµã¹ãéæããããã«Paxosã¢ã«ãŽãªãºã ãçºæãã蚌æããŸããã ããšãã°ã ãŠã£ãããã£ã¢ã«ããã¢ã«ãŽãªãºã ã®èª¬æã¯ãäžèŠåçŽã§çãèŠããŸãããç解ããã®ã¯å®¹æã§ã¯ãªããå®è·µããã®ã¯ããã«å°é£ã§ãã
ãã®ã¢ã«ãŽãªãºã ã«ã¯éèŠãªå¶éããããŸãã1ã€ã®å€ã®ã¿ãéžæããããã»ã¹ã«ã€ããŠèª¬æããŸããå®éã«ã¯ãå€ãã®æ±ºå®ãè¡ãå¿ èŠãããã次ã®åã±ãŒã¹ã§ã¯ã¢ã«ãŽãªãºã ã®æ°ããã€ã³ã¹ã¿ã³ã¹ãäœæããå¿ èŠããããŸãã ãŸããã·ã¹ãã ã®åå è ã¯ãã¶ã³ãã³æ§åŒã§è¡åããªããšæ³å®ãããŸãã çŽæãå®ããèåœã®ããŒã¿ãæäŸããªãã§ãã ããïŒã¹ããŒãªãŒã¯ããããŸãããããã¶ã³ãã³ã®è©å€ã¯ãŸããŸãã ã£ããšæããŠããŸãïŒ
éžæãšåœ¹å²ã«ã€ããŠ
ã³ã³ã»ã³ãµã¹ã¢ã«ãŽãªãºã ã®ã³ã³ããã¹ãã§ã®ãéžæãïŒãœãªã¥ãŒã·ã§ã³ã®éžæã䟡å€ã®éžæïŒã®æŠå¿µã¯ãæ¥åžžãšã¯ç°ãªããŸãã å®ç掻ã§é·æãšçæãæ¯èŒããå Žåãã³ã³ã»ã³ãµã¹ã¢ã«ãŽãªãºã ã®å Žåãåçã®ãªãã·ã§ã³ããéžæãè¡ãããŸãã ä»»æã®å€/ãœãªã¥ãŒã·ã§ã³ãé©åã§ãããäž»ãªããšã¯ãå€ãã®ææ¡ããããã®ã®ã©ãã決å®ããããšã§ãã
ããã¯ã3人ãšããªãã®å人ããããã§ãªã¢ã«æ¥ãŠããã¶å šäœãåããããïŒãŸãã¯æªãïŒã§ããã3ã€æ³šæãã倧ããªãã¶ãéžæããããšãããšããŠã§ã€ã¿ãŒã ããããªãã«è¿ã¥ããã¡ãã¥ãŒãå°æããŠèŠç¶ããã®ãšæ¯èŒã§ããŸãã é£æ¥ããããŒãã«ãããããããããããŒããããæã£ãŠãé ãããªãã§ãä»ã®ãã¹ãŠãããæªããªãã-ããã¯ææ¡ã§ãããææ¡è ãææ¡ããŸããã ããªãã®äžäººã圌ã®è©±ãèããŠããOKãããããã«ããŸãããããšèããŠããŸãã 圌ã¯åãå ¥ãè ã§ããã ç³ãåºã åãå ¥ãããšããã§ãã å¥ã®ããŒãã«ã®åŸããã圌ãã¯å«ã¶ïŒã圌ãã¯ããªãã«äžåºŠç®ã®ããšãèšã-ãã«ã¬ãªãŒã¿ãåããç§ãã¡ã«ãã§ã«æ³šæãåãåãããã-ããã¯ããäžã€ã®ç³ãåºã§ããããããŠãäžåºŠç®ã®ããªããã¯ææ¡çªå·ã§ããããã«ã¬ãªãŒã¿ã¯æã®å€ïŒå€ïŒã ãã®åŸããŠã§ã€ã¿ãŒã¯ããªãã¡ãŒãåãå ¥ãã人ã«è³ªåãå§ããŸãã 圌ã¯ããleanããŠãããããªãã®å€§å€æ°ãåãç³ãåºãåãå ¥ããå ŽåïŒãç§ã¯ããªãã«3åç®ãèšããŸãâãã«ã¬ãªãŒã¿ãïŒããã®ç³ãåºã¯éžã°ãããšåŒã°ã ã倧å€æ°ããŠã§ã€ã¿ãŒã«éç¥ããå ŽåããŠã§ã€ã¿ãŒã¯ç¥ã£ãŠããŸã ïŒéžæããå€ã«ã€ããŠåŠç¿ãã泚æãåãå ¥ããããšãã§ããããã«ãªããŸãã ãããã3çªç®ã®æãåãå ¥ãã人ã®1人ãã¹ããŒããã©ã³ã«åŒã£ããã£ãŠããããŠã§ã€ã¿ãŒã®è³ªåã«å¿çããŸããã
å€ãéžæãããŸãããããããèªèããããšã¯äžå¯èœã§ã-çŸå®ã®äžçã«æ®ã£ãŠãã2人ã®å人ã¯ççŸããçããäžããŸãã 次ã®äº€æžã©ãŠã³ããå§ãŸããããããæ°ããææ¡ãåãå ¥ããããã¹ããŒããã©ã³ã«ãã ãã£ãåå è ã¯Habrãèªã¿ç¶ããŸãã ãããã£ãŠãæ£ããã³ã³ã»ã³ãµã¹ã¢ã«ãŽãªãºã ã¯ã次ã«éžæãããå€ãéžæãããå€ãšåããŠäžèŽãããããªããŽã·ãšãŒã·ã§ã³ã«ãŒã«ãå®çŸ©ããŸãã
ããäžåºŠèŠãŠãã ãããããã¯éåžžã«éèŠã§çµ¶å¯Ÿã«çŽ æŽãããç¬éã§ãïŒã·ã¹ãã ã®ç¶æ ïŒåãå ¥ããããå€ïŒã¯ããŒãéã§åé ãããŸã-ååä¿¡è ã¯åãå ¥ããææ¡ã«ã€ããŠã®ã¿ç¥ã£ãŠãããäžè¬çãªå€ãéžæãããŠããŸãããç¥ãããšãäžå¯èœã§ãããç¥ãããšããã§ããªãç¶æ³ãçºçããå¯èœæ§ããããŸãäœããéžæãããŠãããã©ããã ãã®å Žåã亀æžã¯ç¶ç¶ãããŸãã ããããPaxosã¯ãåãå ¥ãå€ã®ã»ãšãã©ã«ãã£ãŠéžæããã次ã®å€ããéžæãããæåã®å€ãšäžèŽãããããªãã®ã§ãã äžåºŠéžæãããšãéžæã¯å€æŽãããŸããã
ããã§ãçšèªãšåœ¹å²ãç解ããŸããã
- æäŸ - ææ¡ãè¡ããŸãã
- Acceptors-ãªãã¡ãŒãåãå ¥ããåãå ¥ãããããã®ïŒ numberãšvalue ïŒãèšæ¶ããŸãã ãã®å Žåããã¹ãã¯æåã«åãåã£ãææ¡ãåãå ¥ããéžæããã§ã«è¡ãããŠããŠãåŸç¶ã®ææ¡ãåãå ¥ããŸãã
- èªè -ã©ã®ææ¡ãéžæããããã確èªããŸãïŒã»ãšãã©ã®åå è ã«åãå ¥ããããŸããïŒã
å®éã«ã¯ã圹å²ãçµã¿åãããããšãã§ããŸããããšãã°ããµãŒããŒãçžäºã«ãªãŒããŒãšããŠéžæããããšã«ã€ããŠè©±ãåãå ŽåãåãµãŒããŒã¯ãªãŒããŒãšããŠèªããæäŸãããªãã¡ãŒïŒç¬èªã®ãªãã¡ãŒãå«ãïŒãåãå ¥ããæçµçã«èª°ãèŠã€ããå¿ èŠããããŸãéžã°ããŸããã
ã»ãšãã©ã«ã€ããŠ
éåæ°ã¯ãåå以äžããã€ãŸã 2N + 1ããã®N + 1ïŒããã³2NãããïŒä»¥äžã
å€æ°ã«ããåãå ¥ãã®èŠä»¶ã¯æããã§ãïŒå€ã®éžæãå°æ°ã®åãå ¥ãè ïŒæ£ç¢ºã«ã¯åå以äžïŒã«ããåãå ¥ããå¿ èŠãšããå Žåãåæã«è€æ°ã®ç°ãªãå€ãéžæããã®ã劚ãããã®ã¯ãããŸããã ã³ã³ã»ã³ãµã¹ã¯åŸãããŸããã å€æ°æŽŸãæ§æãã2ã€ã®ã»ããã空ã§ãªã亀差ç¹ãæã£ãŠãããšäŸ¿å©ã§ãã
ãã®å Žåããã¹ãŠã®åä¿¡è ãéžæã«åå ããå¿ èŠã¯ãããŸãããæ®ãã®åä¿¡è ã誀åäœããŠããå¯èœæ§ããããåä¿¡è ãšã®éä¿¡ãåæãããŠããå¯èœæ§ããããŸãã ãããã£ãŠã2N + 1人ã®åå è ã®ã·ã¹ãã ã¯ãN人ã®å€±æã«èããããšãã§ããŸãã
ã°ããŒãã«æéåæ£ã·ã¹ãã
ãªãã¡ãŒçªå·ã«ã€ããŠã¯ãã§ã«èšåããŸããã åææ¡ã«ã¯çªå·ããããŸãã ã©ã³ããŒãã®èª¬æã§ã¯ãããã¯æ¬¡ã®ãããªèªç¶æ°ã§ãã
- çªå·ã¯äžæã§ãããåãªãã¡ãŒã«ã¯ç¬èªã®çªå·ããããŸãã
- å ¥æè ã¯ãåŸç¶ã®ãªãã¡ãŒããšã«å€§ããªæ°å€ã䜿çšããŸãã
次ã®äŸãã¯ãã¢ã«ãŽãªãºã ãç解ããã®ã«åœ¹ç«ã¡ãŸããïŒçªå·ã¯åºæ¬çã«ææ¡ã®ã¿ã€ã ã¹ã¿ã³ãã§ãããã¿ã€ã ã¹ã¿ã³ãã¯aïŒåæã«2ã€ã®æãäœæïŒçºè¡ïŒã§ããªãããã«èšèšãããåæ£ã·ã¹ãã ã®ã°ããŒãã«åææéãèšå®ããŸããbïŒ2ã€ã®ææ¡ã®ã©ã¡ãããåŸã§ãè¡ãããããç解ã§ããŸãã ããã€ãã®ææ¡ãåãå ¥ãããã¹ãã¯ãåãå ¥ããããææ¡ãããæ©ããïŒãéå»ãããã®ææ¡ïŒãããææ¡ãç¡èŠããŸãã
å®éã«ã¯ããªãã¡ãŒçªå·ã¯ãç¹å®ã®ãµãŒããŒã®ãªãã¡ãŒã«ãŠã³ã¿ãŒã®å€ãšãµãŒããŒèå¥åã®ãã¢ã§æ§æãããŸãã
æ£ããã¢ã«ãŽãªãºã ãæ§ç¯ããŸã
çªå·mããã³å€vã®ææ¡ã倧å€æ°ã®ãã¹ãã«ãã£ãŠåãå ¥ããããå Žåãå€vãéžæãããŸãã ãã®åŸãåŸç¶ã®éžæå€ïŒã»ãšãã©ã®åä¿¡è ãåãå ¥ããïŒã¯ãéžæãããvãšäžèŽããã¯ãã§ãã
ãã®èŠä»¶ã¯ã vã®å€ãéžæãããåŸãã¢ã¯ã»ãã¿ãŒãvã«çããå€ã®ãªãã¡ãŒã®ã¿ãåãå ¥ããå Žåã«æºããããšãã§ããŸãã
ã¢ã¯ã»ãã¿ãŒã¯ããªãã¡ãŒåŽãæäŸãããã®ãåãå ¥ããŸãããããã£ãŠãçªå·n> mã®ãã¹ãŠã®ãªãã¡ãŒã®ãã¹ãŠã®ãªãã¡ãŒåŽã以åã«éžæããå€vã®ã¿ãæäŸããå Žåãåè¿°ã®èŠä»¶ãé çªã«æºããããŸãã
åž°çŽæ³ã«ãã£ãŠæåŸã®ã¹ããŒãã¡ã³ãã蚌æããŠãããšä»®å®ããåž°çŽé·ç§»ãè¡ãããã«äœãæ¬ ããŠããããç解ããããšããŸãã
æïŒmãvïŒ -ãéžæãããŸããã 倧å€æ°ã®ãã¹ãã§æ§æãããCãå€æ°ããããããã®åãã¹ãã¯ãªãã¡ãŒïŒmãvïŒãåãå ¥ããŸããã ãŸããåž°çŽæ³ã®ä»®èª¬ããã mããn-1ãŸã§ã®ç¯å²ã®æ°åãæã€ãã¹ãŠã®æã®å€ã¯v ïŒ*ïŒã§ããããšãããããŸãã 次ã«ãæ°å€nã®æã®å€ãvã«ããå¿ èŠããããŸãã
ãã¹ãã®å€§éšåã§æ§æãããã»ããSãååšãããã®ã»ãããããã¹ããåãå ¥ããæåŸã®æïŒæ倧æ°ãnæªæºïŒã®æå³ãèŠã€ããããšãã§ãããšä»®å®ããŸãã ãã®ãæ倧ãæã®æ°ãkãšããŸãããã ã»ããSã«ã¯ãã»ããCããå°ãªããšã1ã€ã®åä¿¡aãå«ãŸããŠãããããæ°kã¯ãåä¿¡aã«ãã£ãŠæåŸã«åãå ¥ãããããªãã¡ãŒã®æ°ä»¥äžã«ãªããåãå ¥ããããaã®æåŸã®æã®æ°ã¯ã m ïŒå€ãéžæãããç¬éïŒä»¥äžã«ãªããŸãã ã k> = mã§ãããããïŒ*ïŒã«ãããækã®å€ã¯ä»¥åã«éžæãããvã§ãã ãããã䜿çšããŠæïŒnãvïŒãçæããŸãã ãããã£ãŠãéåSã®ååšãä¿èšŒã§ããå Žåãããã¯èªå°é·ç§»ãæäŸããŸãã
å³å¯ãªæ°åŠèšèªã§ã¯ãLamportã«ãã£ãŠæ¬¡ã®ããã«å®åŒåãããŸãããèªå°é·ç§»ãçºçããã«ã¯ã次ã®äžå€åŒãæºããããå¿ èŠããããŸãã
ä»»æã®vããã³nã«ã€ããŠãæïŒnãvïŒãäœæïŒçºè¡ïŒããããšãåä¿¡è ã®éåæ°ã§æ§æãããã»ããSãååšãã2ã€ã®ãã¡ã®1ã€ãçã«ãªããŸããïŒaïŒã»ããSã®åä¿¡è ã¯ã næªæºã®æ°ãŸãã¯ïŒbïŒ vã¯ãã»ããSããã®åä¿¡è ã«ãã£ãŠåãå ¥ãããããã¹ãŠã®ãªãã¡ãŒã®äžã§ã næªæºã®æ倧æ°ãæã€ãªãã¡ãŒã®å€ã§ãã
äžèšã®ã»ããSã®ååšãä¿èšŒããããã«ãææ¡nãè¡ãããšãèšç»ããŠãã人ã¯ãç¬énãŸã§ã«åãå ¥ããæåŸã®æã®æ°ãšå€ãåãå ¥ãã人ã®å€§å€æ°ããèŠã€ããªããã°ãªããŸããã
åé¡ãäœã§ãããã確èªããŠãã ããïŒç³ãåºäººã¯ãæåŸã«åãåã£ãç³ãåºã®æ°ãšæå³ãåãå ¥ãã人ã«å°ããããšãã§ããŸãããåçãéä¿¡ããããšã«ãããåä¿¡è ã次ã®ç³ãåºãåãå ¥ããç³ãåºäººãåãåã£ãåçãå€ããŠåœ¹ã«ç«ããªããªãå¯èœæ§ããããŸã ãããé¿ããããã«ãLamportã¯ãããèãåºããŸãããå ¥æè ã«æåŸã«åãå ¥ãããããªãã¡ãŒã®æå³ãå°ããã ãã§ãªãã nããå°ããæ°ã®ãªãã¡ãŒãåãå ¥ããªãããã«äŸé ŒããŠãã ããã åä¿¡è ããã®å¿çãšããŠããªãã¡ãŒåŽã¯ã1ïŒæåŸã«åãå ¥ãããããªãã¡ãŒã®å€ãšæ°ã2ïŒ næªæºã®æ°ã®ãªãã¡ãŒãåãå ¥ããªããšããçŽæãåãåããŸãã ãã®åŸãå¿çãšããŠåä¿¡ããæåŸã«åãå ¥ããããææ¡ã«é¢ããæ å ±ã¯å€ããªãããåçã倧å€æ°ã®åä¿¡è ããåä¿¡ãããå Žåããããã®åä¿¡è ã¯ææã®ã»ããSã圢æããŸãã ã»ããSã圢æããããšããã«ããªãã¡ãŒåŽã¯ãªãã¡ãŒïŒnãvïŒãäœæããŸã ïŒããã§vã¯ãäžèšã§èª¬æããããã«ãã»ããSããç¬énãŸã§ãã¹ãã«ãã£ãŠåãå ¥ããããæåŸã®æïŒæ倧æ°ã®ãªãã¡ãŒïŒã®å€ã§ãïŒã
ãããã£ãŠãæ£ããã³ã³ã»ã³ãµã¹ã¢ã«ãŽãªãºã ãååŸããŸãããææ¡ã¯2段éã§è¡ãããŸãã
- æºå段éïŒ
- ç³ãåºäººã¯ãïŒæénã§ ïŒ nãç³ãåºãããšãèšç»ããŠãããšããçºè¡šãéä¿¡ããŸãã
- ã¢ããŠã³ã¹ãåä¿¡ããåä¿¡è ã¯ã næªæºã®çªå·ïŒæ倧n ïŒã®ãªãã¡ãŒãããã³æåŸã«åãå ¥ãããããªãã¡ãŒïŒæ°ãšå€ïŒãåãå ¥ããªãããŸãã¯æåŸã«åãå ¥ãããããªãã¡ãŒã®æ°ãnãã倧ããå ŽåããŸãã¯nããã¹ããå¥ã®å ¥æè ãåãå ¥ããªãããšããã§ã«çŽæããŠãããšããææ¡ã
- ææ¡ïŒ
- 倧å€æ°ã®åä¿¡è ããåçãåãåã£ãææ¡è ã¯ãæ倧ãªãã¡ãŒçªå·ãæã€å¿çããå€ããªãã¡ãŒå€vãšããŠéžæãããªãã¡ãŒïŒnãvïŒãéä¿¡ããŸãã
- ç³ãåºïŒnãvïŒãåãåã£ãåä¿¡è ã¯ããã¡ãããä»ã®ç³ãåºäººãn *ããå°ããçªå·ã®ç³ãåºãåãå ¥ããªãããšãçŽæããŠããªãå Žåããããåãå ¥ãã矩åããããŸãïŒ n *> nïŒ ã
å€ãéžæãããããšãç¥ãããã«ã¯ãèªèããŠãã人ã¯ãåããªãã¡ãŒïŒæ°ãšå€ïŒãã»ãšãã©ã®åä¿¡è ã«ãã£ãŠåãå ¥ããããããšã確èªããå¿ èŠããããŸãã
å®çšçãªåé¡
ã¡ãã»ãŒãžã³ã°ã¯ââéåæã§ãããéä¿¡ã¯ä¿¡é Œã§ããªãããããªãã¡ãŒåŽãå¿ èŠãªæ°ã®çŽæãåŸ ããã«å°ãªããšãããã€ãã®åçãåãåããã©ããã¯äžæã§ããããªãã¡ãŒåŽã¯æ¬¡ã®ãªãã¡ãŒãè¡ãããšã§åè©Šè¡ããŸãã ããã¯ãã¹ãŠé·ãéç¹°ãè¿ãããšãã§ããŸãã
ã¢ã«ãŽãªãºã ã¯ãåæã«éããããšãä¿èšŒããŸããã ããšãã°ãããæäŸè ã¯å€æ°æŽŸãã1æªæºã®æ°ã®ãªãã¡ãŒãåãå ¥ããªããšããçŽæãåãåãã2çªç®ã®æäŸè ã¯å€æ°æŽŸãã2æªæºã®æ°ã®ãªãã¡ãŒãåãå ¥ããªããšããçŽæãåãåããŸãã æåã®æã¯éžæã§ããªããªããŸããã 圌ã®ãªãã¡ãŒãéžæãããªãããšãç解ãããšãæåã®å ¥æè ã¯ã3æªæºã®ãªãã¡ãŒãåãå ¥ããªããšããçŽæã倧å€æ°ããåãåãããšããŸããçŸåšã2çªç®ã®ãªãã¡ãŒã¯åãå ¥ããããŸããã ãã®ããã2ã€ã®ç³ãåºäººãç¡éã«ã倧å€æ°ã®åä¿¡è ãäžæ¹ãŸãã¯ä»æ¹ã«èª¬åŸããŠãã³ã³ã»ã³ãµã¹ã«éããå¯èœæ§ããããã¯ããããšãã§ããŸãã ããã¯ãã¢ã«ãŽãªãºã ã«ã©ã³ãã ãªé 延ãå°å ¥ããããšã§ä¿®æ£ã§ããŸãããã¡ãããæäŸãããµãŒãã¹ã1ã€ã ãã§ããããšã確èªããããšããå§ãããŸãã ãããè¡ãã«ã¯ãè€æ°ã®æ±ºå®ãè¡ãå¿ èŠãããå Žåãææ¡ãšããŠæ¬¡ã®å€ãéžæãããšãã«ãåã®ã¹ãããïŒã¢ã«ãŽãªãºã ã®åã®ã€ã³ã¹ã¿ã³ã¹ïŒã§éžæãããªãŒããŒã䜿çšããŸãã
ããããããã§æ°ããªåé¡ãçºçããŸãããªãŒããŒãéžæããå ŽåãèåŸã«ããæ®ãã®ããŒããæ°ããéžæãéå§ããä»ã®ãªãŒããŒãéžæããããšã劚ãããã®ã¯äœããããŸããã ããã«ãåã®ãªãŒããŒã¯ããã«ã€ããŠäœãç¥ããªããããããã圌ãããã§æ åœããŠãããšããä»®å®ã«åºã¥ããŠè¡åãç¶ããã§ãããã
å¥ã®è€éãªåé¡ã¯ãäžæ£ãªãã¶ã³ãã³æ§åŒã®æ¯ãèãã§ããããã®ããã«ã·ã¹ãã ã®èŠçŽ ã«ãã«ãŠã§ã¢ãå«ããå¿ èŠã¯ãããŸããã ããšãã°ãåä¿¡è ã¯çŽæãèŠããŠããå¿ èŠããããŸããããã«ããããã£ã¹ã¯ã«ä¿åãããããããã£ã¹ã¯äžã®ããŒã¿ç ŽæïŒãªãã¬ãŒã¿ã«ãããã¡ã€ã«ã®å€±æãŸãã¯äžæ£ç¢ºãªåé€ã«ããïŒããã¶ã³ãã³ã®åäœã«ã€ãªãããŸãã å®éã«ã¯ãã¡ã¢ãªå ã®ããŒã¿ã§ããç Žæããå¯èœæ§ããããåãæ²ããçµæã«ãªããŸãã ã³ãŒãã®ãšã©ãŒã¯ããã¶ã³ãã³ã®åäœãåŒãèµ·ããå¯èœæ§ããããŸãã
Googleéçºè ã«ãããPaxos Made Live-An Engineering PerspectiveããšããPaxosã¢ã«ãŽãªãºã ã®ãããã®åé¡ããã®ä»ã®åé¡ã«ã€ããŠãChubbyãããžã§ã¯ãïŒZookeeperã®äŒæ¥å é¡äŒŒç©ïŒã§ã®åæ£ã³ã³ã»ã³ãµã¹ã®å®è£ çµéšã«ã€ããŠèªããšããµã€ãã£ã³ã°ãªèšäºã§èªãããšãã§ããŸãã
ãããã£ãŠãPaxosã¢ã«ãŽãªãºã ã¯ç¹å¹è¬ã§ã¯ãªãããã©ãŒã«ããã¬ã©ã³ããªåæ£ã·ã¹ãã ã«é¢ããç¥èã®ã»ãã®å°ããªçŽ æŽãããåºæ¬çãªããªãã¯ã§ãã