1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Cloud Computing and Ruby: Interviewing Dave Vandervort

By

Why are cloud computing and Ruby on Rails a good match? Let's hear what Dave Vandervort of Xerox Innovation Group has to say!

Why are Ruby and cloud computing a good match? Basically: why Ruby? :

Ruby is currently the best of the dynamic languages. It is 100% object oriented. It’s syntax is extremely clear and concise. It supports powerful high end capabilities such as closures, recursion and lambdas (functional programming). Ruby’s reflection and macro programming capabilities are very advanced, allowing implementation of domain specific languages that allow programming to be logically expressive.

What that all boils down to is one of the most common things you hear Ruby programmer’s say about using the language: “It makes me happy.”

Are there certain applications you think run better in Ruby?:

I’ve used Ruby for automating system administration and text processing tasks that I used to do in Perl. That’s how I got started with Ruby. It’s flexibility and ability to handle domain specific languages made it excellent for rapid development, prototypes and one-offs.

That said, when I found out how easy it was to develop web applications with Ruby on Rails, I abandoned PHP, which I had used happily for years, and never looked back. Rails has built in testing, a highly logical layout and moves annoying bits like DB queries into an abstraction layer where the programmer doesn’t have to worry about them.

What about the frameworks you use for deployment?:

[With Rails] you can concentrate on the application logic and let the web application flow from that, instead of trying to hammer all the little pieces into place yourself. Note that in my early Ruby work I never used it for the web. Rails changed that.

They all have their good points. I’ve played with several other frameworks but for major work I stick with Rails, itself. I am very much looking forward, though, to the upcoming merge between Merb and Rails. Merb is important and will extend Rails considerably.

What support is provided for code migration when there are major updates?:

There are always good release notes and mailing lists. Rails is pretty good about releasing incremental changes that don’t break too much functionality. The community is extremely good about communication. Railscasts just released a (free) screencast about what’s new in 2.3.

Scalability has been a concern about Rails. Can you address this?:

Scalability comes from more than CPUs. Slave db servers, separation of concerns – such as having a Db for updates and a different one (one slaved to the other) for reads – smart caching and query optimization are far more powerful scaling tools for ANY platform than merely throwing more CPUs at the system. Also, since the release last year of Phusion Passenger (mod_rails), funneling Rails applications through Apache is easy, which eases scaling problems that used to be common with mongrel or some other servers that have been used. Rails can scale with the best of them and better than some.
  1. About.com
  2. Technology
  3. Ruby
  4. Reviews
  5. Cloud Computing
  6. Q&A With Industry Experts
  7. Cloud Computing and Ruby

©2014 About.com. All rights reserved.