DISQUS

Charles Melbye: Thin vs. Unicorn

  • mnot · 2 months ago
    What was the test hardware? Network?
  • cmelbye · 2 months ago
    Tests were run on a Rackspace Cloud Server with 512 MB memory. Specifications of the host machine can be found here: http://www.rackspacecloud.com/cloud_hosting_pro...
  • gerhardlazu · 2 months ago
    Would you use Unicorn in production environments behind nginx?
  • cmelbye · 2 months ago
    Yeah, I would/will just put it behind nginx with reverse proxying. I'm doing that right now at http://pushyapp.com/, but that's not a production environment as we're still developing it. GitHub, however, is using Unicorn in production and they're loving it.
  • gerhardlazu · 2 months ago
    Any config examples for Unicorn & nginx? I couldn't find anything online. Made a comment on github's blog, might take a while for a reply... Care to share yours? Cheers!
  • cmelbye · 2 months ago
    Just do a reverse proxy to the port that Unicorn is running on.

    http://kovyrin.net/2006/05/18/nginx-as-reverse-...

    I can try to clean up my configuration and post it somewhere, but there's really nothing special. It's simply doing a reverse proxy to http://127.0.0.1:3000/
  • avdi · 2 months ago
    I'd be interested to see the memory usage stats.
  • Alexander · 3 weeks ago
    It is strange for me...
    I have setup nginx + thin (4 worker) and nginx + unicorn (4 to)
    and got equals result for it.
    Please, could you explain how to configure unicorn and thin.