On Wed, Jun 10, 2009 at 5:33 PM, Tomas Doran <[email protected]> wrote:
> Francesc Romà i Frigolé wrote: > >> The applications I'm writing are expected to have a relatively small >> number of users. From my experience so far the performance is quite good on >> a shared hosting as long as I serve the static content from outside >> Catalyst. Otherwise performance degrades significantly since each user has >> to deal with a few static files that weight a few MB each. >> > > Hmm, well, this strikes me as weird. > > I have a 100Mb link (shared with other people) between myself and my live > environment, and I thought I'd do a very quick test. > > I tarred up 182Mb of crap. > > Static apache: 11.19M/s > > Put into a newly generated TestApp in root/static, running with the > development server: 11.18M/s > > So I think you're doing something severely non-optimum (or your shared > hosting machines are totally swamped) if you're seeing significant > performance degredation. > > Do you see the same issues when testing locally, or just and your shared > host, and what technique are you using to serve these static files? > Thanks for taking the time for testing this. I did my tests some months ago with smaller files (1-5 MB) and I don't remember the exact results now, but I clearly remember that it made a very significant difference. Both perceptually and numerically. Since the deployment documentation recommends not serving static files with catalyst I assumed it was normal. I won't have time today, but I tomorrow I'll do more tests and report the results cheers Francesc
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
