I am in doubt that web2py is the bottleneck. My recent tests on a modest cloud server (2GHz CPU, 1G RAM): 1_000, 5_000, and 10_000 requests in total, 100 concurrent requests - 16 milliseconds per request with no HTTP server errors. The RDBMS and the HTTP server in question were Postgres and Cherokee.
On Jul 7, 11:04 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote: > I had prepared some mini-portal, I have 1000 unique visits a day > but there is a performance issue > > bandwidth is ok > memory is ok > processor load is ok > cache.ram is set for almost all of the queries, and is set for 1 hour > > but > > sometimes, once every few hits, it loads signifacantly slower > weirdest thing is when you re-click the link it loads instantly, when > you left it working to load on itself, it is slow.. like 4 to 8 > seconds > > what could it be? where to look for an answer? I think some of you had > to see this before.. > > -- > Kuba