November 19, 2008

Ruby hailed as economic solution, offering smaller investment and less risk

Rails and Merb frameworks also highlighted at QCon conference

Advocates for the Ruby programming language on Wednesday hailed its usefulness as an enterprise application development option, especially in a down economy.

The Merb framework for Ruby also was championed, during a session at the QCon conference in San Francisco. Speakers also defended Ruby and the Ruby on Rails framework against critics citing slow performance and scalability problems.

Ruby serves as an alternative for companies seeking more affordable software development, said speaker Greg Pollack, CTO at Rails Envy, which offers Rails-related services.

"With Ruby, I can write less code to do more things, and I can probably give them a more affordable option," offering a smaller initial investment and less risk, Pollack said.

Rails applications can be scaled via techniques such as the memcached application, Pollack said in an interview after his presentation. "Really, the way you scale Rails is just like you scale any other Web app," he said.

Ruby reaches beyond the Web, Pollack said. It is being used to generate music and to maintain Linux boxes, as well as for graphics and desktop clients, he said.

Merb, which is based on Model View Controller (MVC), offers an option to the widely known Rails framework, according to speaker Matt Aimonetti, a Merb evangelist.

"Merb meets the enterprise needs because of the cost, adaptability, and scalability," said Aimonetti, who nonetheless defended Ruby on Rails in benchmark tests he detailed. Tested against other frameworks such as the PHP-based CodeIgniter, Rails scored 88 requests per second (rps) while CodeIgniter was 98.2 rps, Aimonetti said.

"Really, Rails is not that slow. It's actually pretty close to the fastest PHP framework," Aimonetti said.

Ruby, meanwhile, is fast in real-life Web benchmarks, he said. "Ruby as a language might be a bit slow, it's true, but when you use it on the Web, it's actually fast," said Aimonetti

Merb, he said, is "very suited for the enterprise world but not only [the enterprise]." It is "the fastest Ruby framework we have right now," Aimonetti said.

The technology offers the concept of Merb "slices," which serve as stand-alone miniature applications that can be mounted inside other applications, he said. Merb offers modularity and flexibility, said Aimonetti.

Merb 2.0, due within a year, will feature optimization in how requests are served and also target rapid prototyping.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.