Thin 0.7.0 Released

Feb 25th, 2008 by Robert Dempsey - Tags: , ,

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.

You can leave a response, or trackback from your own site.

7 Comments

  1. macournoyer says:

    Hey Robert,
    thx for posting about the release. I’m very glad you’re happy w/ thin!

  2. 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.

  3. Thanks for pointing that out Luigi. I’m updating the post now.

  4. [...] Thin 0.7.0 Released [...]

  5. brendan lally says:

    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

  6. @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?

Leave a Reply

Collaborate.
Enable.
Succeed.

Contact

(888) 331-8520
4210 Beau James Court
Winter Park, Florida 32792 RSS Feed

Search

Popular Articles

Recent Articles