I've been working on version 2.0 of Thin on and off for quite some time now. It's a complete rewrite with better performance, more portable (based on the cross-platform http-parser.rb), more HTTP compliant and more features. And I believe it's ready for testing. But perhaps not ready for production use yet.
- Prefork model with an EventMachine loop running in each worker. (Imagine Thin and Unicorn having a child.)
- Optional single process mode for non-UNIX systems and simpler deployments. (In case your OS doesn't support fork)
- Optional threaded mode using a pool of threads. (If your app code is slow)
- Easy asynchronous streaming response support with chunked encoding. (Easier API to use and also now fully HTTP compliant w/ chunked encoding)
- Fast file serving with automatic streaming for large files. (You know on Heroku Cedar stack your files are served by the Ruby server right? Well now it will be fast and use less memory)
== Trying it now!
gem install thin --pre
Let me know if you encounter any bug or weird behaviour.
Hope you like it :)
--
M-A