Slides for my RailsConf talk: "Scaling a Rails Application from the Bottom Up"

Thank you all 200-300ish people that showed up for my talk this morning.

Here’s the slides.

10 Comments

  1. Posted May 18, 2007 at 4:42 am | Permalink

    I did not attend, so I have a belated question about slide 75. The Force10 E300 appears to be a 132-port switch, not 48-port. And aren’t those things kinda expensive? Do they have some specific feature that you really like?

    I may have room in my budget this year to replace some circa 2001 BlackDiamonds, so I’m interested in such things.

    BTW, thanks for the info about $/Amp.

  2. Posted May 18, 2007 at 5:43 am | Permalink

    Jason, you never cease to amaze me at the amount of information you can uptake, and relate it to those of us who don’t have the luxury of your brain.

    Thanks for posting this up, it helps out a tremendous amount.

  3. Posted May 18, 2007 at 7:50 am | Permalink

    Can you say more on why Ruby should be process-based, for the benefit of those of us you didn’t see you talk?

  4. Posted May 18, 2007 at 3:17 pm | Permalink

    I imagine it’s because:

    1. Threads are hard to do right.
    2. Context switching between processes isn’t likely to be your bottleneck.

    But I’m not that smart. Someone else chime in please.

  5. Posted May 18, 2007 at 6:57 pm | Permalink

    Thanks for the talk. I have one comment, and one question.

    You are right to say that the app server may not be your bottleneck. It was very informative to be reminded of the dozens of other places you should look. But having eliminated all the others (and deciding you can’t afford Big IP:), what if the app server is your bottleneck? Is it conceivable that a Java solution may scale better than your Ruby solution? It is true that you can make anything perform if you have the time, money and inclination. But if you don’t, you may have to choose application software on the basis of performance. I could produce a more scalable web app on Java and Linux than VB.NET and Windows – but there are people in Redmond who could do the opposite! But could I produce a Rails solution on Linux which at least approaches the performance of the Java solution, all other things being equal? That is what I am trying to find out.

    The other thing is, you showed a really cool configuration trick where you had `hostname` backticked in a YAML file so hundreds of mongrels could read the same file. How do you get Ruby to understand the backticks? I tried `hostname` in database.yml and it didn’t work. Thanks for any information.

  6. Posted May 18, 2007 at 10:41 pm | Permalink

    Jason, I’m smiling.

    Glad to see the inner biologist is still lurking on slide 188.

  7. Posted May 21, 2007 at 2:16 am | Permalink

    Nice article.

    Question though. What are your thoughts on Amazon’s EC2 compute cloud and S3 storage services. They sound appealing from a scalability point of view.

  8. Posted May 22, 2007 at 5:11 pm | Permalink

    Great article Jason. Thanks for sharing

  9. Posted May 23, 2007 at 8:57 pm | Permalink

    Hi Jason, its very very nice to see this amount of awesomely organized and useful data gathered and processed for us. You know, I’m an small fish alone in a fishbowl trying to learn and put the BlogBlogs up and running. Joyent is helping me a lot and our small talk on the phone is now driving my next steps. I hope than one day I can star worrying about some of the problems you presented nice solutions on your presentation.
    Thanks for sharing!!!

  10. Posted December 10, 2007 at 11:05 pm | Permalink

    Jason, thanks for the great talk. I have been trying to locate my written notes but have since moved office….

    During the Q & A at the end, you mentioned the best OS in your experience for running a single server. I think you mentioned FreeBSD. Can you please confirm? And what version? Thanks for any information.


Post a Comment

You must be logged in to post a comment.
Follow

Get every new post delivered to your Inbox.

Join 38 other followers