Passenger hosted Rails app *painfully* slow, but the server is a beast

前端 未结 2 1300
野的像风
野的像风 2020-12-23 14:24

I have been working to deploy a relatively large Rails app (Rails 2.3.5) and recently doing some load testing we discovered that the throughput for the site is way below the

相关标签:
2条回答
  • 2020-12-23 15:11

    Maybe your sql pool size is too small? This essentially limits the parallelism of database workloads in your application which in turn builds up to much increased load as soon as you put work on your app stack...

    0 讨论(0)
  • 2020-12-23 15:12

    As a first step I would deploy a minimal "Hello World" type Rails application to your environment and see what throughput you get with that. Doing that will at least tell you if your problem is with the environment or somewhere in your application.

    0 讨论(0)
提交回复
热议问题