awslabs / awslabs/aws-eventstream-java

MessageDecoder's initial buffer size should be configurable

Aperta
#2 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
5
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

MessageDecoder is hard-coded to create a 2 MB buffer for each instance, growing it as necessary. 2 MB is pretty heavy for a request-scoped object, and I've noticed that most of it often goes unused. Can this be configurable with a constructor argument or a system property?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating MessageDecoder and the code that creates its fixed 2 MB initial buffer. Determine how constructor arguments or system properties are handled in this project, then verify that the initial size can be configured while the existing growth behavior remains intact.

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

Valutazione

Stack tecnologico
java
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.