grpc / grpc/grpc-java

DNS: use Netty's asynchronous DNS resolver

Aperta
#1,400 5 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement netty performance
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

The current Netty-based transport doesn't use Netty's asynchronous DNS resolver, which means the client hangs if hostnames cannot be resolved. This is really bad if you are reusing an eventloop from other parts of a program and this eventloop is not supposed to block. gRPC should at least expose the necessary APIs to be able to override the default DNS resolver.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the current Netty-based transport's DNS resolution path and how it uses the event loop. Done means hostname resolution is asynchronous and the necessary APIs allow overriding the default resolver without blocking a reused event loop.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend-api-design, networking
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.