[Checkins] [zopefoundation/ZEO] 7d7024: Avoid waiting on futures using timeouts
GitHub
noreply at github.com
Fri Oct 28 18:29:08 CEST 2016
Branch: refs/heads/msgpack
Home: https://github.com/zopefoundation/ZEO
Commit: 7d70244f93276f604c480e64dfeb44052b19b11c
https://github.com/zopefoundation/ZEO/commit/7d70244f93276f604c480e64dfeb44052b19b11c
Author: Jim Fulton <jim at zope.com>
Date: 2016-10-24 (Mon, 24 Oct 2016)
Changed paths:
M CHANGES.rst
M src/ZEO/asyncio/client.py
M src/ZEO/asyncio/tests.py
Log Message:
-----------
Avoid waiting on futures using timeouts
On Python 2, waiting on a future result with a timeout is very
expensive. (Because conditions with timeouts are very expensive.)
The thing is, we still want to use timeouts when we're disconnected.
We don't want requests to fail right away of the disconnection is
short.
We do a bit of a dance to only use a timeout if we're disconnected.
Commit: 11eb9fd0b4de8bab968c291f71448e9ff01bedfc
https://github.com/zopefoundation/ZEO/commit/11eb9fd0b4de8bab968c291f71448e9ff01bedfc
Author: Jim Fulton <jim at zope.com>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M src/ZEO/tests/testZEO.py
Log Message:
-----------
Fix spurious test failure
By making an unimportant assertion less restrictive.
Commit: 184750c9bf7e9eb56a64f0dd36f42c6a77f37aa3
https://github.com/zopefoundation/ZEO/commit/184750c9bf7e9eb56a64f0dd36f42c6a77f37aa3
Author: Jim Fulton <jim at zope.com>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/ZEO/tests/drop_cache_rather_than_verify.txt
Log Message:
-----------
Work around a beneficial race
When data are loaded, we notify waiting code before updating the cache.
This can confuse white-box tests that make assertions about the client
cache after a load, because the cache change may or may not have been
made yet.
Commit: 38c0953945d32c71652dbf8b898e860f4fb31758
https://github.com/zopefoundation/ZEO/commit/38c0953945d32c71652dbf8b898e860f4fb31758
Author: Jim Fulton <jim at zope.com>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/ZEO/asyncio/client.py
Log Message:
-----------
use wait_ready argument name even when unused
Commit: 93ec6ceda801e51b3b8a09dcd31dc68ba619960e
https://github.com/zopefoundation/ZEO/commit/93ec6ceda801e51b3b8a09dcd31dc68ba619960e
Author: Jim Fulton <jim at jimfulton.info>
Date: 2016-10-27 (Thu, 27 Oct 2016)
Changed paths:
M CHANGES.rst
M src/ZEO/asyncio/client.py
M src/ZEO/asyncio/tests.py
M src/ZEO/tests/drop_cache_rather_than_verify.txt
M src/ZEO/tests/testZEO.py
Log Message:
-----------
Merge pull request #78 from zopefoundation/avoid-future-timeouts
Avoid waiting on futures using timeouts -> major performance win on Python 2
Commit: 6780c31d3e772e08f78e1062cf9579796ad37c9f
https://github.com/zopefoundation/ZEO/commit/6780c31d3e772e08f78e1062cf9579796ad37c9f
Author: Jim Fulton <jim at zope.com>
Date: 2016-10-28 (Fri, 28 Oct 2016)
Changed paths:
M CHANGES.rst
M src/ZEO/asyncio/client.py
M src/ZEO/asyncio/tests.py
M src/ZEO/tests/drop_cache_rather_than_verify.txt
M src/ZEO/tests/testZEO.py
Log Message:
-----------
Merge branch 'master' into msgpack
Compare: https://github.com/zopefoundation/ZEO/compare/7b56ed32353e...6780c31d3e77
More information about the checkins
mailing list