[ZODB-Dev] ZEO and time.sleep

Jim Fulton jim at zope.com
Wed Mar 28 18:53:53 EDT 2007


On Mar 28, 2007, at 6:37 PM, Benji York wrote:

> Jim Fulton wrote:
>> On Mar 28, 2007, at 6:28 PM, Benji York wrote:
>>
>>> threading.Connection
>> threading.Condition :)
>
> Yeah, that. :)
>
>> What was the time to return the first request after the fix?
>
> I didn't stick around for the post-Linux-kernel-recompile testing,  
> but when we hacked the Python standard library to use sleep(0) all  
> the time (emulating an infinite granularity timer), it went down to  
> about 10 seconds.  A pretty nice improvement. ;)

And the original time was 15 minutes! :)

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the ZODB-Dev mailing list