• On TechRepublic: 10 cool USB flash drive tricks
October 20, 2009 10:00 PM PDT

Jruby powers Gilt.com luxury shopping

by Dave Rosenberg
  • Font size
  • Print
  • 2 comments

Jruby (Credit: Jruby)
JRuby is a relatively new high-performance Java implementation of the Ruby language that is showing increasing popularity among Java developers looking for additional productive frameworks.

JRuby allows for the incremental adoption of the Ruby language by allowing easy integration with existing Java libraries. It also lets Ruby and Rails applications to run easily on existing Java application servers that have been selected as standards within an organization.

I've been somewhat dismissive of Ruby as a language but there are more and more examples of large websites running extremely well. In fact RubyConf (already sold out) and JRubyConf are both seeing significant interest from developers for the upcoming events in San Francisco.

In the Q&A below I discuss how Jruby powers shopping site Gilt.com with CTO and co-founder Michael Bryzek.

If you are not familiar, Gilt Groupe has an interesting business model, somewhere between eBay and Woot, offering invitation-only sales of high-end fashion and luxury brands for men, women, and children. The site deals with unique spikes in traffic when new items are released as well as when an item becomes extremely popular. Accordingly, the IT infrastructure needs to be able to scale and burst in order to meet customer demands.

How do you use JRuby at Gilt Groupe and why has it been the best solution?
Bryzek: We developed an internal framework dubbed "Blackbird" that really became our platform for high performance, scalable Web applications. The environment is focused on delivering the user interface for highly concurrent web applications focused directly on overall performance. JRuby allows us to leverage very good and mature libraries in java (e.g. Concurrency, HTTPClient, etc.) while allowing us to write and expose elegant APIs written in the Ruby way. We've also been able to share our ruby libraries directly across all of our CRuby and JRuby applications.

What got you interested initially and how long have you been using JRuby?
Bryzek: We wrote the first version of Gilt.com on Ruby on Rails, and really liked the overall programming environment. As our business and traffic grew rapidly, we needed to invest in alternate ways to quickly scale the technology stack. JRuby provided a great opportunity to scale our web applications through a real focus on performance and scalability while maintaining much of the environment that we loved from the ruby on rails community.

How would you like to see JRuby evolve?
Bryzek: Currently, we're really excited about and focused on a production-ready Ruby on Rails 3.0 deployment on JRuby. All the work to date is showing that the modularity and core modules in rails 3.0 will take advantage of the great performance and scalability in JRuby.

How did you decide to participate in JRubyConf?
Bryzek: We're committed to supporting the communities that have made it possible for us to develop the technology behind Gilt.com. We're looking forward to meeting other JRuby enthusiasts, learning about new projects, and brainstorming how we can help the community continue to grow.

Dave Rosenberg dishes up "Software, Interrupted" with nearly 15 years of technology and marketing experience that spans from Bell Labs to multiple start-up IPOs to open-source enterprise software companies. He is co-founder of MuleSource and currently serves as the general manager of Hardy Way. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can contact Dave via e-mail at softwareinterrupted@gmail.com or follow him on Twitter @daveofdoom.
Recent posts from Software, Interrupted
Nintendo launches paid video content for Wii
Analyst: Money transfer soon to be No. 1 phone app
Apple's App Store review irking developers
Moving to the virtual layer (and taking advantage of the cloud)
Why Windows Mobile and Palm will continue to fail
Is Ohai the next big thing in social games?
Managing your mobile data sync
Security considerations for virtual environments
Add a Comment (Log in or register)
by pentest October 21, 2009 9:09 AM PDT
That you think Ruby is only for websites, shows you should not be commenting on Ruby.

The only advantages of JRuby is easy access to the Java API's and the JVM. That means near native execution speed(Java can run faster than native in some cases, I am not sure if that holds true for JRuby), and access to the infinetely more elegant Ruby syntax.

The latter will be less of an advantage as Ruby 2 moves along. You can't just move Ruby and RoR code over to JRuby, there is some overhead in it, and JRuby is not quite ready for prime time, but moving along quickly.
Reply to this comment
by daverosenberg October 21, 2009 9:45 AM PDT
Not sure where I said Ruby is only for websites, though webapps are the common use-case.
Reply to this comment
advertisement
Click Here

The 411 on early-termination fees

Verizon Wireless has doubled its early-termination fees for smartphones, but what does it mean for the rest of the industry?

Google has its own plan for Netbooks

No, the search giant isn't saying it will build a Netbook. But it sure knows what it would like one running Chrome OS to resemble, and that's a little different from the Netbook of today.
• Screenshot tour of Chrome OS

advertisement

About Software, Interrupted

In "Software, Interrupted," Dave Rosenberg discusses disruption in the software market, as well as the products and services that keep business technology norms in perpetual flux.

With nearly 15 years of technology and marketing experience spanning from Bell Labs to multiple start-up IPOs, Dave co-founded open-source software company MuleSource and now serves as general manager of Hardy Way. He also happens to be a U.S. patent holder and a workaholic. Technology is his best friend and mortal enemy.

Add this feed to your online news reader

Software, Interrupted topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right