#Cloumo Cloumo/ã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ã¨ã¢ãã¤ã«ã®æ å ±ãµã¤ããã¢ãã¾ã³ã¯ã©ã¦ãï¼Amazon EC2/Amazon RDSï¼ã§ç¨¼åããã¦ãã¾ãã
æè¿ãAmazon Beanstalkãçºè¡¨ããã¦ãPaaSé åãä¸æ®µã¨çãä¸ãã£ã¦ãã¾ããã æ¥åç³»ã«å¼·ãForce.comãã½ã¼ã·ã£ã«ã¢ããªãªã©ã³ã³ã·ã¥ã¼ãç³»ãµã¼ãã¹ã«å¼·ãGoogle App Engineããããæåã§ããããæè¿ã¯é¸æè¢ãããªãå¢ãã¾ããã ãã®è¨äºãæ¸ãã¦ããæä¸ã«ãã¡ããã©ä»¥ä¸ã®ãããªè¨äºãã§ã¦ãã¦ãPaaSã«å¯¾ãã注ç®åº¦ãé«ããã¨ãããããã¾ãã http://www.publickey1.jp/blog/11/google_app_engine_paas.html http://www.publickey1.jp/blog/11/_java_paas.html ä¸è¨ã®è¨äºã§ã ãããããã¨ãããé£ããã¨ãããã¾ã¨ã¾ã£ã¦ããã®ã§ãããä»æ¥ã¯Google App EngineãForce.comãAWSã®ãµã¼ãã¹ãããããå®ãµã¼ãã¹ã®éç¨ãåè¨éçºã§ä½¿ã£ãçµé¨ãã
å©ç¨è ãèªç±ã«ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ã§ããã¯ã©ã¦ããµã¼ãã¹ã¨ãã¦æåãªã®ãGoogle App EngineãAmazon EC2ã ãããããã§ã¯ãWindows Azureã¯ãããã®ã¯ã©ã¦ããµã¼ãã¹ã¨æ¯ã¹ã¦ã©ãéãã®ã ããããã¾ããèªè ã®çæ§ãæ°ã«ãªããã¤ã³ãã¯ã©ãã ãããï¼ åã¯ã©ã¦ããµã¼ãã¹ã®æ¦è¦ Windows Azureã¨Google App Engineã¯ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ãããã©ãããã©ã¼ã ãæä¾ãããPaaSï¼Platform as a Serviceï¼ããAmazon EC2ã¯OSãå®è¡ããä»®æ³ç°å¢ãæä¾ãããIaaSï¼Infrastructure as a Serviceï¼ãã¨ãªããPaaSã§ã¯éçºã«å©ç¨ã§ããè¨èªã«å¶éãããç¹ã«æ³¨æãå¿ è¦ã ã ã¢ããªã±ã¼ã·ã§ã³ã®å®è¡ã¢ãã« Windows Azureã§ã¯ãããã¼ã«ãã¨ããåä½ã§ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ããããã¼ã«ã«ã¯
é±æ«ã¯ã¯ãªã¹ãã¹ä¼æã§ãã¹ã«ä½ãé·ç·ãéã³ã«æ¥ã¦ããã®ã ããéææ¥ã®æã«ãªã£ã¦é¢ç½ãããªFacebookã¦ã¼ã¶ã¼åãã®ãµã¼ãã¹æ¡ãææ¡ãã¦æ¥ãã®ã§ããã£ããä½ã£ã¦ã¿ããï¼ï¼æ¥ã«ã¯ã¯ãªã¹ãã¹ãã¼ãã£ããã£ãããããã¹ãæ¯æãã¦ããã®ã§ãæ£å³ããã°ã©ãã³ã°ããã¦ããæéã¯ï¼ï¼æéããããããªãã£ãã®ã ããçºæ¡ãããããï¼æ¥ã§ãµã¼ãã¹ããã¼ã³ãã§ãã¦ãã¾ãã¨ã¯ï¼Google App Engineã¨Facebook APIã®ãããï¼ãããã¶ãã¨ä¾¿å©ãªæ代ã«ãªã£ããã®ã ã æ¥æ¬ã§ã¯ã¾ã ã¾ã ã ããç±³å½ã§ã¯äººå£ã®ï¼å²ä»¥ä¸ãã¢ã«ã¦ã³ããæã¤ã¨è¨ãããFacebookãTwitterã§ã®ä¸ç¹å®å¤æ°åãã®ãã¤ã¶ãããããããåéã»ç¥ãåãéã§ã®ããã©ã¤ãã¼ããªã³ãã¥ãã±ã¼ã·ã§ã³ãåãã®Facebookã¯ãã©ã¡ããã¨è¨ãã°mixiã«ä¼¼ã¦ãããmixiã¨ã®æ ¹æ¬çãªéãã¯ã大人ã使ã£ã¦ãããç¹ã ç¹ã«æè¿ã¯ãããã©
ããæ°æ¥ãTwitterä¸ã§ appengine ã«é¢ããçºè¨ãããããç®ã«ããããããè¦ãéããã注ç®ãããã¦ã¯ããããæãåºãããã¦ãã人ãå¤ããã¨ããã®ãç¾ç¶ã ãããããã§ãç§ãããã²ã¨è¨ã App Engine ã¯ç´ç²ãªã½ããã¦ã§ã¢ã»ã¨ã³ã¸ãã¢ã«ã¨ã£ã¦ã®å¤©å½ ç§èªèº«ãè²ã ãªéçºç°å¢ã試ãã¦æ¥ãããç§ã®ããã«ããã°ã©ãã³ã°ã大好ãã§ãæ°ããè¨èªãç°å¢ãå¦ã¶ã®ã楽ããã¦ä»æ¹ãç¡ãã¨ã³ã¸ãã¢ã«ã¨ã£ã¦ã¯ããApp Engineã¯å¤©å½ãã¨ããã®ãæ£ç´ãªææ³ãSQLãRailsã®ããã«ä¸è¦éçºå¹çãè¯ããã¦ã¯ãããããç´æçã«å®è¡å¹çã¨ããææ¡ã§ããªããè£å©è¼ªä»ãããã°ã©ãã³ã°ãã¨éããApp Engineä¸ã§ã®ããã°ã©ãã³ã°ã¯ãã¡ãã£ã¨æãæãã¨ããã«å®è¡å¹çã®æªãã¨ãã¦è·³ãè¿ã£ã¦ãããä¸è¼ªè»ããã°ã©ãã³ã°ãã æ°ããè¨èªãå¦ã¶ã®ãè¦ãªãApp Engineã¯é¿ããæ¹ãè¯ã ç¾æç¹ã§ãPyt
第1å Google App Engineä¸ã§LLï¼RDBã¢ããªãä½ãã è©å å·§ ãªãã«ã½ããæ ªå¼ä¼ç¤¾ ä¸è¶ æºå æ ªå¼ä¼ç¤¾ãã¬ãã¸ã¨ãã¯ã¹ 2010/2/3 Web ã¢ããªã±ã¼ã·ã§ã³éçºè ã«ã¨ã£ã¦ãé åçãªç°å¢ã«æ ãGoogle App Engineã ãããã¼ã¿ã®æ°¸ç¶åãªã©ã§è½ã¨ãç©´ãåå¨ãããããã¾ã§ã®éçºææ³ãå¤ããã«ä½¿ããªãã ãããï¼ç·¨éé¨ï¼ ãã®é£è¼ã§ã¯ãGoogle App Engineï¼GAEï¼ä¸ã§PHPï¼Rubyã¨ãã2ã¤ã®LLè¨èªï¼Lightweight Languageï¼ã«ãã£ã¦æ¸ãããWebã¢ããªã±ã¼ã·ã§ã³ããã§ããéããã¾ã¾ã§ã¨åãã¹ã¿ã¤ã«ï¼ãã¼ã¿ã®æ°¸ç¶åã«ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ãç¨ããï¼ã§åä½ãããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¦ããã¾ãã GAEã«ã¤ãã¦å°ããåãã®æ¹ã¯ãããã£ï¼ãã¨æãããããããã¾ãããGAEã«ãªãã¿ã®ãªãæ¹ã¯ãããããä½ãï¼ãã¨æãããããããã
å æ¥ã»ãã·ã§ã³ãã¼ã¿ãæ¶ãããã£ãã®ã¯ãDatastore使ç¨éã1GBãè¶ ãã¦ä¸æ¥0.01$ã®èª²éãããã£ã¦ããããªã®ã§ããæ¥ææ¥ãããã«ç¡äºæ¶ãã¾ããã Google App Engine/Javaã§ã»ãã·ã§ã³æ å ±ãå®æçã«æ¶ãå¦ç 130ä¸ä»¶ãæ¶ãå¦çã«5æ¥ä»¥ä¸ããã£ãè¨ç®ã«ããã¡ãããããå°ãã¡ããã¨çµãã°ãã£ã¨æ©ãçµããã¨æãã®ã§ãããããã¯ã¤ã¾ãã130ä¸ä»¶ãæ¶å»ããå¦çãæ¸ãã«ã¯åç´ãªã³ã¼ãã§ã¯ç¡çã¨ãããã¨ã§ããâ»æ¥ãã§ãªãã£ãã®ã§30åã«13åç¨åº¦ã®å¦çããè¡ã£ãããã§ãã¡ããã¨å¦çãããã¨3æéããããªããããã«ã¯ãªãããã§ãã(23:08追è¨) ã¾ããæ¥æ°ããããã®ã¯ããã¨ãã¦ã ã»ãã·ã§ã³æ å ±ããã¾ã£ã¦ãã¨ãã®ã¨ã³ãã£ãã£ãµã¤ãºã¯ãã®ããã«360MBç¨åº¦ã«ãªã£ã¦ãã¾ããã ãã ããã®ã¨ããã¼ã¿ã¹ãã¢ä½¿ç¨éã¯1GBãè¶ ãã¦ã0.01$ã®èª²éãããã£ã¦ãã¾ãã ãããã
Googleãæä¾ãããGoogle App Engineã¨ãããµã¼ãã¹ãç¥ã£ã¦ãã¾ããï¼ Amazon EC2ãªã©ã¨åãã§ãGoogleãç¨æããã¯ã©ã¦ããµã¼ãã¼ç°å¢ã§ ã¢ããªã±ã¼ã·ã§ã³éçºãã§ããã¨ãããµã¼ãã¹ã§ãã (ã¬ã³ã¿ã«ãµã¼ãã¼ã®ãããªãã®) ãã®å¤§ããªç¹å¾´ã¯ããªãã¨ãã£ã¦ãæé500ä¸PVç¸å½ã¾ã§"ç¡æ"ã¨ãããã¨ã§ãã â»ææã§å¶éãæ¡å¼µãããã¨ãå¯è½ â»2011/09/07 注 Google App Engineã®æ°æéä½ç³»ãçºè¡¨ããã¾ããã æ°æéä½ç³»ã§ã¯ç¡æã§ä½¿ããæ ãå¤§å¹ ã«åæ¸ããã¦ãã¾ãã ãã®è¨äºã®ç¡æã§ã®ä½¿ç¨å¶éã«é¢ããè¨è¿°ã¯ãæ°æéä½ç³»ã§ã¯ æ£ããããã¾ããã®ã§ã注æãã ããã ãApp Engine ã¯ç¡æã§å§ãããã¨ãã§ãã¾ããæ大 500 MB ã®æ°¸ç¶æ§ã¹ãã¬ã¼ã¸ã«å ããæéç´ 500 ä¸ãã¼ã¸ ãã¥ã¼ã«å¯¾å¿ã§ããåå㪠CPU ã¨å¸¯åå¹ ãããã¹ã¦ã®ã¢
Google App Engineä¸ã§ã¢ããªãä½ãã¯ããã¦ç´äºã¶æãããããã¨åãã£ã¦æ¥ããã¨ãããã®ã§ãèªåã¸ã®ã¡ã¢ãå«ãã¦ã¾ã¨ãã¦ã¿ããã¾ãã¯ãDatastoreã®è©±ããã ãªã«ããã大åãªã®ã¯ãã¼ã¿ãã¼ã¹ã®è¨è¨ ãããã¾ãã¨è¨ãã°ãããã¾ãã®è©±ã ããApp Engineä¸ã§ã¢ããªãä½ãä¸ã§ãã£ã¨ã大åãªãã¨ï¼ï¼é ã使ãã¹ãã¨ããï¼ã¯ããã¼ã¿ãã¼ã¹ã®è¨è¨ã§ãããç¹ã«ãªã¬ã¼ã·ã§ãã«ã»ãã¼ã¿ãã¼ã¹ï¼RDBï¼ä¸ã§ã®ã¢ããªä½ãã«æ £ãã人ã«ã¯ã大ããªãçºæ³ã®è»¢æããå¿ è¦ãªã®ã§ãããã¯æ³¨æãå¿ è¦ã ç¹ã«çµ¶å¯¾ã«ãã£ã¦ã¯è¡ããªãã®ã¯ã å°æ¥RDBä¸ã¸ç§»è¡ã§ããããã«ã¬ã¤ã¤ã¼ãä½ã£ã¦ããã®ä¸ã«ã¢ããªãä½ã RDBä¸ã«ä½ã£ãã¢ããªããã¼ã¿ã¢ãã«ãå¤§å¹ ã«å¤æ´ããã«App Engineä¸ã«ç§»æ¤ãã RDBãåæã«è¨è¨ããããã¬ã¼ã ã¯ã¼ã¯ãApp Engineä¸ã«è¼ãã¦ããã®ä¸ã«ã¢ããªãä½ã ãªã©ãApp En
ãããæ¸ããã¨æã£ãããã«ã±ã¯ã奥ä¸ç©ããã®ãã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ããè¤æ°å°æ§æã¨ã2010年代ã«ã¯æµè¡ããªããã£ã¦ãããæè¿ã¢ã¤ã¢ã¤ã¨æãã¦ãããã¨ããã¾ã説æãã¦ããã¦ãè¨äºãã¿ããã¨ã å¹´å§ããã¡ããã¡ãããµã¼ãã®éç¨ç°å¢ãç©è²ããªããèãã¦ãããã¨ã¨è¦äºã«ã·ã³ã¯ããããã ãããã®è¦æ¨ã¯Twitterã®ã»ãã§ãæ¸ããã®ã ããã©ã ã ã¼ã¢ã®æ³åã§ã©ãã©ãåä¸ããæè¡ã«ããã¹ã人éã®ãã£ãã·ãã£ã¯å¤åããªãå®æ°é ã¨ãã¦èãã¦ãããã ã¨ããã°ããããã£ã¦åä¸ããæ§è½ãã人éã®å´åãåæ¸ããæ¹åã§ä½¿ãã¦ã¯ããã¦ããæè¡ã競äºåªä½æ§ãçããã¨ãããã ãã®ç ´å£çãªä¾¡å¤ãã§ã¦ããã¨ãããã¨ã«ãªãã ã§ã¯ãç¾å¨ã®æè¡ãã¬ã³ããæ´»ç¨ãããã¨ã§æ¸ãããã人éã®å´åãã¨ã¯ä½ãã ããã¯ãéå»10å¹´ãã¾ãã§å®çãããããã¾ã§ã®ï¼ããã¦ä»ãªãï¼Webã¢ããªã±ã¼ã·ã§ã³ã®å®çªæ§æã§ãããããã¼ããã©ã³ãµãã¢
ã¯ãã㫠「人é¡ã使ããã¹ã¦ã®æ å ±ãéãæ´çããï½£ ãã®å£®å¤§ãªããã·ã§ã³ãæ²ãè¨ç«ãããGoogleã¯ããã®ããã·ã§ã³ãéè¡ããã¹ãããã·ã³ã»ãããã¯ã¼ã¯ãªã©ã®ã¤ã³ãã©ç°å¢ã«è«å¤§ãªéé¡ãæè³ããç¬èªã®æè¡ãéçºãç¶ãã¦ãã¾ããGoogleã¯æ¤ç´¢ã¨ã³ã¸ã³ã ãã«ã¨ã©ã¾ãããGmailãGoogle CalendarãGoogle MapsãGoogle AnalysticsãYoutubeãGoogle AppsãGoogle Earthãªã©ããã¾ãå ¨ä¸çã®ã¦ã¼ã¶ã¼ã使ç¨ãããµã¼ãã¹ããªãªã¼ã¹ãã¦ããããã®æ±ããã¼ã¿éãã¢ã¯ã»ã¹æ°ã¯å¤©æå¦çãªæ°ã«ãªããã¨ãäºæ³ããã¾ããGoogleã¯ãããã®ãã¼ã¿éãã¢ã¯ã»ã¹æ°ãé«éã«ãã°ãããªããã¤èé害æ§ã®é«ãã¹ã±ã¼ã©ãã«ãªå¤§è¦æ¨¡åæ£ã·ã¹ãã ãæ§ç¯ãã¦ãã¾ãã ãããªä¸ã2008å¹´4æã«Google App Engineããªãªã¼ã¹ããã¾ãããGoogleã
Google App Engineã使ã£ãæåã®ä½å Tiny Message ï¼http://tinymsg.appspot.comï¼ããªãªã¼ã¹ãã¦ã¾ã ï¼ï¼æéçµã£ã¦ããªãããè¨è¨ã®éç¨ã§ããããã¨å¦ã¹ããã¨ãããã ãã®ä¸ã§ãä¸çªåç©«ã¨ãã¦å¤§ããã®ã¯ããGoogle App Engineã使ãã°ããªãã¢ã«ã¹ã±ã¼ã«ãããµã¼ãã¹ãä½ããã¨ãå¯è½ãã ã¨ãããã¨ãå®æã§ãããã¨ã ãã¡ãããGoogle App Engineä¸ã«ä½ã£ãããã¨è¨ã£ã¦ãã¹ã¦ã®ã¢ããªããªãã¢ã«ã¹ã±ã¼ã«ããããã§ã¯ãªããã©ããªã¢ããªã§ãããä½ããããã§ã¯ãªããEntity Groupã®æ§æãééããã°ãããããã«ããã¯ã«ãªãããQueryã®äºéã«ã¼ããªãããæ¸ããããããã«ã¿ã¤ã ã¢ã¦ããã¦ãã¾ãã ãªãã¢ãªã¹ã±ã¼ã©ããªãã£ãæã¤Datastoreã®ä¸ã§ä½ãã¨ã¯è¨ãããã¯ãDatastoreã®ä»çµã¿ãã¡ããã¨ç解ãã¦ãã¼
RDBã¨ã¯å¥ã®ãã¯ã©ã¦ãæ代ã®ãã¼ã¿ãã¼ã¹ã¨ãã¦æ³¨ç®ãæµ´ã³ã¦ãããåæ£Key-Valueã¹ãã¢ãããã®æ¬å½ã¨ãããããGoogleã®æ°ã ã®ãµã¼ãã¹ã®åºç¤æè¡ãBigtableãã«ã¤ãã¦å¾¹åºè§£èª¬ ãã1ã¤ã®ãDBã®ããã¡ãåæ£Key-Valueã¹ãã¢ã¨ã¯ åæ£Key-Valueã¹ãã¢ã®æ¬å½ãBigtableãï¼1ï¼ãä¼æ¥ã®ã·ã¹ãã ã§å¤ã使ãããRDBã¨ã¯å¥ã«DBã«ã¯ãã1ã¤ã®âããã¡âãåå¨ãããRDBã¨ã®éããé·æã»çæã解説ããã
Akira Sasaki @gclue_akira æ¬æ¥ã®MIXIã¢ãã¤ã«ã®è§£æçµæã PV 365,170PV/8æé Googleã¸ã®æ¯æã $5.11ã 100åããããã£ã¦ãã£ã¦ã¾ããããããã£ã³ã°ã»ã³ã¿ã¼ã®CPUæéãå¦ã«é«ããªã£ã¦ããã®ã§ãææ¥æé©åããã°ããå°ãå®ããªãã¨æãã¾ãã 2009-10-28 01:28:00
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}