Eureka EngineeringLearn about Eurekaâs engineering efforts, product developments and more.
Eureka EngineeringLearn about Eurekaâs engineering efforts, product developments and more.
AWS OpsWorks 使ã£ã¦Railsã¢ããªãåä½ãããç°å¢ä½ã£ã¦ã¿ãã Stackãä½æ ã¾ããStackãä½æãããStackã¯EC2ã®ã¤ã³ã¹ã¿ã³ã¹ãä»ã®AWSãªã½ã¼ã¹ã®ã³ã³ããã Layerã追å ç¶ãã¦Stackã«Layerã追å ãããStackã«ã¯è¤æ°ã®Layerãå®ç¾©å¯è½ãåºæ¬çã«Web Serverã¨ãApplication Serverã¨ãDBã¨ãå½¹å²ãã¨ã«Layerãåã£ã¦ãããã«ãªããç¾ç¶ãOpsWorksãããã©ã§æä¾ãã¦ããLayerã¯â HAProxy Static Web Serverï¼Nginxï¼ Rails App Serverï¼Apache+Passenger or Nginx+Unicornï¼ PHP App Serverï¼Apache+PHPï¼ Node.js App Server MySQL Memcached Ganglia ä»åã¯âã®Rail
å°ããrailsãµã¼ãã¹ãããã railsã§ä½ããµã¼ãã¹ãä½ã£ãã¨ãããExceptionNotificationãå ¥ãããNewRelicã§5åæ¯ã«æ»æ´»ç£è¦ããã¦ãããªã®ã«ãè½ã¡ã¦ãã¿ããã§ããã¨Twitterã§è¨ãããã nginx + unicornã®çµã¿åããã§ã¢ã¯ã»ã¹ãå¢ããæã大æµçã£å ã«èµ·ããã®ãunicornã®time outã 2013/02/08 18:36:10 [error] 20932#0: *3506622 upstream timed out (110: Connection timed out) while reading response header from upstream, client: ãã£ã¦ãã¤ã éãDBã®ã¯ã¨ãªã¨ãã§ã¢ã¯ã»ã¹ããã°ãã¹ãã¼ãããæ¥ç¶æ°ãå¢ãã¦ãã¦èµ·ãããrailsã¢ããªã¾ã§å¦çãè¡ããªãã®ã§Exceptionã¯èµ·ãããªã
ãªãã£ã¹ã§Google Analyticsã¨ãMixpanelã¨ãlogentriesã¨ããã£ã¹ãã¬ã¤ã«è¡¨ç¤ºããã¦ããã§ãããé©å½ãããªãã¦ããããã¡ããã¨ããææ¨ï¼ã¦ã¼ã¶ã¼å¢å çã¨ãï¼ãåºãã¦å ±æããããªã¨æãã¾ãããèªåã§ä½ãã®ã¯é¢åãªã®ã§æ¢ãã¦ãããTeam Dashboardãrails + backborne.jsã§åºæ¥ã¦ã¦æé ãããï¼qnypããã®ããã°ã§ç¥ãã¾ããï¼ $ git clone git://github.com/fdietz/team_dashboard.git $ bundle $ cp config/database.example.yml config/database.yml $ rake db:create && rake db:migrate $ rake populate $ rails s ããã©ã«ãã¯mysqlãªã®ã§herokuã§åããããå ´åã¯
ããã«ã¡ã¯ãForkwell ã®ä¸ã®äººã大岡ï¼ãããï¼ã§ããååã®è¨äºããªã Forkwell ã¯ãªãªã¼ã¹åæ¥ã«ãµã¼ããã¦ã³ãç¹°ãè¿ããã®ããã®åé¿ã大ãããä¸æã¯ãããã³ããªã«å ¥ãã»ã©ã§æ£ç´é©ãã¾ããã Twitter ã ããã¯ãã¼ã¯ã³ã¡ã³ã ã§ãæè¦ãå¤ãããã ããã®ã§ãä»åã¯ããã«å¯¾ãããã©ãã¼ã®è¨äºãæ¸ãããã¨æãã¾ãã ä¸çªå¤ãã£ããæè¦ã¯ã æ¬å½ã« Unicorn ãæªãã£ãã®ããworker_proccesses ã®è¨å®å¤ãå°ããããã ããããªãã®ãã ã¡ããã¨åå 究æãã¦ãªãã®ã«ãUnicorn ãæªè ã«ããã®ã¯Â Unicorn ããããããã§ã(´ï¼Ïï¼`) ã¨ãã£ããã®ã§ããã 500ã¨ã©ã¼ãé »çºãåºããåå11æãããããPassenger ã¸ã®å ¥ãæ¿ãã決æããåå¾5æãããã¾ã§ã®ç´6æéãç§ãã¡ãè¡ã£ã¦ããã®ã¯ Webãµã¼ããã¢ããªã±ã¼ã·ã§ã³ãµã¼ããDBãµã¼ãã®
Twitter ã§ã¯å ±åæ¸ã¿ã§ãããæèãå ¥éChef Solo - Infrastructure as Codeããé人åºççããåºã¾ãããPDFãã¡ã¤ã«ãEPUBãã¡ã¤ã«ããã®ã¾ã¾æ¬²ãããã¨ããæ¹ã¯ãã²é人åºçä¼ãããããè³¼å ¥ãã ããã å ¥éChef Solo - Infrastructure as Codeãé»åæ¸ç±ãä¼è¤ç´ä¹ é人åºçä¼ çºè¡æ¥: 2013-03-22 対å¿ãã©ã¼ããã: EPUB, PDF é人åºçä¼ã§è©³ç´°ãè¦ã Kindle çãåºãã¦ã®ãã£ã¼ãããã¯ãåãã¦ããåãã£ãã®ã§ãããEPUB/PDFã§æ¬²ããï¼ã¨ããæ¹ã¯æã£ã¦ãããããã£ã¨å¤ãã¦ãå®éåºãã¦ã¿ããä»ç¾å¨ã§å ¨ä½ã®ç´20%å¼±ããããé人åºçä¼ããè³¼å ¥ããã¦ãã¾ããæè¡æ¸ã ãããã¨ããã®ããããã ãããªã¼ã¨æãã¾ãããããã¨ããããã¾ãã å¼ãç¶ã Kindle çããããããé¡ããã¾ãã å ¥éChef
ãªãã¹ãUIViewã使ããæç»ããã¨ããnibã使ããªãã¨ããiOSã¢ããªã®åä½ã軽快ã«ããããã®Tipsã¯æ°ããã©ãå®éã©ããããå¹æãããã ãããã£ã¦ãã¨ã調ã¹ãããã§ãInstrumentsã¯ããã©ããããã£ã¦ãã¨ã§ã¡ã¢ãªæ¶è²»éãUIViewã®æ°ãªã©ããè² è·ã示ããã©ã¡ã¼ã¿ãããªã¢ã«ã¿ã¤ã 表示ããã¯ã©ã¹ãä½ãã¾ããã ï¼ã¤ã¡ã¼ã¸ã¨ãã¦ã¯AS3ã§ããã¨ããã®Statsï¼ å梱ã®ãµã³ãã«ã³ã¼ããå®è¡ããã¨ããããªæãã§è¡¨ç¤ºããã¾ããï¼å·¦ä¸ã®é»ãã©ãã«ãStatsï¼ ãã©ã¡ã¼ã¿å 訳ã¯å¾è¿°ãã¾ãããã¡ã¢ãªãç´16MB使ç¨ãããã¥ã¼ãåè¨5ã¤ï¼UIViewãUIButtonãUIButtonä¸ã®UILabelãUIImageViewãStatsï¼ã«ãªã£ã¦ãããã¨ããããã¾ãã ã¾ããdraw imageãã¿ã³ãé£æããã¨CPUè² è·ã®å¤ãè¥å¹²ä¸ãããã¨ã確èªã§ãã¾ãã â»ã·ãã¥ã¬ã¼ã¿ã§ã®å®è¡çµ
2013å¹´3æ19æ¥ Tokyo Linux Study #5 #tlstudy ã®çºè¡¨ã¹ã©ã¤ãã§ãã ZABBIX(赤) à Munin(ç·) ãã©ããã¦ä¸¡æ¹ã使ãäºã«ãªã£ãã®ãï¼ã¨ãã話ããã¡ã¤ã³ã ãµãã¿ã¤ãã«ã@zembutsuããã¹ãã£ã³ã°ãµã¼ãã¹ã®ç£è¦ãã¯ã¼ãå¼·åãããã¨ãããã©ã¨ãã§ããªããã¨ã«ãªã話ã Read less
ãã§ããã¹ãã¼ã¸ã³ã°ç°å¢ã§ã¯ã¡ããã¨åãã¦ãã¾ãï¼ã ããè¨ããã¦ããåããçµé¨ãããã¾ããæ¥åã¢ããªã®ãã®ã¼ãªåä½ã社å ã®ã¨ã³ã¸ãã¢ã«ææããã¨ããããã¹ãç¨ã®ç°å¢ã§ã¯åãã¦ããã¨ããã®ã§ããããããã¼ããæ¬çªç°å¢ã®ã¢ããªã使ã£ã¦ãã¦ç¾ã«å°ã£ã¦ããã®ã§ããããç´ãã¦ã»ããã ããªãã§ããã©ãã¨ããã¨ããã§ããã¡ããã¨ã¹ãã¼ã¸ã³ã°ç°å¢ã§ã¯åãã¦ãã¾ããã使ãã«ãªã£ã¦ããã®ãChromeã®ããã§ãããChromeã§ã®åä½æ¤è¨¼ã¯ãã¦ãã¾ããï¼ããªããã¨ãããããªããåãã«çµ¶æãã¾ãããåå ã¯ãã©ã¦ã¶ã§ã¯ãªãããã¼ã¸ã§ã³ã¢ããããã¢ããªèªä½ã«ãã£ãã®ã§ãããã¹ãã¼ã¸ã³ã°ç°å¢ã§ã¯åé¡ãçºç¾ããªãã£ããã§ããã ã¨ããããã«ãéçºç°å¢ãã¹ãã¼ã¸ã³ã°ç°å¢ããããã¯ã·ã§ã³ç°å¢ï¼æ¬çªç°å¢ï¼ã®3ã¤ã¯ã大å°ãããããªéãããã£ã¦ãå®å ¨ã«ä¸è´ããããã¨ã¯é£ãããã®ã§ããæå ã®ç°å¢ã§åãã¦ããã¢ããªãããããã¯ã·ã§
2. èªå·±ç´¹ä» è åå æ° (@sgwr_dts) žï⯠ã¯ãã¯ããã(æ ª) / ã¤ã³ãã©ã¨ã³ã¸ã㢠âï⯠ãã¼ã¿ã»ã³ã¿ã¼ããAWSã¸ã®ç§»è¡ãæ å½ã ã¾ãã žï⯠OSSå ¬éãã¦ã¾ã âï⯠AWSãã¼ã« elasticfox-ec2tagï¼VPC対å¿æ¸ã¿ï¼ï¼ãIAM Foxã R53 Fox âï⯠Rubyã©ã¤ãã©ãªå種 http://rubygems.org/profiles/winebarrel
Amazon ELBããã¾ãã¤ããã«ã¯ãKeepAliveãæå¹ã«ããããTimeoutã¯60ç§ããã ãã¶é·ããããããã®èæ¯ã é¯ç®¡ã®ã¡ã¢å¸³: AWSã®ELBã§HealthyHostCountã0ã«ãªãã¨ããè¨äºã®ä¸ã§ â AWSã®ELBã¨Apacheã使ãéã®æ³¨æç¹ ã»Timeoutã¯120以ä¸ãæ¨å¥¨ ã»Apacheã®KeepAliveã¯æå¹ã«ãã¹ããELBã¨ã®æ¥ç¶å¹çããããã ã¨ããå½¢ã§ãã§ã«ããã¹ããã¨ã¯æ¸ãã¦ããã®ãããªããããªãããã(ããããã人ã¯å¾ã¯èªã¾ãªãã¦okï¼) æ ¹æ¬çãªçç±ã¨ãã¦ã¯ãELBã¯TCPãåã«ãªã¬ã¼ãã¦ããã®ã§ã¯ãªãã¦ãã¢ããªã±ã¼ã·ã§ã³ã¬ã¤ã¤ã®ãããã·ã§ãããã¨ã«ãããã®ã大ãããELBã¯ããã¯ã¨ã³ãã®EC2ã¨ã®éã§ç¡éä¿¡ã®å ´åã§ã60ç§ã¯ã»ãã·ã§ã³ãç¶æããã ELBã¯TCP Persistent Connectionãæä¾ããwebãµã¼ãã¨ã®éã®TCP
ããã«ã¡ã¯ãForkwell ã®ä¸ã®äººã大岡ï¼ãããï¼ã§ãã æ¬æ¥ã¯ããæ¥ããããªãã Forkwell ãªãªã¼ã¹åæ¥ã®å¤±æ ã«ã¤ãã¦ã詳細ãã話ãããã¨æãã¾ãã å½åããã®ã¦ã¼ã¶ã¼ã®æ¹ã¯ãåç¥ããããã¾ããããå é±4æ3æ¥ï¼ç«ï¼ã«Â Forkwell ããªãªã¼ã¹ãããéã殺å°ããã¢ã¯ã»ã¹ã®è² è·ã«èãåãããæ·±å¤ã¾ã§ãµã¼ããã¦ã³ãç¹°ãè¿ãã¾ããããªããããªãã¨ã«ãªã£ãã®ãã 端çã«è¨ãã°ããã¯ã«è² è·ãã¹ããè¡ã£ã¦ãªãã£ãããã¨ããã®ãçç¸ã¨ããéæããªãªããªã®ã§ããã åãã¦ã®æ £ããªããã£ã¬ã¯ã¿ã¼æ¥åã§é£æ¥ãµã¼ãã¹ãªãªã¼ã¹ã®ãã¨ã§é ãä¸æ¯ã«ãªã£ã¦ãã大岡ã¯ãè² è·ãã¹ãã®ãã¨ããã£ã½ãé ããæãã¦ãã¾ããã ç§ãéå»ãApache Bench ã JMeter ã§è² è·ãã¹ããè¡ã£ãçµé¨ã¯ãã¡ããä½åº¦ããã£ãã®ã§ãããä»åã¯ã¦ã½ã®ããã«ããããã£ã±ãå¿ãã¦ãã¾ã£ã¦ãã¾ããã ãã£ã¬ã¯ã¿ã¼æ¥åã«å
Ruby on Rails3ã§ä½æããã¢ããªãHerokuä¸ã§åããéã®ã¨ã©ã¼å¦çã«ã¤ãã¦ã®ã¾ã¨ãã§ãã ç°å¢ã¯ruby-1.9.3-p0, rails3.2.2, postgres, Herokuã§ãã é£æ度â â â ââ ã¯ããã« ãã®è¨äºã¯Herokuä¸ã§åãã¢ããªã®ã¨ã©ã¼ãã©ãæ±ããã試è¡é¯èª¤ããã¾ã¨ãã§ããæ£ç´ããã¾ãè¯ãæ¹æ³ã¨ã¯æããªãã£ãã®ã§ãããç¾å¨ã¯è¨äºã®å 容ã§å¯¾å¿ãã¦ãã¾ãã 対å¿æ¹æ³ ã¢ããªã«ä¾å¤ãçºçãããã¨ã©ã¼ã®ã¡ã¼ã«ãæãããã¨ã§ã¨ã©ã¼ã管çè ã確èªã§ããããã«ãã¾ããã exceptional_notificationã¨ããpluginãä¾å¤ãèªåãã£ãããã¦ã¡ã¼ã«ãæãã¦ãããã®ã§ãããç§ã®ã¢ããªã¯ç¬èªå¦çã§ä¾å¤ããã£ãããã¦ããã®ã§exceptional_notificationã使ç¨ã§ãã¾ããã§ããããªã®ã§ãèªåã§å®è£ ãããã¨ã«ãªãã¾ããã 詳細 Hero
ããã¯é¢ç½ãè¨äºã High Scalability - High Scalability - How Vimeo Saves 50% on EC2 by Playing a Smarter Game ï¼ï¼ ãããªãã©ã³ã¹ã³ã¼ãã£ã³ã°å¦çç¨ã®EC2ã¤ã³ã¹ã¿ã³ã¹è²»ç¨ããã¹ãããã¤ã³ã¹ã¿ã³ã¹ããªã³ããã³ãã¤ã³ã¹ã¿ã³ã¹ããªã¶ã¼ããã¤ã³ã¹ã¿ã³ã¹ãè³¢ãçµã¿åããããã¨ã§50%ãè²»ç¨ãåæ¸ãã¦ããã Vimeo on EC2 ãè¦ãã¨ãã®èãæ¹ããããããã®è³æã¯2011å¹´ã®ãã®ã ãããªã¶ã¼ããã¤ã³ã¹ã¿ã³ã¹ãã¼ã±ãããã§ããã®ã§ãå½¼ãã®æ¦ç¥ãå¤ãã£ã¦ããã ããã Vimeoã®ã¢ããã¼ã㯠é¾å¤ä»¥ä¸ã«bidããªããé¾å¤ã¯ãªã³ããã³ãä¾¡æ ¼ã®80%ã«è¨å® ãããªãã¨ããã 10以ä¸ã®ã¹ããããªã¯ã¨ã¹ããåºããªã ï¼æéåã®å¹³åä¾¡æ ¼ãã10%é«ãbidãã éãã¼ã¯æã®è² è·ã«å¿ è¦ãªã¶ãã ããªã¶ã¼ããè²·ã åªå
2. ïª åå ä¸æçä¸é ïª æå± GMOã¡ãã£ã¢æ ªå¼ä¼ç¤¾ ïª Twitteã¢ã«ã¦ã³ã s_nakamura ïª æ¥åå å®¹ï¼ ãã¤ã³ã管çãã¦ã¼ã¶ç®¡çãè¡ãBtoCåããµã¼ãã¹ã®éçº ã¨éç¨ã ãã®åã¯ããã°ã·ã¹ãã ã®éçºãéç¨ãæ å½ ã¡ã¤ã³è¨èªã¯Java ïª Rubyã¨ã®é¢ããï¼ Javaã®æ¬¡ã«å¦ã¶è¨èªã¨ãã¦å§ãããRubyã®æ¥½ããã«ãã㣠ãã èªå·±ç´¹ä»
ãã¨1ã¶æãããã°ããã¯ãªã¹ãã¹ã ãããã¦ã¾ã1å¹´ã¨1ã¶æãããã°æ¥å¹´ã®ã¯ãªã¹ãã¹ã ãã¢ã¬ã欲ãããã³ã¬ã欲ãããã§ããæ¬å½ã«æ¬²ããã¢ãã£ã¦ä½ã ã£ãï¼æ¬²ããã¢ããèããã¦ãããã«çãã¦ããåä¾ã®é ãæ³ãã¨ãã»ã©ã«ãèªåã®æ¬²ããã¢ããããããªããªããããã¦ãã¬ãã·ã£ã¼ããããã¨ãæããããããããã¨çãã¦ãã¾ããåã®æ¬²ããã¢ãã¯ä½ãªãã ããã ããã ããµã¼ãã¼ã ããµã¼ãã¼ã欲ããã£ããã ãåã¯ãã£ã¨ãµã¼ãã¼ãæ¢ãã¦ãããæã¯Railsãåãã¬ã³ã¿ã«ãµã¼ãã¼ãªãã¦ãªãã£ããå°æãµã¼ãã¼ãåãããéãªã©ãªããããªãããã®525åã®å ±ç¨ãµã¼ãã¼ã¯å½æã¨ãã¦ã¯çããRubyã®CGIãåããã®ã§ã妻å義ã§ç³ãè¾¼ãã§ï¼ããããªããï¼ï¼ãRailsãCGIã¢ã¼ãã§åããã¦ã¯ç»é¢é·ç§»ãããã³ã«10ç§ãããåããªãç»é¢ãè¦ã¤ããããã¦ãããæè¿ã¯ãServersMan@VPSã490åã§ä½¿ãã¦å®ããã ãã©ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}