Hello,

On Jan 17, 2008 9:14 PM, Ben Bangert <[EMAIL PROTECTED]> wrote:

> On Jan 16, 2008, at 6:03 AM, Max Ischenko wrote:
>
> > OK, I guess it is working. After I removed extra middleware results
> > changed to 40 req/s with @beaker_cache() and 15 req/s without. Still
> > very very slow, of course. ;(
>
> If you have a slow filesystem, or a heavily loaded filesystem, then
> using the file-based caching isn't going to help too much. Try setting
> the type to memory to see if the file-system is slowing you down. If
> it is, I'd recommend using memcached. On a core 2 duo box, I get
> around 400+ req per second on beaker cached pages that use the file-
> system. What machine are you using that is only pulling 15 req/sec?
>

I have Pentium M 1,5Ghz notebook.

On a quickstarted pylons project I get  ~300 Req/s for trivial controller
that just renders nearly empty Mako template.

I profiled another controller from my project which simply serves a file
(through paste.fileapp) and I get ~50 req. Not terribly speedy either.

I guess it must be something stupid I do in request setup stage. Like
setting up database connections  or some loop in BaseController.__call__.
Though I have no idea what it is. And I don't setup db conn on every
requests. At least I think so.

Max.

--~--~---------~--~----~------------~-------~--~----~
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