Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    RailsConf 2011: Aaron Patterson, "Double Dream Hands: So Intense!"

    O'Reilly

    1 HN recommender · recommended in 4 months, 2011–2012

    YouTube

    47:34 · 26K views · May 18, 2011

    Aaron Patterson's RailsConf 2011 talk on Rails 3.1 performance, showing why deeper Rack middleware stacks slow Rails and how a shallower pipeline helps. It also touches on Rack API design.

    Cited in Rails performance and Rack design discussions for Patterson's analysis of stack depth and garbage collection.

    Software Engineering & LanguagesPython, Ruby & scripting languagesSoftware performance & optimizationWeb development
    1. 59:11
      How to Speed up a Python Program 114,000 times.InfoQ171K views • 13 years ago
    2. 35:42
      Progressive Performance (Chrome Dev Summit 2016)Chrome for Developers34K views • 9 years ago
    3. 37:37
      RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam StephensonConfreaks61K views • 10 years ago
    4. 28:34
      RailsConf 2016 - Rails to Phoenix by Brian CardarellaConfreaks12K views • 10 years ago
    5. 38:47
      RailsConf 2014 - All the Little Things by Sandi MetzConfreaks190K views • 12 years ago
    6. 49:55
      How Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach!20K views • 10 years ago
    7. 46:10
      Understanding the Python GILDavid Beazley127K views • 14 years ago
    8. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    9. 53:12
      Yehuda Katz - Why Rails is Hard (Railsberry 2012)applicake29K views • 14 years ago
    10. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    11. 2:50:14
      Simple Code, High PerformanceMolly Rocket464K views • 5 years ago
    12. 42:44
      Armin Ronacher - A Python for Future GenerationsEuroPython Conference6.2K views • 9 years ago
    13. 25:52
      Halide TalkAndrew Adams53K views • 12 years ago
    14. 35:53
      RailsConf 2015 - Nothing is SomethingConfreaks84K views • 11 years ago
    15. 30:37
      High-performance Tree Wrangling, the APL Way // Aaron Hsu // Dyalog '18Dyalog User Meetings5.8K views • 7 years ago
    16. 29:47
      The Truth about Rust/WebAssembly PerformanceGreg Johnston218K views • 3 years ago
    17. 1:01:17
      RailsConf 2014 - Keynote: Writing Software by David Heinemeier HanssonConfreaks123K views • 12 years ago
    18. 1:24:39
      Mojo Lang - Tomorrow's High Performance Python? (with Chris Lattner)Developer Voices64K views • 2 years ago
    19. 1:00:34
      High Performance Web Sites and YSlowGoogle TechTalks90K views • 18 years ago
    20. 56:23
      Speed Up Your JavaScriptGoogle TechTalks136K views • 17 years ago

    5 comments from Hacker News

    1. @maercsratsJul 2011· in “Rails 3.1.0 to be released on 22nd August”

      There is a talk by Aaron Patterson from RailsConf talking about why rails 3.1 is slower than rails 3 and rails 2.3. Basically the rack pipeline is getting deeper. Because rack is so simplistic every request requires you going through that pipeline and back again. His solution is to break up the pipeline into 3 separate types: generators, filters (for response data), and lifecycle hooks. Doing this brought the speed back up to rails 2.3 speeds and a bit faster in some instances. But those were early numbers. You can see his talk here: this video The interesting stuff happens around the 20 min. mark. Overall, there are a lot of people who want to make ruby better and faster. Rubinius, Jruby and MacRuby are all examples. There are also people who want to make Rails faster. They are examining the slower parts (active record, rack, etc) and working to make it better.

      RecommendsView on HN
    2. @mdasenJul 2011· in “Ask HN: Where is the Django community?”

      I don't want to be defending the OP's position, but. . . settings.py is a mess. Even Simon's written a post bashing it ( [LINK] ). I cringe a little starting up a project and having to dive into the settings.py file. In some ways, Django tries to be flexible, but it's clumsy. For example, you can have your templates in your app directories. So, you have /path/to/project/posts/templates and /path/to/project/people/templates. However, you can't just put your templates in there because Django doesn't namespace them. Like, if I do {% extends "people/base.html" %} it will look in both those template directories for a people folder. It won't be like, "oh, I should look in /path/to/project/people/templates/base.html". I have to put the template in /path/to/project/people/templates/people/base.html. That's clumsy. urls.py is another flexible/clumsy thing (IMO). Django wants me to write a regexp for the simple cases. It's kludgy to do r'^people/(?P<id>\d+)/?$' just to have a URL with an ID in it. And other frameworks have been able to offer the power of regexps for the case where you want them while making the common cases a lot easier. Django caches certain things and if you try to change it at runtime, well, it doesn't change. Django's reusable apps aren't that reusable. They were a lot more reusable than Rails' apps, but the Rails team has worked on that a lot - especially with 3.1 and how each app can have its own assets (images/css/js) all namespaced and neat and tidy. There isn'

      CitesView on HN
    3. @getsatSep 2011· in “CoderTalk - Episode 5. Has Rails Lost It's Rails? Slow Rails Test, etc.”

      In Aaron Patterson's recent "Double Dream Hands: So Intense!" presentation[0], he came to the conclusion that Rails 3's slowness is because MRI sucks at GC on a deep stack depth. The average stack depth of Rails 3 applications is ENORMOUS. He mentions in the video that he rewrote the Rack API to pass a mutated var to the next piece of middleware in the Rack chain instead of calling the next middleware and passing an env var to it. The gains were pretty impressive. Hopefully, they make this change to the Rack API for Rails 3.2. That change + the 1.9.3 fix for requiring files[1] should result in much faster overall Rails performance. [0] this video [1] [LINK]

      CitesView on HN
    4. @getsatDec 2011· in “Rails master is now 4.0.0.beta; Ruby 1.8.7 support dropped”

      As the number of Rack middleware pieces in a base Rails app grows, it gets slower. MRI and YARV spend a lot more time doing GC as the stack depth grows. Aaron Patterson mentioned that he was working on a modification to the Rack API where each piece of middleware did not call the next piece, reducing the stack depth and drastically improving the runtime performance of Rails apps. Here's the video where he talks about it (towards the beginning): this video

      CitesView on HN
    5. @jonsmockJun 2012· in “Why your web framework should not adopt Rack API”

      Nice article, Jose! For those interested, Aaron Patterson (tenderlove) talks about this in his RailsConf talk, starting at 26:45. this video

      CitesView on HN