imsnif/bandwhich

Retry DNS only after timeout

Aberta

#127 aberto em 16 de jan. de 2020

 (5 comentários) (0 reação) (0 responsável)Rust (237 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (7.686 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Right now, when we do our reverse-dns queries (getting the hostname of an ip address), if the request failed, we retry immediately. This can cause a lot of connections (also visible in the app!) to be opened if a request repeatedly fails.

It would be nice if we have some sort of progressive backoff mechanism for this... something like: wait for 1 second before retrying, then wait for 2, 4, etc.

Guia do colaborador