TECH PLAY Conference 2017 - ã¯ã©ã¦ãæå 端æè¡ #techplayconf2017 #techplayjp
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã°ã¼ã°ã«ãMySQLäºæã®ãGoogle Cloud SQLãæ§è½å¼·åãæ大ã§ã¡ã¢ãª16GBã¸æ¡å¼µãGoogle Apps Scriptãããå©ç¨å¯è½ã« ã°ã¼ã°ã«ã¯Google App Engineã§æä¾ãã¦ããMySQLäºæã®ãã¼ã¿ãã¼ã¹ãµã¼ãã¹ãGoogle Cloud SQLãã®æ§è½å¼·åãæããã«ãã¾ãããGoogle Developpers Blogã«ãã¹ããããã¨ã³ããªãGet started at no cost with a faster, larger Cloud SQL databaseãã§æ¬¡ã®ããã«èª¬æãã¦ãã¾ãã ã¹ãã¬ã¼ã¸å®¹éãå¾æ¥ã®10GBããæ大100GB㸠ã¤ã³ã¹ã¿ã³ã¹ã®ã¡ã¢ãªå®¹éãå¾æ¥ã®4GBããæ大16GBã¨ãªããèªã¿è¾¼ã¿é度ãåä¸ éåæã¬ããªã±ã¼ã·ã§ã³ãé¸æå¯è½ã«ãããã¨ã§ãæ¸ãè¾¼ã¿é度ãåä¸ æ¬§å·ãã¼ã¿ã»ã³ã¿ã¼ã§æä¾éå§ Google Appsã®Go
2011å¹´05æ20æ¥21:33 [GAE][Python][facebook]ãéã¨ã³ã¸ãã¢å¥³åã«ããã15åéã§ããfacebookã¢ããªããã¥ã¼ï¼GAEï¼Pythonç·¨ï¼ ã«ãã´ãªãã£ã¦ã¿ãfacebook Tweet ã¿ãªããããå æ°ã§ããããã«ã¡ã¯ï¼ ã¼ãã¹ã¿ã¼ãã®åºå ±ããã®ã§ãã ä»åã¯ãé±æ«ã«ãã£ã¬ã³ã¸ãã¦ã¿ãã®ã«ä¸åº¦ããå¡©æ¢ ã®è¨äºããå±ãããããã¨æãã¾ãã ã¾ãåæã§ãããä»åã¯éã¨ã³ã¸ãã¢ã®ããã®ã¨ã³ããªã§ãã ãéã¨ã³ã¸ãã¢ãªãã ãã©ã facebookã¢ããªã¨ãç»é²ãããï¼ Pythonã§ãããã£ã¦ã¿ããï¼ï¼ ã§ãå ¨é¨è±èªã ãã ã³ã¼ãã¨ããããåãããªãï¼ï¼ã ã¨ãããããã®ããªãï¼ é£ããå«ããªããªãã«ããèªãã§ããã ãããã ã ããã15åãããã§ãfacebookã¢ããªåããã¾ãã ãã£ããã£ä»ãã§ãç´¹ä»ãã¾ãã®ã§ããã®éãããã°åºæ¥
ããæ°ã¶æãGoogle App Engine/Pythonã使ããåãã¦ã¡ãã£ã¨ãããã®ãä½ã£ã¦ã¿ã¦ããã®ã ãã©ãéçºåæããç¥ã£ã¦ããã°ããã£ããªã¼ãã¨æããã¦ãã¦/tipsçãªãã®ãããããã¨æ¸ãã¦ã¿ãã åºæ¬çãªç°å¢è¨å®ã¯ã 以åæ¸ãã ã¾ã¾ã 0. å ¬å¼ããã¥ã¡ã³ããè¯ãèªã è¨ãã¾ã§ããªããã ãã©ã ããã¥ã¢ã« ã¯ãã¡ããã ãã®è¾º ã®ä¸ã®èªã¿ç©ããæµãèªã¿ã ãã§ããã¦ãããã»ããããã datastoreã¨modelçãªã¨ãã 1. key nameã使ãããªã key nameã¯ãã¬ã³ã¼ãã®ä½ææã«æå®ã§ãã(RDBã§ãã)primary keyã®å¥åã¿ãããªãã®ãprimary keyèªä½ã¯èªåçã§ä½æãããã®ã§éçºè ãæå®ã§ããã®ã¯key nameã ãã key nameããã¾ã使ããã¨ã§ãdatastoreã使ãããããããã¨ãã§ãããç¹ã«datastoreä¸ã§"un
ã°ã¼ã°ã«ã¯1æ6æ¥ãGoogle App Engineã®ãã¼ã¿ã¹ãã¢ã¨ãã¦Paxos algorithmã«ãããã¼ã¿ã»ã³ã¿ã¼éã®ãã¼ã¿åæãæ¡ç¨ããå¯ç¨æ§ãå¤§å¹ ã«åä¸ãããæ°ãã¼ã¿ã¹ãã¢ãHigh Replication Datastoreãã追å ããã¨ãããã°ã®ã¨ã³ããªãApp Engine 1.4.1 ããªãªã¼ã¹ãã¾ãã - High Replication Datastore ã®ç´¹ä»ãã§æããã«ãã¾ããã App Engine 1.4.1 ããªãªã¼ã¹ãã¾ãã - High Replication Datastore ã®ç´¹ä» - Google Japan Developer Relations Blog è¤æ°ã®ãã¼ã¿ã»ã³ã¿ã¼ã«ã¾ããã£ãã¬ããªã±ã¼ã·ã§ã³ãè¡ããã¨ã§ãç¹å®ã®ãã¼ã¿ã»ã³ã¿ã¼ã«é害ãçºçããå ´åã§ãã»ã¨ãã©ã®å ´åã§åé¡ãªãåä½ããã¨ã®ãã¨ã§ãã å¯ç¨æ§ã¯é«ã¾ããæ¸ãè¾¼ã¿ã¯é ã
ãã¼ã¿ã¹ãã¢ã®ããã©ã¼ãã³ã¹æ¸¬å®ã¡ã¢ æçµæ´æ°æ¥ : 2011/1/9 (2011/1/3 ããå·çéå§) ä¸æ» äºé <asatohan at gmail.com> å 容ã«é¢ããã³ã¡ã³ãï¼ææ³ãææ¡ãæ¸ãééãã®ææï¼ã¯æè¿ãã¾ãã ã¯ãã㫠測å®çµæ ã¾ã¨ã ä½ãããªãå ´å put put - ä½æ対象ãåå¨ããããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããããããã£ãï¼ï¼åã®å ´å put - ä½æ対象ãåå¨ããè¦ç´ ï¼ã¤ã®Listããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããè¦ç´ ï¼ã¤ã®Listããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããè¦ç´ ï¼ã¤ã®Listããããã£ãï¼ã¤ã®å ´å put - ä½æ対象ãåå¨ããè¦ç´ ï¼ã¤ã®Listããããã£ãï¼ã¤ã®å ´å put
ï¼éææ´æ°ä¸ã§ããééããªã©ããã¾ãããã³ã¡ã³ãããé¡ããã¾ãï¼ï¼ ãã®ãã¼ã¸ã®tinyurl: http://tinyurl.com/gaetips Datastoreã®tips Bigtableã®å é¨æ§é Bigtableã«ããDatastoreã®å®è£ Datastoreã«ããã¯ã¨ãªã®å®è£ ãã©ã³ã¶ã¯ã·ã§ã³ã¨ã¨ã³ãã£ãã£ã°ã«ã¼ã Datastoreã®tips List Proprtyã¨merge joinã®ä½¿ãæ¹ GAEä¸è¬ã®tips GAEã®ãµã¼ãã¼æ§æã¨ãªã¯ã¨ã¹ãã®æµã Task Queue APIã®ä½¿ãæ¹ éçºç°å¢ã¨ãããã¯ã·ã§ã³ç°å¢ã®éã Flex/AIRï¼GAEã®tips GAE/Jã«BlazeDSãçµã¿è¾¼ã BlazeDSã®æ¬çªç°å¢ã¸ã®ãããã¤ã§ããã Datastore APIã®åãæ±ãã§ããã App Engineéçºã®ä¾¿å©ãªåèãã¼ã¸ TOPGATEããã®Google
ãªãªã¨ã³ã¿ã«ã¢ã¼ãã¯2æ23æ¥ããªã¼ãã³ã½ã¼ã¹ã§æä¾ããWebã¢ããªã±ã¼ã·ã§ã³éçºç¨ãã¬ã¼ã ã¯ã¼ã¯ãpirkaï¼ããªã«ï¼ãã®ææ°çãpirka framework Ver 1.05ããçºè¡¨ãããSourceForgeä¸ã§åæ¥ããå ¬éãã¦ããã pirkaã¯ãHTMLã¨Javaã®ç¥èããããã°å©ç¨ã§ãããã¬ã¼ã ã¯ã¼ã¯ãã»ãã·ã§ã³ç®¡çãã»ãã¥ãªãã£ä¿éãªã©ãWebã¢ããªã±ã¼ã·ã§ã³éçºç¹æã®å¦çã¯pirkaå´ã§æ å½ãããããå ±ééçºä½æ¥ã®åæ¸ãå¦çã®æ¼ããééãã®æå¶ãããã°ã©ãã³ã°æ å½è ã®ã¹ãã«ã®éãã«ããå質差ã®ç·©åãå®ç¾ããã¨ããã ææ°çã§ã¯ãGoogleãæä¾ããã¢ããªã±ã¼ã·ã§ã³éçºç¨ãã©ãããã©ã¼ã ãGoogle App Engineãï¼ä»¥ä¸ãGAEï¼ã«å¯¾å¿ãå¾æ¥çpirkaã§ä½æããWebã¢ããªã±ã¼ã·ã§ã³ãå¤å°ã®ä¿®æ£ã§GAEç°å¢ã¸ç§»è¡å¯è½ã ã¨ãã¦ãããã½ã¼ã¹ã³ã¼ãã¨è©³ç´°è³æã¯pir
GAE/JRubyã§ãããããªã£ãã¨ãã®ãã§ãã¯ãã¤ã³ããèãã¦ã¿ã¾ããã (1) gems / jarãåæå .gems 㨠WEB-INF/gems.jarã®ï¼ã¤ãæ¶ãã¦ãããªãã ã ããªãWEB-INF/lib/*.jarãæ¶ãã¦ãããªãã ï¼ããã®ããããªãã¼ã ã§ãOKï¼ (2) ããã¸ã§ã¯ããã¼ãããä½ãç´ã (3) ããã§ãã ããªå ´å - (1), (2)ãå®è¡ããçµæã®ã³ã³ã½ã¼ã«ãã° - Gemfileã®å 容 - ls -la .gems/bundler_gems/jruby/1.8/gems - ls -la WEB-INF/lib - ruby -v - gem list - jruby -v - jgem list - rvm info ããããgistã«å¼µã£ã¦ããã ããã°ããªã«ããããããããã¾ããã ããã¦ã http://groups.google.com/gr
ã¯ããã« ååã¯Google AppEngineï¼GAEï¼ã®æ¦ç¥ã¨ãGAEã¨Railsã®ç¸æ§ã¯æªãã¯ãªãã®ã§ã¯ãªããï¼è¯ãã¨ã¯è¨ãåããªãã¨ãããå°ãè¦ããã§ããï¼ã¨ãã話ããã¾ãããããã®çµæGAEã®è©±ã°ããã§ã½ã¼ã¹ã³ã¼ããã»ã¨ãã©åºã¦ããªããRubyã¨ãã¾ãé¢ä¿ã®ãªãå 容ã«ãªã£ã¦ãã¾ãã¾ãããä»åã¯ãããåãåãããã¹ããå®éã«Railsã§å°ããªãµã³ãã«ãä½æãã¦GAEä¸ã§åä½ãããã¾ã§ã説æãããã¨æãã¾ããããã§ã¯ãã£ããRubyã®è©±ã«é²ã¿ã¾ãããã RailsãGAEã®ä¸ã§ä½¿ãããã« GAEã¯DBã¨ãã¦BigTableã使ã£ã¦ããã®ã§ActiveRecordã使ããªããã¨ã«ã¤ãã¦ã¯ååæ¸ãã¾ãããããã§ã¯ ActiveRecordã使ã£ã¦ããªãRailsã¢ããªãªãç¹å¥ãªä½æ¥ãããã«ç°¡åã«GAEä¸ã§åãããã®ã§ããããï¼çµè«ããè¨ãã¨ãæ®å¿µãªãããããªãã¨ã¯ããã¾ãããGAEä¸ã§å
注æ ãã®è¨äºã¯æ¢ã«æ å ±ãå¤ããªã£ã¦ãã¾ãã 2010 å¹´ 7 æ 26 æ¥ç¾å¨ã§ã®ææ°ã®æ å ±ã¯ä»¥ä¸ãåç §ãã¦ãã ããã GAE 㧠Rails 2.3.8 ãåãããã«ãªã£ã¦ãã ãã®è¨äºã§ã¯ãGAE (Google App Engine) ä¸ã§ Ruby on Rails ãåããã¾ã§ã«å¿ è¦ãªä½æ¥ãç´¹ä»ãã¾ãã æ¢ã« GAE ãå©ç¨ãã¦ãã人ã§ããã°ãåç¥ãã¨æãã¾ãããGAE ã§ã¯ Java ã Python ããåãããã¨ãã§ããªãã®ã§ãé常㯠Ruby ãåãããã¨ã¯ã§ãã¾ãããããããJava ãåãã¨ãããã¨ã¯ãJRuby ã¯åãã®ã§ããã®ä¸ã§ Rails ãåããã¦ã¿ãããã¨ãããã®ã§ãã ãã®è¨äºã¯ãã»ã¨ãã©ã @urekat ããã«ããè¨äºã®ãã¬ã¼ã¹ã§ãããã ããç¾å¨ã¯ã@urekat ããã®è¨äºãã®ã¾ã¾ã§ã¯åããªãé¨åãããã®ã§ããããå¸åããªããç´¹ä»ãã¦ããã¾ãã
Ruby(MRI),Rails2.3.5,Java1.6ã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ããã¹ã¿ã¼ã (Java1.5ãªå ´åã¯1.5ã§ãOKãããããªãã®ã§ãã®ã¾ã¾ãã£ã¦ã¿ã¦ä¸æãåºæ¥ããæãã¦ãã ããã) % java -version java version "1.6.0_03-p3" Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00) Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00, mixed mode) % ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin8] % rails -v Rails 2.3.5 go
rails APPNAME -m http://gist.github.com/103256.txtããããã¾ã¨ãã¦ãã©ã®ã³åããä¸ã§ãã¢ããªã±ã¼ã·ã§ã³ãã³ãã¬ã¼ãããç¨æè´ãã¾ãããç§å ããã¨ãåèã«Railsãjarã«ã¾ã¨ãã¦ããã®ã§ãã¡ã¤ã«æ°å¶éãä½è£ã§åé¿ãããããçµæ§ããã°ã£ãã GAE/Jã®ã¢ã«ã¦ã³ããæã«å ¥ã£ãã¿ããªã¯ã³ã¬ä½¿ã£ã¦é æ ®ãªãGoogleã¯ã©ã¦ãã§Railsããã°ããã¨æããæã«å ¥ã£ã¦ãªã人ãä»ã®ãã¡ã«éçºãµã¼ãã¼ã§åããã¨ãã°ã5ææ«ã®Google I/Oã§ãã£ã¨ä¸è¬å ¬éããããã ã¦ãã¨ã§ä»¥ä¸æé ã å¿ è¦ãªã©ã¤ãã©ãªãå ¥ãã GAE/Jã®SDKã¨JRubyã¨Railsã¨Warblerã¯æµç³ã«äºåã«å¿ è¦ããã®è¾ºåèã«ã©ããããã§ã«ããããå ¥ã£ã¦ã人ã¯ãã¡ããé£ã°ãã¦ããã ä¸å¿åèã¾ã§ã«èªåã§ã¯è©¦ããã«æ¸ããã©ãå¤åãããªæãã $ svn co http://s
JRubyãGoogle App Engineããµãããã¨ããªãã£ãã®ã§ãããåãã¦ãµãã¦ã¿ã¾ããã ãã¯ããããããã¨å¤±æããªãããä½ã¨ã ãã¶ãä¸çªãããããªRails on GAE/Jã«ãããµã³ãã«ã GAEã«ãããã¤ã§ãã¾ãã â ã ã¤ã³ã¹ãã¼ã« ã¾ãã¯ãã¤ã³ã¹ãã¼ã«ãã Java Mac(leopard)ã«ã¯æåãã Java1.5ãå ¥ã£ã¦ãã¾ãããã¢ããã« - ãµãã¼ã - ãã¦ã³ãã¼ã - Java for Mac OS X 10.5 ã¢ãããã¼ã 1ãã ææ°ã® Java1.6ãã¤ã³ã¹ãã¼ã«ã ã¤ã³ã¹ãã¼ã«ããã ãã§ã¯ Java1.5ã®ã¾ã¾ãªã®ã§ãã¢ããªã±ã·ã§ã³ãã¦ã¼ãã£ãªãã£ã® Java Preferences.app ã§Java1.6ãæåªå ã«è¨å®ã % java -version java version "1.6.0_13" Java(TM) SE Runtime
Google App Engine (ä»¥ä¸ GAE) 㧠Java ã使ããããã«ãªã£ãããã JRuby ãåä½ããããã«ãªãã¾ããã JRuby on GAE 㧠Rails ãåãããï¼ã¨ãããã¨ã§ããã¡ãã¡ã§è©¦ã¿ããªããã¦ãã¾ãã ã£ã¦ãã¨ã§ãå éã®è¨äºã¯ãã£ã±ããããã©ãæãåãããªãã¨ããããªãã®ã§èªåã§ãã£ã¦ã¿ã¾ããã æ¡ã®å®è²ã å¼ã£ããã£ãã®ã§ã¡ã¢ã¡ã¢ã æ¦è¦ ã¾ããåãã¦ãã (ãã¶ã) ãµã³ãã«ã¯ä»¥ä¸ã® URL ã ãã¢: http://hello-gae-gom.appspot.com/ ã½ã¼ã¹: http://github.com/gom/hello-gae-gom/tree/master ããã«ã¡ãï¼ã¨ã表示ããããåãã¦ãã¨æãã¾ãã åããªãç¶æ ã«ãªã£ã¦ããããããªããã ãã¼ã¿ã¯ä½ãä¿åã»èªã¿åºãããã Controller ããããã¹ããåºåãã¦ããã ãã§
Googleãæä¾ãããGoogle App Engineã¨ãããµã¼ãã¹ãç¥ã£ã¦ãã¾ããï¼ Amazon EC2ãªã©ã¨åãã§ãGoogleãç¨æããã¯ã©ã¦ããµã¼ãã¼ç°å¢ã§ ã¢ããªã±ã¼ã·ã§ã³éçºãã§ããã¨ãããµã¼ãã¹ã§ãã (ã¬ã³ã¿ã«ãµã¼ãã¼ã®ãããªãã®) ãã®å¤§ããªç¹å¾´ã¯ããªãã¨ãã£ã¦ãæé500ä¸PVç¸å½ã¾ã§"ç¡æ"ã¨ãããã¨ã§ãã â»ææã§å¶éãæ¡å¼µãããã¨ãå¯è½ â»2011/09/07 注 Google App Engineã®æ°æéä½ç³»ãçºè¡¨ããã¾ããã æ°æéä½ç³»ã§ã¯ç¡æã§ä½¿ããæ ãå¤§å¹ ã«åæ¸ããã¦ãã¾ãã ãã®è¨äºã®ç¡æã§ã®ä½¿ç¨å¶éã«é¢ããè¨è¿°ã¯ãæ°æéä½ç³»ã§ã¯ æ£ããããã¾ããã®ã§ã注æãã ããã ãApp Engine ã¯ç¡æã§å§ãããã¨ãã§ãã¾ããæ大 500 MB ã®æ°¸ç¶æ§ã¹ãã¬ã¼ã¸ã«å ããæéç´ 500 ä¸ãã¼ã¸ ãã¥ã¼ã«å¯¾å¿ã§ããåå㪠CPU ã¨å¸¯åå¹ ãããã¹ã¦ã®ã¢
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}