Crashalot
Crashalot

Reputation: 34503

Suggestions to reduce request queuing in Rails app on Passenger + Nginix

Our iPhone app is powered by Rails 3.2.12, Nginix 1.4.1, and Passenger. According to New Relic, our methods complete in 200-400 ms. However, some clients don't see results for 20 seconds even though they are on Wi-Fi and the data returned is only 2 MB.

It seems we may have an issue with request queuing. How can we reduce this and improve performance?

Upvotes: 0

Views: 1480

Answers (1)

Taryn East
Taryn East

Reputation: 27747

You'll need to start by figuring out what it is that's taking so long. Is the db overloaded? in which case - beef up your DB etc. Try digging down into the NewRelic stats and finding out where most of the time is spent (and then post it here).

Upvotes: 1

Related Questions