libwww-perl / libwww-perl/HTTP-Message
Fixed Read Buffer Size [rt.cpan.org #105184]
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 32
- Forks
- 63
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 1
Description
Migrated from rt.cpan.org#105184 (status was 'new')
Requestors:
- dam6923@gmail.com
From dam6923@gmail.com on 2015-06-12 04:03:33:
Hello,
I have discovered much better performance when increasing the size of
the buffer responsible for reading a file when DYNAMIC_FILE_UPLOAD is
set to true. It's current a fixed size of 2048. Please increase this
to a more modern number (Java uses 8192 by default for buffered file
reads) and/or allow this to be a configurable option.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the code handling DYNAMIC_FILE_UPLOAD and the fixed 2048-byte read buffer in the HTTP-Message distribution. Review the existing configuration and tests, then clarify whether the expected change is a larger default, a configurable value, or both. Done should include the agreed buffer behavior and coverage for it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100