8000 refactor(client): simplify logics in client post by hanxiao · Pull Request #4518 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor(client): simplify logics in client post #4518

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 2 commits into from
Mar 19, 2022

Conversation

hanxiao
Copy link
Member
@hanxiao hanxiao commented Mar 19, 2022

Pull Request Title

Description

Please describe what your PR is doing and why. Are there any parts which need extra attention during review? Are there any dependencies from other PRs or projcts? Is this a breaking change?

Is this PR ready or work in progress (WIP)? Ready means it can be reviewed and merged from the author's perspective. If the PR is WIP: Make it a draft PR and state open questions and TODO items.

Closes # (issue)

@github-actions github-actions bot added size/S area/core This issue/PR affects the core codebase component/client labels Mar 19, 2022
@codecov
Copy link
codecov bot commented Mar 19, 2022

Codecov Report

Merging #4518 (b094a87) into master (833771b) will increase coverage by 3.77%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4518      +/-   ##
==========================================
+ Coverage   84.49%   88.27%   +3.77%     
==========================================
  Files         116      116              
  Lines        8417     8409       -8     
==========================================
+ Hits         7112     7423     +311     
+ Misses       1305      986     -319     
Flag Coverage Δ
daemon 42.06% <0.00%> (+0.04%) ⬆️
jina 88.02% <100.00%> (+7.31%) ⬆️

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

Impacted Files Coverage Δ
jina/orchestrate/flow/base.py 91.46% <ø> (+9.28%) ⬆️
jina/clients/mixin.py 92.77% <100.00%> (+0.63%) ⬆️
jina/orchestrate/pods/jinad.py 93.07% <0.00%> (-0.77%) ⬇️
jina/jaml/__init__.py 94.29% <0.00%> (+0.38%) ⬆️
jina/helper.py 83.16% <0.00%> (+0.49%) ⬆️
...a/orchestrate/deployments/config/docker_compose.py 100.00% <0.00%> (+0.57%) ⬆️
jina/orchestrate/pods/__init__.py 89.93% <0.00%> (+0.62%) ⬆️
jina/serve/runtimes/gateway/http/app.py 90.67% <0.00%> (+0.84%) ⬆️
jina/clients/base/http.py 96.61% <0.00%> (+1.69%) ⬆️
... and 11 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 34ffcd5...b094a87. Read the comment docs.

@github-actions
Copy link
github-actions bot commented Mar 19, 2022

Latency summary

Current PR yields:

  • 🐎🐎🐎🐎 index QPS at 1369, delta to last 2 avg.: +19%
  • 🐎🐎🐎🐎 query QPS at 68, delta to last 2 avg.: +39%
  • 🐢🐢 avg flow time within 1.3422 seconds, delta to last 2 avg.: -15%
  • 🐢🐢 import jina within 0.3629 seconds, delta to last 2 avg.: -17%

Breakdown

Version Index QPS Query QPS Avg Flow Time (s) Import Time (s)
current 1369 68 1.3422 0.3629
3.2.6 1040 43 1.7422 0.4824
3.2.5 1255 53 1.4197 0.3957

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

@hanxiao hanxiao merged commit 35026dc into master Mar 19, 2022
@hanxiao hanxiao deleted the refactor-client-get-results branch March 19, 2022 17:03
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 component/client size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0