Yeah that makes since. I am trying to figure out how to scale this. What is the largest site running web2py? My site is getting around 1000 new members a day and around 10-30 million page views a day. Just from the last two days I have ~53,000+ session files per server so * 3 at least which I need to write a cron script to remove if they are over X time old.
My concurrent users is growing by at least 10 every minute that passes. Also I am not even pushing the full load of all visitors to my load balancer yet. Probably 50% are using the old framework still. On Tue, Apr 24, 2012 at 3:47 PM, Michele Comitini < [email protected]> wrote: > It depends on how many links to objects are in a view and browser > configuration. > You must count all css, js and img at least. The browser has an upper > configurable limit to parallel connections after reaching that limit > it starts queuing connections. > One thing that comes also into play is http keepalive configuration. > If keepalive is active some http request are serialized on a single > connection so less connections are needed. > > A problem with nginx stable is that it does not support keepalives > with backends so the browser cannot reuse the connection for more than > a request. > Either use a version of nginx that supports keepalives with uwsgi or > get the patches and recombile nginx. cherokee should support > keepalive. > > mic > > > Il 25 aprile 2012 00:31, Bruce Wade <[email protected]> ha scritto: > > Curious what is the common connections that a web server should have per > > user? Using netstat -an | grep :80 | sort I noticed that one user could > have > > around 10 connections for some reason. Maybe this is caused by my lack of > > nginx + uwsgi knowledge but that seems very high per viewer. > > > > -- > > -- > > Regards, > > Bruce Wade > > http://ca.linkedin.com/in/brucelwade > > http://www.wadecybertech.com > > http://www.fittraineronline.com - Fitness Personal Trainers Online > > http://www.warplydesigned.com > > > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.fittraineronline.com - Fitness Personal Trainers Online http://www.warplydesigned.com

