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

feat(hubble): use fixed domain for hubble api #4804

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
May 19, 2022
Merged

Conversation

mapleeit
Copy link
Contributor
@mapleeit mapleeit commented May 19, 2022

Goals:

  • api.jina.ai is unstable sometimes, remove this layer to get better quality. We need to maintain the old domain even we move to new domain anyway, so no worries about writing domain down directly.

Related to: https://github.com/jina-ai/hubble/issues/434

Avoid several problems caused by unstable api.jina.ai
@github-actions github-actions bot added size/S area/core This issue/PR affects the core codebase labels May 19, 2022
@github-actions
Copy link
github-actions bot commented May 19, 2022

Latency summary

Current PR yields:

  • 🐎🐎 index QPS at 1182, delta to last 2 avg.: +10%
  • 🐎🐎🐎🐎 query QPS at 64, delta to last 2 avg.: +12%
  • 🐢🐢 avg flow time within 1.2623 seconds, delta to last 2 avg.: -6%
  • 🐢🐢 import jina within 0.5455 seconds, delta to last 2 avg.: -6%

Breakdown

Version Index QPS Query QPS Avg Flow Time (s) Import Time (s)
current 1182 64 1.2623 0.5455
3.4.4 1131 63 1.2979 0.5435
3.4.3 1004 50 1.3915 0.6233

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

@codecov
Copy link
codecov bot commented May 19, 2022

Codecov Report

Merging #4804 (8d4ee80) into master (0372f10) will increase coverage by 1.35%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4804      +/-   ##
==========================================
+ Coverage   86.86%   88.21%   +1.35%     
==========================================
  Files         119      119              
  Lines        9022     9013       -9     
==========================================
+ Hits         7837     7951     +114     
+ Misses       1185     1062     -123     
Flag Coverage Δ
jina 88.21% <100.00%> (+1.42%) ⬆️

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

Impacted Files Coverage Δ
jina/__init__.py 65.88% <100.00%> (ø)
jina/hubble/helper.py 89.29% <100.00%> (+0.98%) ⬆️
jina/serve/networking.py 88.80% <0.00%> (+0.25%) ⬆️
jina/jaml/__init__.py 94.79% <0.00%> (+0.37%) ⬆️
jina/orchestrate/deployments/config/k8s.py 100.00% <0.00%> (+0.64%) ⬆️
jina/helper.py 81.75% <0.00%> (+0.74%) ⬆️
jina/serve/runtimes/gateway/http/app.py 92.53% <0.00%> (+0.74%) ⬆️
jina/enums.py 88.07% <0.00%> (+0.91%) ⬆️
jina/clients/mixin.py 93.18% <0.00%> (+1.13%) ⬆️
jina/clients/base/http.py 95.31% <0.00%> (+1.56%) ⬆️
... 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 9415311...8d4ee80. Read the comment docs.

JoanFM
JoanFM previously approved these changes May 19, 2022
@JoanFM JoanFM merged commit c88d2cf into master May 19, 2022
@JoanFM JoanFM deleted the update-hubble-domain branch May 19, 2022 10:44
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 size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0