AdguardTeam / AdguardTeam/AdGuardHome
Get fastest IP address in background
オープン
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 はまだ評価されていません。