3: fapws has basic example on running as wsgi server.

2: You can compress/gzip your HTML payload. The easiest way is to use
paste.gzipper inside your middleware.py:
from paste.gzipper import middleware

If you use mako, you can take advantage of its function-level caching.

- Didip -

On Sun, Nov 15, 2009 at 2:03 PM, kevbaker <[email protected]> wrote:

>
> I am working on optimizing our Pylons servers for better performance.
> Currently I am getting what I would consider pretty poor performance.
>
> I have some data and questions.
>
>
> = Questions
> 1. Does Pylons take advantage of multiple processors on my server?
> 2. Other than shutting off debugging what can I do to improve
> performance?
> 3. Are there any other options outside of Paster and Cherrypy? Which
> should I use?
>
>
> = Configuration
> - Pylons 0.9.6.2
> - Amazon EC2 c1.medium, 1.7 GB Ram, 5 EC2 Compute Units (2 virtual
> cores)
> - Ubuntu 8.04.3
>
>
> = Data
> - Running Apache Benchmark to get usable numbers to measure
> performance improvements after config changes. All tests were using
> "ab -n 400 -c 10 {MY URL}"
> - Pylons direct, no proxy, load static file - response:36.86
> - Pylons direct, no proxy, load template file with a few variables -
> resp/sec:30.28
> - Pylons direct, no proxy, load template with database query - resp/
> sec:16.06
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to