AdguardTeam / AdguardTeam/AdGuardHome

Get fastest IP address in background

Abierto
#3,715 2 comentarios 3 reacciones 0 asignados Ver en GitHub
feature request
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.