0

I'm looking for the best setup to use in conjunction with Unicorn. Are there clear advantages or disadvantages to using Unicorn rails server with Apache? Should I consider using NGINX?

I'm concerned most with low latency, and my current setup has rather high latency around 300 ms.

My stack looks like the following:

  • Ubuntu 12.04 LTS
  • Ruby 2.0
  • Rails 4.0
  • Postgres
  • Redis
  • Apache2
  • Unicorn
0

I find nginx and unicorn to be a nearly perfect match.

nginx is much smaller than apache, and is designed to do a few things very well rather than all things possible.

My setup is basically what you describe, other than I have selected nginx over apache for the above reasons.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.