scalability with nginx, passenger, ruby on rails setup

Posted by Dani Cela on Server Fault See other posts from Server Fault or by Dani Cela
Published on 2012-09-21T00:18:23Z Indexed on 2012/09/21 3:39 UTC
Read the original article Hit count: 574

Hey guys I had a question regarding scalability for my RoR application.

We have been optimizing our application over the last few days and after running blitz.io, notice that our application times out after maybe 1000 hits in 30 seconds we experienced massive timeouts. In the 1 minute test apparently 74% of users would have timed out.

Look at the performance of my website: http://blitz.io/report/1c8eb2f395a5eadeabd62fd831ada9e5

Not saying that our website will in any way experience this now, but I wish to design the infrastructure to handle this.

What is normally done in this situation? Currently we have one web server and one database server. Would load balancing be the route to go?

© Server Fault or respective owner

Related posts about nginx

Related posts about load-balancing