Currently I just had 1 server running apache mod_wsgi using the same configuration as pyramid. However I just got approved for a few grand a month to spend on server resources, so I am looking at load balancers. And I will put nginx in front of apache, and also start using a lot more caching.
On Tue, Apr 17, 2012 at 5:15 AM, Michele Comitini < michele.comit...@gmail.com> wrote: > One more thing make css and js packed + server side gzipped (nginx and > cherokee can do also gzip caching) > > mic > > Il 17 aprile 2012 14:12, Michele Comitini <michele.comit...@gmail.com> > ha scritto: > > If you are on postgreSQL use a process per request setup, you will > > have a great benefit. Use cherokee or nginx (with keepalive working) > > you will scale smoothly. > > > > Check that you do as much as possible of a page in a single http > > request (i.e. limit ajax load). Use only one cacheable css and limit > > the number of scripts or aggregate them in a cacheable file. > > Check that everything that is cacheable gets cached indeed (use > > firebug or chrome dev tools to find out). > > > > mic > > > > > > Il 17 aprile 2012 14:07, Michele Comitini <michele.comit...@gmail.com> > > ha scritto: > >> What is your architecture? What do you use as frontend http server? > >> What protocol: SCGI, UWSGI, FCGI...? > >> Are you in a thread per request or process per request setup? > >> > >> mic > >> > >> > >> Il 17 aprile 2012 08:36, Bruce Wade <bruce.w...@gmail.com> ha scritto: > >>> Yes you are correct plus there was 10,000+ requests a second just > hitting > >>> the site I think I really need a load balanced. We are getting on > average > >>> 500-1000 new members a day. > >>> > >>> On Apr 16, 2012 10:59 PM, "pbreit" <pbreitenb...@gmail.com> wrote: > >>>> > >>>> Don't forget you probably spent quite a bit if time tuning your > Pyramid > >>>> app. > >>>> > >>>> The best ways to scale are: > >>>> 1) Cache > >>>> 2) Cache > >>>> 3) Cache > >>>> > >>>> Web2py makes caching queries super easy. > >>>> > >>>> If you are serving a lot of static assets, check out Cloudflare for > free > >>>> CDN. > -- -- 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