#ajn4 ã§çºè¡¨ããã¹ã©ã¤ãã app engineã§ã®ãã©ã³ã¶ã¯ã·ã§ã³ã§ãã«ãã£ã³ã°ãããã¯ã¨ãªããã¨ãæå¾ ãããã¿ã¼ã³éãRead less
ééã®ãã©ã³ã¶ã¯ã·ã§ã³å¦çãã¿ã¼ã³ã§ã¯ãGoogle App Engine (GAE)ã®Entity Groupã«ã¾ããããã©ã³ã¶ã¯ã·ã§ã³å¦çãè¡ãæ¹æ³ã«ã¤ãã¦ç´¹ä»ãã¾ãããã¾ããããã«å°ãã ãæé©åãæ½ããçµæãä¸å³ã®ãããªå¦çã«ãªãã¾ããã ãããããã®ãã©ã³ã¶ã¯ã·ã§ã³å¦çã¯ããã¤ãã®å¶ç´ãããã¾ãã (a) ééä¸ã«åè¨éé¡ãããã (b) ééå ã®å£åº§ã«å¶ç´ããããããªã ãã®ãã©ã³ã¶ã¯ã·ã§ã³ã¯Eventual Consistency (çµææ´åæ§)ã¨ããã¬ãã«ã®æ´åæ§ä¿è¨¼ããããªãããã2ã¤ã®Entity Groupã®å¤ã«ãããçºçããå ´åãããã¾ã(a)ããã¨ãã°ãå£åº§(A)ããå£åº§(B)ã«1000åã ãééããå ´åã(1)ã¨(2)ã®éã¯ãå£åº§(A)ããåºéããããå£åº§(B)ã«å ¥éããã¦ããªããã¨ããç¶æ ã«ãªãã¾ãã ã¾ããééå ã®å£åº§ã«å¶ç´ã¯ããããã¾ãããééå ã®å£åº§ã«å¶ç´
App Engineã§ç¾å®çãªééå¦çã«ã¤ãã¦èãä¸ã§ãã ãã©ããçãªã®ã§ãæªããç¹ãããã°ãææããã ããã°å¹¸ãã§ãã ã³ã¡ã³ãã§æ å ±ããã ãã¾ããã Distributed Transactions on App Engineã§ç´¹ä»ããã¦ãæ¹æ³ã¨åºæ¬çã«åããªã®ã§ãããããåé¡ãªãåãããã§ãããããã¨ããããã¾ããã ä»åã¯ãããªå³ã使ãã¾ãã ãã®å³ã®èªã¿æ¹ã¯ãç¢å°ã®æ¹åã«ã¦ã¼ã¹ã±ã¼ã¹ã®ä¸é£ã®å¦ç(ã¾ãã¯ãªã¯ã¨ã¹ãã®å¦ç)ãæµãã¦ãã¦ãå³ã«è¡ãã»ã©æéãçµéãã¦ãã¾ããããã¦ãç¢å°ãããåºãã«ãã¦ããåè§å½¢ã¯ããã®ã¦ã¼ã¹ã±ã¼ã¹ä¸ã§æä½ããã¨ã³ãã£ãã£ã表ãã¦ãã¾ãã ã¾ããå·¦å³ã®ä½ç½®ãåãç¢å°ã¯ãåºæ¬çã«ã¯åãæå»ã«çºçããã¤ãã³ãã表ãã¦ãã¾ããä¸è¨ã®å³ã§ã¯ãA, B, Cãããããã®å£åº§ã¨ã³ãã£ãã£ãåæã«æä½ãã¦ããæãã§ãã 並è¡æ§å¶å¾¡(ãããã) æåã®å³ã®ããã«ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}