Rails Roundup – New Relic and Insoshi – Good Dogfood

Scenario: You are finally convinced that Ruby on Rails is a great platform for building web applications, and so you try it out and build this awesome new website in only 3 weeks of development. You launch version 0.99 beta and everyone thinks it’s cool. Maybe it’s something like Insoshi, or Twitter. (Insoshi is hot new social networking platform (FOSS) written in Ruby on Rails (RoR). Yes, they eat their own dog food.)

Scene 2: TechCrunch posts an article telling the world about your cool RoR Open Source Social Networking stuff. This is great free publicity, but can your application handle the TechCrunch effect? Will your RoR Social Networking application be able to handle the spike in traffic? Can you handle the success of becoming a very popular new application? (Rumor mill… Twitter is having scaling problems… said to be abandoning Ruby on Rails. However DHH, the master architect of RoR, joined Twitter as D2H on 29-Apr-2008, and instantly had over 1200 followers.)

Scene 3: Slashdot comes back online after being down for 5 hours, and someone posts an article about your hot beta site — sez its cool. Will it suffer from the Slashdot effect? How will your application perform under peak load? Does it scale up to handle thousands or millions of hits per hour?

Scene 4: You can’t handle the TechCrunch effect and Slashdot effect all on the same day. Your web site crashes and burns. Your dream, website, and reputation is ruined — all in one day.

Scene 5: You wake up from the nightmare. It was only dream. It’s morning. You make some coffee and read the technology news. You check out the new Ruby on Rails performance monitoring tool from New Relic, and you listen to the Mashable podcast interview of Lew Cirne, founder and CEO of New Relic. Lew says they wrote the New Relic performance monitoring tool using Ruby, so he’s proud to say they eat their own dog food.

Scene 6: You get back to work — a little wiser.

Earth Day 2008 – Another Day on the Priviledged Planet

Google Earth Day 2008 logo

Google goes green today with an alternate logo to celebrate Earth Day, which the USA started celebrating on April 22, 1970.

Michael Arrington says Twitter is now such a vital part of the technology ecology, that service outages barely matter, and as he says “I need Twitter more than Twitter needs me.”

Wired Magazine looks back to frightful days in World War I, remembering the trench warfare — chemical weapons; poison gas — on this day in 1915.

I’m thankful to be alive on the privileged planet today, and I realize that every breath is a gift. I need the earth more than the earth needs me… I need more oxygen, just like SlashDot needs more electricity to keep the creation/evolution debate going.

Yesterday, WordPress wizard Matt Mullenweg, jazzed up his blog with a new spring theme. I wonder if he designed it that way, or it just evolved by itself.

Matthew Mullenweg\'s new spring theme

Zeldman (ALA) published a couple interesting and helpful articles on the Why and How of Ruby on Rails this morning.

Creating new stuff isn’t easy. Meticulous and beautiful designs don’t just happen by accident. Computer programs don’t write themselves. However, some scientists (like Richard Dawkins) theorize that DNA wrote itself. So, if you follow that theory, you can Twine your PC to some random Twitter feeds, go to the beach all afternoon, and when you get back, your new Ruby on Rails program will have written itself. Try explaining that one to your boss. Or better yet, find some VCs who will invest in it. (The only catch is that they might have to wait billions and billions of years for the ROI). That plan might work for you… but for programmers looking for some good advice today, you might want to check out StackOverflow.com (a new advice service for programmers) — from Joel Spolsky and Jeff Atwood.

Back to the Planet – After a flaming descent, and a “scary crash landing”, Korean, Russian, and American astronauts are glad to be back on planet earth after a visit to the International Space Station. Yi So-yeon, a nano-technology engineer from Seoul, Korea — spent 11 days in space. Peggy Whitson had been gone for 192 days (and needed help walking), and now Peggy holds the American record for most days lived in outer space — 377 days.

Ruby on Rails vs Java – RailsEnvy Video

Gregg Pollack and Jason Seifer from RailsEnvy.com do some Ruby on Rails commercials in the same style of the Mac vs PC ads. Videos produced by Jason Hawkins of MakeFilmWork.com.

The video is kind of funny, and does reveal some tidbits of truth about the complexity of enterprise java development. But those who have been reading about Ruby and JRuby for a while realize that you can run Ruby and Ruby On Rails with Java.

But if you think about it… guess that goes to show you there’s a-lotta-truth here.

Thin

Thin is a Ruby web server that glues together 3 Ruby libraries:

  1. the Mongrel parser, the root of Mongrel speed and security
  2. Event Machine, I/O library with high scalability, performance and stability
  3. Rack, a minimal interface between webservers and Ruby frameworks

So, Thin is the new dog in town. Did I mention that Thin is fast and flexible?

Chart compares performance of WebBrick, Mongrel,  EventM, and Thin

Thank-you Marc Cournoyer !