RailsLab: Load Testing – Part 2

If you want to know if your application can scale before it actually gets the traffic spike, then you need to learn how to do Load Testing. Thankfully I just released Load Testing – Part 2 of the Scaling Rails screencast series. If you haven’t seen the first video on Load Testing, you should probably start there.


Summary

In this second Load Testing Screencast we pickup where we left off with the first load testing screencast and learn how to use httperf load testing with sessions, how to automate our httperf testing using autobench, how to graph the results from autobench, and lastly we talk briefly about a few other load testing tools you might want to be aware of.

Don’t forget to subscribe to the screencast RSS feed or grab it on ITunes to avoid missing any of these episodes. FYI, These videos look great on an iPhone / iPod if you want something to watch on the go.

Images: 
Dave Thomas | Rails Fire

Dave Thomas

Upcoming Travel and Speaking Engagements

I gave myself a little break this spring and early summer, but the pace is about to pick up again. The rest of the year is looking pretty busy. Here’s what the rest of this year looks like so far. If you’re a reader of this weblog, consider stopping by to say hello.

On JRuby’s importance for the future of Ruby

In a recent blog entry, Charles Nutter argues about the importance of JRuby for Ruby’s adoption within the Enterprise. Or, in his own words:

Discussing code reading and testing with Dave Thomas, Cory Foy and Tim Bray

Pat Eyler just published an interview/discussion with Dave Thomas, Cory Foy, Tim Bray and I on the subject of code reading and testing legacy code. I think the resulting article is a very interesting read with a lot of insight (thanks to the other participants). It was a fun discussion which left me feeling honored to be among such distinguished people.

Reading and Testing Your Legacy Code

In this week's installment of Questions Five Ways, we're talking about testing and code reading as tools for dealing with legacy code. This week's participants are Cory Foy (@cory_foy), Dave Thomas (@PragDave), Antonio Cangiano (@acangiano), and Tim Bray (@timbray).What is the relationship between testing and code reading when dealing with legacy code, and how can we use the two processes to

Charlie Nutter on JRuby

It's taking a while to go through all the excellent talk proposals and try to fit in as many as possible into the schedule. In the mean time, I had a quick chat with Charlie Nutter, who will be speaking at the conference. Charlie is co-lead on the JRuby project.

Interview: Author Dave Thomas

Our Book Promotion: “Programming Ruby 1.9” starts soon. Win one of four books to be given out for active participation. The coolest thing? Author Dave Thomas will be on site to answer questions! Click here for more details. Here, in this brief interview, Satish Talim of RubyLearning talks to Dave Thomas.

Dave Thomas

Book Promotion: Programming Ruby 1.9

Book Promotion: Programming Ruby 1.9

RubyLearning is pleased to announce the promotion of the book “Programming Ruby 1.9” by author Dave Thomas.

Programming Ruby 1.9

Scotland On Rails Presentations Now Online: 27 Awesome Videos

Did you miss the Scotland on Rails conference this year? No need to fret though, as Engine Yard are hosting videos of all the presentations made at this popular conference.

Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature

fibers.pngNew to Ruby 1.9 is the concept of fibers. Fibers are light-weight (green) threads with manual, cooperative scheduling, rather than the preemptive scheduling of Ruby 1.8's threads. Since Ruby 1.9's threads exist at the system level, fibers are, in a way, Ruby 1.9's answer to Ruby 1.8's green threads, but lacking the pre-emptive scheduling.

20 Rails Development No-No's

Yesterday, I asked Twitter:

Rails programmers: what's an example of one thing you find in other people's Rails 
code that you (almost) always consider to be wrong?

Quite a few people responded, and several asked if I’d post the aggregated answers. Here’s an attempt. I don’t necessarily agree with everything here. I’d love to hear more of these in the comments.

1. Code in Views

@greg_fu

Syndicate content