RubyFlow The Ruby and Rails community linklog

nginx - Reading the fine print

Long running Rails requests and nginx don’t play together well, its worth reading the nginx fine print.

Comments

What was your solution to this problem?

For the instance in question I actually applied three different solutions in one:

  1. MySQL replication to move a lot of auxiliary read-only services off the master db that Rails was using.
  2. Tweaked the nginx config to allow for longer running requests.
  3. Some minor code tweaks to get better performance.

The post was really just an extract from a much bigger problem…

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in