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

GitHub noreply at github.com
Sun Aug 7 21:26:15 CEST 2016


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

  Changed paths:
    M buildout.cfg

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


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

  Changed paths:
    M setup.py

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


  Commit: 6678709c2bb41e111ec3526831a9747c2fc7773a
      https://github.com/zopefoundation/ZEO/commit/6678709c2bb41e111ec3526831a9747c2fc7773a
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-07 (Sun, 07 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.)


Compare: https://github.com/zopefoundation/ZEO/compare/479700e7e376^...6678709c2bb4


More information about the checkins mailing list