awslabs / awslabs/aws-eventstream-java
MessageDecoder's initial buffer size should be configurable
Offen
- Vorherrschende Sprache
- Java
- Sterne
- 5
- Forks
- 6
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100