I see, thank you.  I want to measure the web server's response time
when I deploy this on turk... Unfortunately the rocket log does not
report time to serve a request.  Do you think it is easy to get that
information from rocket?  Do you store the start and stop times for
each request?  I see start times stored in "connections", but I'm not
sure that's the right object.

On Mar 30, 6:09 am, Timothy Farrell <tfarr...@swgen.com> wrote:
> I don't think upgrading will help much since Cherrypy was also slow.  
> However, doing so would help cover all your bases.
>
> If you want to use the http log from Rocket you can do this.  I'm
> assuming you invoke web2py.py from a bash script or just run it
> manually.  Paste the following code into the top of web2py.py
>
> import  logging
> import  logging.handlers
> log  =  logging.getLogger('Rocket.Requests')
> log.setLevel(logging.INFO)
> log.addHandler(logging.handlers.FileHandler('rocket.log')
>
> I, like Yarko, do think this has more to do with something else.  At one
> point web2py had a profiler built-in.  That could be a good tool for
> finding slow spots.
>
> -tim
>
> On 3/29/2010 7:59 PM, MichaelToomimwrote:
>
>
>
> > Yes, this is on linux!  Do you recommend upgrading and trying again?
>
> > mturk doesn't affect anything, I am just serving webpages that appear
> > in iframes on the mturk website.  From our perspective, I'm serving
> > webpages.
>
> > Do you have a method of logging how much time it takes to serve a page
> > with rocket?  Something that I can use instead of httpserver.log?  It
> > seems important for me to measure real-world performance, which ab
> > does not do.
>
> > My server has 768MB ram, and the only thing it does is run this web2py
> > server.  I assumed ram was not full, but did not check.  I will check
> > next time.
>
> > On Mar 29, 12:10 pm, Timothy Farrell<tfarr...@swgen.com>  wrote:
>
> <snip/>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to