[Checkins] [zopefoundation/ZEO] bb8bc9: Add a hook for specifying extra extras (e.g. uvloo...

GitHub noreply at github.com
Mon Aug 8 14:12:21 CEST 2016


  Branch: refs/heads/uvloop
  Home:   https://github.com/zopefoundation/ZEO
  Commit: bb8bc99e4b061229605f6935fd8cce7a542f5c01
      https://github.com/zopefoundation/ZEO/commit/bb8bc99e4b061229605f6935fd8cce7a542f5c01
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M buildout.cfg

  Log Message:
  -----------
  Add a hook for specifying extra extras (e.g. uvloop) when running the buildout


  Commit: cf3abed49219d943dfa7777d8d2b1c88c4e19a70
      https://github.com/zopefoundation/ZEO/commit/cf3abed49219d943dfa7777d8d2b1c88c4e19a70
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Added a uvloop extra.


  Commit: 6c163072825e57e5a97b518b6e9fce74e0526aaa
      https://github.com/zopefoundation/ZEO/commit/6c163072825e57e5a97b518b6e9fce74e0526aaa
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M .travis.yml
    M src/ZEO/asyncio/client.py
    M src/ZEO/tests/testssl.py

  Log Message:
  -----------
  Optionally use uvloop for clients

uvloop is a bit faster than the standard asyncion event loop.

Unfortunately, there's an issue with the ZEO tests and using uvloop in
the ZEO server:

  https://github.com/MagicStack/uvloop/issues/39

Fortunately, most of the performamce benefits of using uvloop seems to
be in the client.

For now, we'll just use ivloop on the client side, as the incremental
effort of using it in the server aren't worth futher wrestling with
the tests. (I spent quite a bit of time just narrowing down the cause
of the test issue.)

With this PR, if uvloop can be imported, it will be used for the
client. (uvloop requires Python 3.5 or later and doesn't support Windows.)


  Commit: e459238dac407fb128c875b2fe6b1a132a2fb18a
      https://github.com/zopefoundation/ZEO/commit/e459238dac407fb128c875b2fe6b1a132a2fb18a
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M src/ZEO/asyncio/client.py

  Log Message:
  -----------
  double-check travis UVLOOP hackery


  Commit: 417b4b611c5c3514c1c9b626fb621aa33674ea33
      https://github.com/zopefoundation/ZEO/commit/417b4b611c5c3514c1c9b626fb621aa33674ea33
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M src/ZEO/asyncio/client.py

  Log Message:
  -----------
  Yup, the uvloop travis hack worked :)


Compare: https://github.com/zopefoundation/ZEO/compare/bb8bc99e4b06^...417b4b611c5c


More information about the checkins mailing list