Jazz, Innovation, and Scripting

Maybe you figured out that I love jazz. I enjoy many musical genres, and musical styles, but lately I’ve been really exploring jazz. In a recent article I described jazz as being full of  images, mirrors, and reflections.  Jazz is like a bridge — always going from someplace to another place. Jazz is always asking questions, bending notes, refactoring routines, revisiting and revising themes, and making analogies. Jazz energizes me with its innovative musical poetry of patterns, parallels and allegories.

Jazz Piano Art - found at Detroit River Days

Jazz Piano Art - found at Detroit River Days

Back in April, I started talking about creativity, innovation, improvisation … and how it relates to jazz and the blues… meditating on the mysteries of musical creativity  … compared to creativity , innovation, and risk taking in other domains (like art, architecture, design, entrepreneurship, computer programming, product design, web design, etc.) … pondering the amazing results that often happen when a skilled musician begins  to improvise with a good idea and the right attitude.

Surprising success and fantastic results can happen in your life (or your business) when you understand how it all works.  Innovation – It’s not a new idea, and I’m not the only one talking about this. I’m just improvising on a great theme.

Nick Sieger (no relation to the Detroit rocker Bob Seger) wrote a great article in July called Jazzers and Programmers. I found Nick’s article while researching some things about Ruby on Rails, and JRuby.  NIck describes the history and styles of jazz and compares it to the history and styles of programming. He talks about jazz fundamentals, and compares the rhythm section (piano, bass, and drums)  to programming libraries, frameworks, and patterns. He compares Bass-Drums-Piano to Model-View-Controller. It’s really great stuff — and even includes a musical score from one of the jazz standards, Blue Monk.

Nick spiced up the article with nifty quotes from famous jazz musicians like: “It’s taken me my whole life to know what not to play” – Dizzy Gillespie … “Anyone can make the simple complicated. Creativity is making the complicated simple” – Charles Mingus  …  I won’t steal anymore of Nick’s thunder. Go read the whole article.

Are you catching my drift? We’re not done with this jam session yet. I’m just taking a breather in between songs.

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.

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 !