This post originated from an RSS feed registered with Ruby Buzz
by Bob Silva.
Original Post: LiteSpeed Web Server 2.2 includes Rails Support
Feed Title: Rails Video Tutorials
Feed URL: http://www.railtie.net/xml/rss/feed.xml
Feed Description: A growing collection of screencasts that show you how to use the many facets of the wonderful world of rails.
Last November, a friend of mine told me I could replace the aging cloth interior in my car with shiny new leather.
I was all set to upgrade to the leather when I decided it just wouldn't feel right in my slow but reliable Yugo.
After 10 years of use, maybe it was time to move on to something better. But what?
I searched the internet and found a great deal on a new Ferrari with a leather interior.
It wouldn't cost me anything, but if it ever broke down, I'd have to take it back to the dealer and have
them fix it. My friends and I could always open the hood on the Yugo and tinker when it had problems.
Not so on the Ferrari, it doesn't come with a hood, but the Ferrari is twice as fast
as my Yugo and has an awesome dashboard with a heads-up display.
I decided to take it out for
a test drive and not long after that I dumped the Yugo. Now that I've been driving
the Ferrari for awhile, the dealer has allayed my fears about having to have them fix it.
If I ever have a serious problem, I just call them up and they send me a new one overnight.
Making sense of it all...
This is the story of my conversion from Apache+mod_php to LiteSpeed Web Server running Ruby on Rails.
LiteSpeed is the Ferrari and Rails is the leather (Apache is the Yugo and PHP the aging cloth interior).
LiteSpeed Web Server is a commercial product being marketed as "the world's best performing Ruby SAPI
and easiest Ruby on Rails application setup". Having used LiteSpeed for over 6 months now and after running my own
tests, I agree with that statement whole-heartedly. Being a recent Apple convert, to me LiteSpeed is the OS X of the web server world. Not open source, but it looks and works great and the developers actually listen to what the users want.
LiteSpeed offers a Standard Edition which is free for private and commercial use, the only restriction
being that your site can't serve content related to pornography, warez or illegal
activities. This is an odd restriction, but I guess it's cool that they stand by their principles.
To keep things DRY, I won't repeat LiteSpeeds feature set here. Instead, I'll "show" you why I choose
LiteSpeed and why I think you should give it a test drive as well. I've put together two screencasts for your
viewing pleasure. The first will demonstrate just how easy it is to get up and running with LiteSpeed.
From installing the server to a fully deployed Rails application in under 4 minutes. Live and uncut.
It moves along pretty fast, but I felt it was a good demonstration of the effort the LiteSpeed developers
have put into supporting Ruby on Rails. In the second screencast, we'll take a more in-depth look at some
of the cool features of LiteSpeed Web Server. Hope you enjoy them, I had fun making them.
UPDATE: The screencasts show that you have to copy dispatch.lsapi into your public directory, with the 2.2 release, this requirement is lifted. The ruby-lsapi script still needs to be installed, but LiteSpeed will handle the dispatching to Rails through their LSAPI automatically.