8000 feat(hubble): upgrade to api v2 by delgermurun · Pull Request #4269 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(hubble): upgrade to api v2 #4269

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

Merged
merged 3 commits into from
Feb 11, 2022
Merged

feat(hubble): upgrade to api v2 #4269

merged 3 commits into from
Feb 11, 2022

Conversation

delgermurun
Copy link
Contributor

@github-actions github-actions bot added size/M area/core This issue/PR affects the core codebase area/testing This issue/PR affects testing labels Feb 9, 2022
@codecov
Copy link
codecov bot commented Feb 9, 2022

Codecov Report

Merging #4269 (c08693b) into master (bfd5357) will decrease coverage by 0.27%.
The diff coverage is 87.80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4269      +/-   ##
==========================================
- Coverage   87.73%   87.46%   -0.28%     
==========================================
  Files         113      113              
  Lines        8254     8299      +45     
==========================================
+ Hits         7242     7259      +17     
- Misses       1012     1040      +28     
Flag Coverage Δ
daemon 42.06% <13.82%> (-0.15%) ⬇️
jina 87.21% <87.80%> (+0.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
jina/parsers/flow.py 100.00% <ø> (ø)
jina/parsers/orchestrate/base.py 100.00% <ø> (ø)
jina/parsers/orchestrate/runtimes/worker.py 100.00% <ø> (ø)
jina/hubble/hubio.py 79.94% <63.33%> (-0.24%) ⬇️
jina/clients/mixin.py 87.03% <75.00%> (-3.44%) ⬇️
jina/orchestrate/flow/base.py 91.00% <88.88%> (-0.07%) ⬇️
jina/excepts.py 100.00% <100.00%> (ø)
jina/orchestrate/deployments/__init__.py 84.81% <100.00%> (+4.00%) ⬆️
...a/orchestrate/deployments/config/docker_compose.py 100.00% <100.00%> (ø)
jina/orchestrate/deployments/config/helper.py 98.27% <100.00%> (+2.12%) ⬆️
... and 9 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 29fec50...c08693b. Read the comment docs.

@github-actions
Copy link
github-actions bot commented Feb 9, 2022

Latency summary

Current PR yields:

  • 🐢🐢 index QPS at 963, delta to last 2 avg.: -36%
  • 🐎🐎🐎🐎 query QPS at 43, delta to last 2 avg.: +37%
  • 😶 avg flow time within 1.3761 seconds, delta to last 2 avg.: -2%
  • 🐎🐎🐎🐎 import jina within 0.4277 seconds, delta to last 2 avg.: +11%

Breakdown

Version Index QPS Query QPS Avg Flow Time (s) Import Time (s)
current 963 43 1.3761 0.4277
2.6.4 1557 29 1.3189 0.3586
2.6.3 1488 32 1.518 0.4079

Backed by latency-tracking. Further commits will update this comment.

@delgermurun delgermurun force-pushed the feat-hubble-api-v2 branch 3 times, most recently from a878c91 to 6b5bdc8 Compare February 10, 2022 10:33
@delgermurun delgermurun marked this pull request as ready for review February 10, 2022 12:14
@mapleeit mapleeit self-requested a review February 11, 2022 02:02
Copy link
Contributor
@mapleeit mapleeit left a comment

Choose a reason for hiding this comment

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

LGTM

@mapleeit mapleeit merged commit 5081722 into master Feb 11, 2022
@mapleeit mapleeit deleted the feat-hubble-api-v2 branch February 11, 2022 08:01
if payload and isinstance(payload, dict):
msg = payload.get('message')

if 'Process(docker) exited on non-zero code' in msg:
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not really a good way to decide anything

Copy link
Contributor

Choose a reason for hiding this comment

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

@delgermurun @nomagick Could we move this detection to server side and also using status code instead of message to detect the error somehow?

samsja pushed a commit that referenced this pull request Feb 15, 2022
* feat(hubble): upgrade "fetch_meta" to api v2

* feat(hubble): upgrade pull & push to api v2

* feat(hubble): upgraded tests to api v2

Co-authored-by: Delgermurun Purevkhuu <492616+delgermurun@users.noreply.github.com>
samsja pushed a commit that referenced this pull request Feb 15, 2022
* feat(hubble): upgrade "fetch_meta" to api v2

* feat(hubble): upgrade pull & push to api v2

* feat(hubble): upgraded tests to api v2

Co-authored-by: Delgermurun Purevkhuu <492616+delgermurun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core This issue/PR affects the core codebase area/testing This issue/PR affects testing size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0