AdguardTeam / AdguardTeam/AdGuardHome

Get fastest IP address in background

未关闭
#3,715 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
TypeScript
星标
36.9k
派生
2.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Problem Description
Currently if enable "Fastest IP address" function it will slow down the query speed.

### Proposed Solution
My suggestion is when the query domain was not in cache, query it from upstream and return all without speedtest.
After this domain save to cache, ADH can use some background thread to test the fastest IP and modify the cache. Only keep the fastest one.
Next time when this query is return from cache ADH can return the fastest one directly.

This solution can bring "Fastest IP addresss" function without additional query delay.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。