Wednesday, March 10, 2010

You are here: Home > Announcements > Thin 0.7.0 Released

Thin 0.7.0 Released

by Robert Dempsey on February 25, 2008

Thin, a Ruby web server that utilized the Mongrel parser (but is not Mongrel), has been updated to version 0.7.0 (codename Spherical Cow). The biggest enhancement in this release is the addition of persistent connections and support for Swiftiply. Here is the entire list of changes and updates:

  • Persistent connections (Keep-Alive) and Swifitply support
  • Add –max-persistent-conns option to sets the maximum number of persistent connections.
  • Set to 0 to disable Keep-Alive.
  • INT signal now force stop and QUIT signal gracefully stops.
  • Warn when descriptors table size can’t be set as high as expected.
  • Eval Rackup config file using top level bindings.
  • Remove daemons gem dependency on Windows plateform, fixes #45.
  • Change default timeout from 60 to 30 seconds.
  • Add –max-conns option to sets the maximum number of file or socket descriptors that your process may open, defaults to 1024.
  • Tail logfile when stopping and restarting a demonized server, fixes #26
  • Wrap application in a Rack::CommonLogger adapter in debug mode.
  • –debug (-D) option no longer set so logging will be less verbose and Ruby won’t be too strict, fixes #36.
  • Deprecate Server#silent in favour of Logging.silent.
  • Persistent connection (keep-alive) support.
  • Fix -s option not being included in generated config file, fixes #37.
  • Add Swiftiply support. Use w/ the –swiftiply (-y) option in the thin script, closes #28 [Alex MacCaw]

Installing Thin is as easy as:

sudo gem install thin

We have been testing out Thin with Nginx, Ruby 1.8.6 and Rails 2.0.2 on CentOS 5.1 and are very happy with the results. Take it for a spin and let us know the results.

Bookmark and Share

Other Posts That Might Interest You

  1. Thin – a new web server for Ruby
  2. JRuby 1.1.3 Released
  3. Ruby 1.9.0 Released
  • @Brendan, I installed thin 0.8.1 along with eventmachine 0.12.0 on Centos 5.1 (not slicehost) w/out issue. What is the error message you get?
  • brendan lally
    Do you have a definitive 'steps 2 follow' as cannot get thin (0.8->0.11) working on a Centos 5.1 (slicehost) VPS

    Ta
  • Thanks for pointing that out Luigi. I'm updating the post now.
  • luigimontanez
    Thanks for turning me onto thin Rob. Just a note, sudo gem install Thin (capital T) gives me a FetchError on attempting to grab 0.5.1, while sudo gem install thin (lowercase) gets me the correct 0.7.0.
  • Hey Robert,
    thx for posting about the release. I'm very glad you're happy w/ thin!
blog comments powered by Disqus

Previous post:

Next post: