Hi,
I have a site which must be rendering about 2M page views/day, but I am not being able to achieve this yet.
The first thing I did was to try the Enterprise Edition, since 150 connections was a bottleneck... now it's using about 600~700 connections.
Now, Rails is the bottleneck. I am getting 200~300 request at VHOST level, and I have 16 Rails instances (max connections on vhost level). Real time report shows me:
Request:
myVHost: 500 Requests in Processing; 200 Requests/Second
External Application:
myVHost: 16 Max CONN; 16 Eff Max; 16 Pool; 16 In Use; Idle: 0; WaitQ: 425; 53 Req/Sec
---
Suppose the DB is not the bottleneck, which would be the right way to optmize this? Just increasing the number of the VHost max connections? Or another setting would help it too?
Thanks!
I have a site which must be rendering about 2M page views/day, but I am not being able to achieve this yet.
The first thing I did was to try the Enterprise Edition, since 150 connections was a bottleneck... now it's using about 600~700 connections.
Now, Rails is the bottleneck. I am getting 200~300 request at VHOST level, and I have 16 Rails instances (max connections on vhost level). Real time report shows me:
Request:
myVHost: 500 Requests in Processing; 200 Requests/Second
External Application:
myVHost: 16 Max CONN; 16 Eff Max; 16 Pool; 16 In Use; Idle: 0; WaitQ: 425; 53 Req/Sec
---
Suppose the DB is not the bottleneck, which would be the right way to optmize this? Just increasing the number of the VHost max connections? Or another setting would help it too?
Thanks!