awslabs / awslabs/aws-eventstream-java
MessageDecoder's initial buffer size should be configurable
- 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