On Oct 11, 12:38 am, Matt Feifarek <[email protected]> wrote: > I think that you can simply delete the speedups file from the simplejson > module.
Works, thanks. > > [app:main] > > use = func:myhello.config.middleware:make_app > > full_stack = true > > I'm not following completely. Does this make the GAE SDK http/app server > become aware of your ini file somehow? If not, the func: you made seems to > have the exact same effect as the normal pylons behavior; it still runs > make_app... that's the WSGI starting point, right? (Also, > middleware:make_app is the "entry point" for a pylons app). I'm using loadapp() from (patched) paste.deploy. I'll write it up soon, with code samples. > Yep, I think that Mako can live happily on GAE. I think that commenting out > cache_dir line in environment basically accomplishes what you're working on. It's module_directory, but that works. It was late and night and I was doing things I didn't have to do. > > BTW, the performance I'm getting when hitting it with apache bench > > (ab) is kind of awful. Haven't profiled yet. > > If you mean on the SDK, yeah, I think that's pretty standard. Hopefully in > the cloud it will be good. I meant the cloud. A stock non-Pylons, non-templated helloworld performs moderately. I've been getting about 35-45 reqs/sec with 'ab' with various -n and -c params, with the median time per request varying from about 400ms under low concurrency to around 3s under high concurrency. To give Google the benefit of the doubt, maybe things are distributed such that concurrency from multiple hosts would be handled better. Anything that opens/reads/lists files seems to perform worse. I might try pre-compiling Mako templates and see how that goes. Will post more when I know more. Anyone else have any numbers? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
