ã¯ã¬ã¸ããã«ã¼ãç»é²ãªãã§ä½¿ããGAEå çãç¡æã§ä½¿ãããã®è¨å®æ¹æ³ãå¤ãã£ã¦ããã®ã§ã¡ã¢ã ãã¤ã³ã ï¼æ¥ãããã®ã¤ã³ã¹ã¿ã³ã¹æéãç¡æç¯å²ãªããè¶ ããªãããã«è¨å®ãã è¨å®æ¹æ³ã¯Google Developers Consoleã§ã¯ãªããyamlã§è¡ã è¶ ãã¡ããã¨503ã¨ãªã£ã¦ãã¾ã æ¥æ¬æéã®16æã«ãªã»ãããããæ¨¡æ§ golangæ³å®ã ãã©ãPythonã»PHPãåãæ°ããã ããã³ãã¨ã³ã ã¤ã³ã¹ã¿ã³ã¹æé ï¼æ¥ãããF1ã§28ã¤ã³ã¹ã¿ã³ã¹æéãä¸é(F2ã ã¨ååã®14æé) ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹(instance_class)ãF1ã«è¨å®ï¼ããã©ã«ãã¯F2ï¼ æ大ã¤ã³ã¹ã¿ã³ã¹æ°(max_idle_instances)ãï¼ã¤ã«è¨å® app.yaml instance_class: F1 automatic_scaling: min_idle_instances: automati
表1. è¨èªå¥ã¹ãã³ã¢ããè¨æ¸¬ ä½æçã«ã¯å¤§ããªéãã¯ãªãã¨æãã¾ãããGOè¨èªã®ã¹ãã³ã¢ããã¯PythonãPHPãããåªãã¦ãããã¨ããããã¨æãã¾ãã éçºç°å¢ã¯ä½ãé¸ã¶ã¹ãã éçºç°å¢ã«ã¯äººãããã好ã¿ãããã¨æãã¾ãããæè¡ç³»ç¥èã®å ±æãµã¤ãã§æåãªQiitaã§IDEã«é¢ããè¨äºã®å²åãè¦ã¦ã¿ãã¨ããããIntelliJ IDEAããå©ç¨ãã¦ããã¦ã¼ã¶ãå¤ãããã«æãã¾ãã ç¾ç¶GOã®éçºããããªãå ´åã¯IntelliJ IDEAãã¹ã¿ã³ãã¼ãã®ããã§ãã®ã§ãã¯ããã¦GOè¨èªã«è§¦ããæ¹ã«ã¯IntelliJ IDEAã®ãå©ç¨ããå§ããã¾ããã¡ãªã¿ã«IntelliJ IDEAã§GOã®éçºç°å¢ãæ§ç¯ããããã®è¨äºã¯Qiitaã«å¤ãæ稿ããã¦ããã¾ãã®ã§ããã²ãã¡ããåèã«ãã¦ãã ãã(â»4)ã â»4 å人çã«ã¯ä»¥ä¸ã®è¨äºããªã¹ã¹ã¡ã§ãã http://qiita.com/kaiinui
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
åã«æ¸ããè¨äºããã¯ãããåæãã£ã¦ãã¾ã£ããããã£ã¨åºãã¦ãããããªã¨ããç¶æ ã«ãªã£ãã®ã§å ¬éãã¾ãããã¡ã¤ã«ãã®ãã®ã¯ãã¡ãã GAETestBaseã¯Pythonæ¨æºã®unittest.TestCaseç¶æ¿ã¯ã©ã¹ã¨ãªã£ã¦ã¾ããã¦ããããã¹ããæ¸ãéã«ãé常ã®TestCaseã®ãããã«GAETestBaseãç¶æ¿ãã¦ã¦ããããã¹ãç¨ã®ã¯ã©ã¹ãä½ãããã¨ã¯æ®éã«ãã¹ãã³ã¼ããè¨è¿°ã§ãã¾ãã Pythonããã³AppEngine SDK以å¤ã¸ã®ä¾åãã¼ãã§ç°å¢ãé¸ã°ãªããã¯ãããªã®ã売ãããªï¼ ã¨ããã§åºæ¥ä¸ãã£ããã¨å ¬éç¨ã®æºåããã£ã¦ãããGAE/Jå´ã§ã¯slim3ãkotoriãçµã¿è¾¼ãã ã¨ãã話ãããããã ã§ããã㨠CLIã§ã®ãã¹ãå®è¡ éçºä¸ã®ãã¹ãå®è¡ããPythonæ¨æºã®unittestã¨å ¨ãåãããã«CLIããå®è¡ã§ãã¾ã ãã¹ãã±ã¼ã¹å´ã§æå®ãããã°åãµã¼ãã¹ã¯rem
ã¿ãªãããGoogle App Engineã£ã¦èãããã¨ããã¾ããï¼ ãã£ããããã£ã¦ããGoogle Docsã¨ãã§ããï¼ã£ã¦æã£ãæ¹ãæãããã©éãã¾ãã Google App Engineã¨ã¯ãGoogleãéå¶ãã¦ããå®å®æå¼·ã®ãã¼ã¿ã»ã³ã¿ããä¸å®éã¾ã§ç¡æã§ä½¿ããä»çµã¿ãªã®ã§ãã ã»ãã¨ã«ç¡æãªã®ï¼ Google App Engineã使ã£ã¦ç¡æã§ãµã¤ããç«ã¡ä¸ããæ¹æ³ã«ãããã¾ãããç¡æå²ãå½ã¦å(Free Quota)ã ãã§ãããªãã®è¦æ¨¡ã®ãµã¤ããéå¶ã§ãã¾ãã1æ¥ã®éä¿¡éã1GBã¾ã§ãªãåºæ¬çã«ãéã¯ãããã¾ããã100kB/pvã¨ãã¦ã1æ¥1ä¸PVã¾ã§ç¡æã§ããå人éå¶ã®ãµã¤ããªããããã¦ãã¯ç¡æå©ç¨åã§è¶³ããã®ã§ã¯ãªãã§ããããã ããã°ã©ã å¿ è¦ãªãã§ããï¼ Google App Engineã使ã£ã¦ç¡æã§ãµã¤ããç«ã¡ä¸ããæ¹æ³ã®æ¹æ³ã使ãã°ãããã°ã©ã ãä¸åæ¸ããã«
App Engineã§ä½¿ããè¨èªã¯åºæ¬çã«ã¯Pythonã¨Javaã§ããããã§ã¯ãã©ã¡ããé¸ã¶ã®ãè¯ãã®ã§ããããã ãã以å¤ã®è¨èªã®äººåãã®è©±ã¯å¾ããåºã¦ããã®ã§ãã°ãããã®ã¾ã¾ãèªã¿ãã ããã 趣å³ãªãã°åã«å¥½ããªãã®ãé¸ã¶ã ãã§ããã®ã§ãããä»äºã§ä½¿ãããã«ã¯ãé·æã¨çæããã¡ãã¨ææ¡ããä¸ã§é¸ã¶å¿ è¦ãããã¾ããã¾ããããã§ã®è©±ã¯è¨èªã¨ãã¦ã®ä¸è¬çãªè©±ã§ã¯ãªãApp Engineã§ä½¿ãã¨ãéå®ã®è©±ã¨ãã¦ãèªã¿ãã ããã ã¾ãå®å®åº¦ã§ãããã¤ã³ãã©é¨åã®å®å®åº¦ã¯ãã©ã¡ããåºæ¬çã«åãã§ãããããããã¨ãã¾ã£ããåããã®ã使ã£ã¦ããã®ããããã¾ããã ãã®ä¸ã§åãAPIã®é¨åã¯ãã¤ã³ãã©ã¨ç´æ¥çµã³ã¤ãã¦ããä½ã¬ãã«ãªé¨åã¨ä½ã¬ãã«ãªAPIã®ä¸ã«æ§ç¯ãããé«ã¬ãã«ãªé¨åã¨ã«åãã¦èããå¿ è¦ãããã¾ãã ä½ã¬ãã«ãªAPIã¯LLAPIã¨å¼ã°ããããã¾ãããå®å®åº¦ã¯ãPythonã¨Javaãåã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}