October 20, 2009 10:00 PM PDT

Jruby powers Gilt.com luxury shopping

by Dave Rosenberg
  • Font size
  • Print
  • 3 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
Video games outsell movies in U.K.
Android and iPhone users not so different after all
Flexing the boundaries of flash memory
LG, RIM top Apple in number of phone users
A modern approach to Java application development
Mountain Dew drinks up social media (Q&A)
Top ad trends list spotlights online behavior
IBM closes lackluster M&A year with buying spree
Add a Comment (Log in or register) (3 Comments)
  • prev
  • 1
  • next
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
by choppernoble December 3, 2009 11:03 AM PST
Yes, I absolutely love shopping on member-only sites for saving money online. I have been finding the best deals at Rue La La and Gilt as of late. However, you have to get to the sale fairly early when it opens because these deals are selling out so fast. I?ve hesitated on buying an item I wanted and then a few hours later it was already sold out. Such is life.

Just so you know... Here are a few choice invitation codes to Members-Only shopping websites so you can check them out for yourself. Happy Shopping and Saving.

Gilt Groupe Invite Code:
http://www.giltgroupe.com/invite/savemoneynow

RueLaLa Invite Code:
Go To - http://www.ruelala.com and Use this email to sign up --> choppernoble@gmail.com

Ideeli Invite Code:
www.ideeli.com/invite/savemoneynow

HauteLook Invite Code:
http://www.hautelook.com/invite/savemoneynow
Reply to this comment
(3 Comments)
  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

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