Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Python API: better eventlet coordination #1787

Merged
merged 1 commit into from
May 23, 2019
Merged

Python API: better eventlet coordination #1787

merged 1 commit into from
May 23, 2019

Conversation

jfsmig
Copy link
Contributor

@jfsmig jfsmig commented May 22, 2019

SUMMARY

Tell eventlet/greenlet to yield at specific moments to ease the computation interleaving.
It helps preventing accumulating huge amount of data in input greenlets, with a better chance of the output greenlets to become active meanwhile.

ISSUE TYPE

enhancement

COMPONENT NAME

oio

SDS VERSION

openio 4.4.4.dev11

@fvennetier fvennetier changed the title oio/ec: Better eventlet coordination Python API: better eventlet coordination May 23, 2019
Bufferize less by better interleave of input and output greenlets.
@codecov-io
Copy link

Codecov Report

Merging #1787 into 4.4.x will increase coverage by 0.36%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##            4.4.x    #1787      +/-   ##
==========================================
+ Coverage   79.57%   79.93%   +0.36%     
==========================================
  Files         355      371      +16     
  Lines       67292    68842    +1550     
  Branches     6929     6961      +32     
==========================================
+ Hits        53539    55019    +1480     
+ Misses      13753    13719      -34     
- Partials        0      104     +104
Impacted Files Coverage Δ
oio/api/ec.py 94.1% <100%> (+0.19%) ⬆️
oio/api/replication.py 77.78% <100%> (-0.86%) ⬇️
oio/ecd/app.py 60.12% <0%> (-6.54%) ⬇️
oio/account/backend.py 79.47% <0%> (-3.57%) ⬇️
oio/blob/indexer.py 67.43% <0%> (-1.51%) ⬇️
oio/common/storage_functions.py 90% <0%> (-1.42%) ⬇️
metautils/lib/utils_addr_info.c 57.34% <0%> (-1.33%) ⬇️
rawx-lib/src/attr_handler.c 68.58% <0%> (-0.95%) ⬇️
rawx-apache2/src/rawx_repository.c 56.02% <0%> (-0.82%) ⬇️
core/cs.c 81.09% <0%> (-0.45%) ⬇️
... and 81 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd7d402...9c56468. Read the comment docs.

@fvennetier fvennetier merged commit b847b12 into open-io:4.4.x May 23, 2019
@jfsmig jfsmig deleted the 4.4.x-eventlet-yield branch June 6, 2019 09:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants