Slides for Ruby on Ales 2015 talk "The Recipe for the World's Largest Rails Monolith" https://ruby.onales.com/speakers#therecipefortheworldslargestrailsâ¦
å æ¥ISUCONãè¡ããã¦ããã ãã¯ã¯åºå ´ãã¦ãªãã¦ãTwitterãã観æ¦ãã¦ããã ãã ã£ããã ãã©isuconã¿ã°ãçºãã¦ããã¨ä»¥ä¸ã®ã¹ã©ã¤ããæµãã¦ããã ä»å2ä½ã ã£ãpixivãã¼ã ã®katatsuyãããisuconåã«ä½ã£ã¦ããç¥è³æãããã èªãã§ã¿ããããªãã»ã©ãåºåãµã¼ãã¼ã®æ§ç¯æã®è¦å´ãç¥è¦ãç´ æ´ãããã¾ã¨ã¾ã£ã¦ããã ã§ãã¹ã©ã¤ãã®æå¾ã®ã»ãã«ããããã®æ¸ç±ãè¨ããã¦ã¦ããã«ããªãã»ã©Unixããã»ã¹ - Rubyã§å¦ã¶Unixã®åºç¤ãããã£ãã®ã§è³¼å ¥ãã¦èªãã§ã¿ãã 親ããã»ã¹ãåããã»ã¹ãforkããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãã¾ã³ãããã»ã¹ããã¼ã¢ã³ããã»ã¹ãããã»ã¹ã°ã«ã¼ããã»ãã·ã§ã³ã°ã«ã¼ããã·ã°ãã«ãã¹ããªã¼ã ããã¤ããIPCãã½ã±ãããã³ãã¼ãªã³ã©ã¤ã ãããã®ç¨èªã®ä¸ã§èª¬æã§ããªãè¨èãããRubyã¨ã³ã¸ãã¢ã¯ãã®æ¬ãèªãã¨è¯ãã ã©ããUnixããã°ã©
Originally presented at Baruco 2014. Updated for RubyConf Portugal 2014. Video here: https://www.youtube.com/watch?v=fGFM_UrSp70.
11. hprof: JVMæ¨æº ãããã¡ã¤ã© ⢠jvmãªãã·ã§ã³ã¤ãã¦sbt compile ⢠çµæã¯java.hprof.txtã«åºåããã¾ ã $ sbt -J-agentlib:hprof=cpu=samples,depth=5 clean compile 12. çµæè¦ã ⢠depth=5ã§èã解æ ⢠ã¯ã©ã¹ã®ãã¼ãã大éã«ããã¦ããâ¦â¦? rank self accum count trace method 1 12.04% 12.04% 2158 300093 java.util.zip.ZipFile.getEntry 2 9.90% 21.95% 1775 300065 java.lang.Throwable.fillInStackTrace 3 7.21% 29.16% 1293 303874 java.lang.Class.forName0 4 5.40% 3
大æ±æ¸Rubyä¼è°03ã®æå¾ è¬æ¼ã¨ãã¦çºè¡¨ãã¦ãã¾ããããã®ããã£ãã§ãï¼ï¼ æ¡å³¶ãRubyãããã£ã¦ã from Narihiro Nakamura ãæãã£ããã¨ã¢ãï¼emotionalï¼ãã³ã¼ããä¸è¡ãåºã¦ããªããã¬ã¼ã³ããRubyKaigiç³»åã§ä¸åº¦ãã£ã¦ã¿ããã¨ããæãããããä¸è¨ã®ãããªãã¿ãèãã¦ã¿ã¾ããã ãã ãããªãå¹ åºã層ã«è¦ãããï¼å¤åRubyistãåå¿è Rubyistãã³ããã¿ï¼ãã¨ãããããããã®å±¤ã«ã楽ããã§ãããã話ã«ããªããã°ãã¨æã£ã¦ãã ãã¶ãã¿ãç·´ãã¾ããã ç¹ã«è¶ 練度ãé«ãRubyistãã¡ã«ã©ã®ããã«åãå ¥ãããããå¿é ã§ã¯ãã£ãã®ã§ãããartonãããå³ããã«ãé¢ç½ãã£ããã¨è¨ã£ã¦ãããã¦ããã¨ãã¾ããã æ親ä¼çã§ã¯ããããããã¨ã«ã¿ãªãããã絶è³ç³»ã®ã³ã¡ã³ããããã ããã¨ãå¤ããéã«å¿é ã«ãªããããã ã£ãã®ã§ããã©ãakrããã ãã¯ãç®çãª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}