apache / apache/arrow-java

[Java] improve Flight DoPut busy wait

Aperta
#362 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Type: enhancement
Lingua principale
Java
Stelle
94
Fork
152
Merge medio
3g 16h
PR unite (30g)
11

Descrizione

Currently the implementation of putNext in FlightClient.java busy-waits until gRPC indicates that the server can receive a message. We should either improve the busy-wait (e.g. add sleep times), or rethink the API and make it non-blocking.

**Reporter**: [David Li](https://issues.apache.org/jira/browse/ARROW-4484) / @lidavidm

**Note**: *This issue was originally created as [ARROW-4484](https://issues.apache.org/jira/browse/ARROW-4484). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Leggere putNext in FlightClient.java e seguire il modo in cui attende che gRPC indichi che il server può ricevere un messaggio. Stabilire se l’ambito consiste nel migliorare il busy-wait o nel modificare l’API affinché non sia bloccante. Il lavoro è completo quando l’approccio scelto elimina il problema di busy-wait segnalato senza lasciare indefinito il comportamento dell’API.

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

Valutazione

Stack tecnologico
grpc, java
Ambito
api, performance
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.