Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95564

Re: Sometimes bottle takes a lot of time

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Re: Sometimes bottle takes a lot of time
Date 2015-08-22 20:03 +0200
Organization Decebal Computing
Message-ID <87pp2fmc9z.fsf@Equus.decebal.nl> (permalink)
References <87si7cnxq6.fsf@Equus.decebal.nl> <mailman.11.1440229764.17298.python-list@python.org> <87a8tjo8oz.fsf@Equus.decebal.nl> <mailman.14.1440257612.17298.python-list@python.org>

Show all headers | View raw


On Saturday 22 Aug 2015 17:33 CEST, Michael Torrie wrote:

> On 08/22/2015 05:37 AM, Cecil Westerhof wrote:
>>> I don't know. Is it bottle, or the browser, or something
>>> completely different that eats the extra time?
>>
>> I really do not know. I suspect bottle, but I am new to this, so I
>> value the suspicion of someone who has more experience more. :-D
>
> These are requests performed from browser Javascript (ajax), right?
> Could you write a shell script that fetches these urls in sequence
> using curl or wget, simulating the web browser? This would let you
> check times in a controlled way, without the variable of the browser
> itself.

I should have thought about that myself. :-(

I was already thinking about writing debug statements in the routes.

By the way does anybody know what the time-stamp is: the moment the
requests is received, or the moment the request is finished?

I just tried it again. Two almost immediately and then a long one
again. What I find very peculiarly is that every-time there is a
delay, there are two delays of six seconds.


> While it's true this particular problem is possibly beyond the scope
> of this python list (and may not be python-related at all), it's too
> bad a couple of people have taken the time to reply to your queries
> to simply berate you.

It could be an AngularJS problem. ;-)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-21 23:22 +0200
  Sometimes bottle takes a lot of time gst <g.starck@gmail.com> - 2015-08-21 14:55 -0700
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:34 +0200
  Re: Sometimes bottle takes a lot of time Peter Otten <__peter__@web.de> - 2015-08-22 09:49 +0200
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:37 +0200
      Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-22 09:33 -0600
        Re: Sometimes bottle takes a lot of time Rustom Mody <rustompmody@gmail.com> - 2015-08-22 09:13 -0700
        Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 20:03 +0200
          Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 23:06 +0200
            Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 09:13 +1000
              Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 02:51 +0200
                Re: Sometimes bottle takes a lot of time Chris Angelico <rosuav@gmail.com> - 2015-08-23 11:05 +1000
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 14:45 +0200
  Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 11:41 +0200
    Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 13:28 +0200
      Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 14:09 +0200
        Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-22 15:09 +0200
          Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-22 15:51 +0200
            Re: Sometimes bottle takes a lot of time Christian Gollwitzer <auriocus@gmx.de> - 2015-08-22 16:15 +0200
              Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 16:05 +0200
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 17:20 +0200
                Re: Sometimes bottle takes a lot of time MRAB <python@mrabarnett.plus.com> - 2015-08-23 16:44 +0100
                Re: Sometimes bottle takes a lot of time Cecil Westerhof <Cecil@decebal.nl> - 2015-08-23 18:15 +0200
                Re: Sometimes bottle takes a lot of time Michael Torrie <torriem@gmail.com> - 2015-08-23 10:47 -0600
                Re: Sometimes bottle takes a lot of time Johannes Bauer <dfnsonfsduifb@gmx.de> - 2015-08-23 22:55 +0200
                Re: Sometimes bottle takes a lot of time Ben Finney <ben+python@benfinney.id.au> - 2015-08-24 10:01 +1000

csiph-web