Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Results Ack Sending #571

Merged
merged 10 commits into from Aug 17, 2021
Merged

Results Ack Sending #571

merged 10 commits into from Aug 17, 2021

Conversation

knagaitsev
Copy link
Contributor

Description

See funcx-faas/funcx-forwarder#27

Type of change

  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@codecov
Copy link

codecov bot commented Aug 13, 2021

Codecov Report

Merging #571 (3ae96db) into main (fb9187c) will increase coverage by 0.03%.
The diff coverage is 39.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #571      +/-   ##
==========================================
+ Coverage   38.76%   38.80%   +0.03%     
==========================================
  Files          27       28       +1     
  Lines        2920     2974      +54     
==========================================
+ Hits         1132     1154      +22     
- Misses       1788     1820      +32     
Impacted Files Coverage Δ
...ncx_endpoint/executors/high_throughput/executor.py 32.63% <0.00%> (-0.12%) ⬇️
...cx_endpoint/funcx_endpoint/endpoint/interchange.py 28.69% <20.00%> (-0.52%) ⬇️
...cx_endpoint/funcx_endpoint/endpoint/results_ack.py 50.00% <50.00%> (ø)
...ncx_endpoint/executors/high_throughput/messages.py 57.14% <50.00%> (-0.71%) ⬇️

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 fb9187c...3ae96db. Read the comment docs.

@knagaitsev knagaitsev marked this pull request as ready for review August 13, 2021 18:13
""" Initialize results storage and timing for log updates
"""
self.unacked_results = {}
self.unacked_count_log_period = 60
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit confusing, maybe just log_period is sufficient.

Copy link
Collaborator

@yadudoc yadudoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks mostly good to go. I've added some comments where renaming the variables would improve clarity.

Copy link
Collaborator

@yadudoc yadudoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this looks good to go.

@yadudoc yadudoc merged commit 420f6ee into main Aug 17, 2021
@yadudoc yadudoc deleted the ep_results_ack_3 branch August 17, 2021 21:35
@knagaitsev
Copy link
Contributor Author

[ch10083]

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #10083: Implement ACK as part of forwarder protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants