Skip to content

WAGON-537 Maven transfer speed of large artifacts is slow#51

Closed
olaf-otto wants to merge 1 commit intoapache:masterfrom
olaf-otto:WAGON-537
Closed

WAGON-537 Maven transfer speed of large artifacts is slow#51
olaf-otto wants to merge 1 commit intoapache:masterfrom
olaf-otto:WAGON-537

Conversation

@olaf-otto
Copy link
Contributor

Implemented a buffer strategy such that filling the buffer to at least 50% has priority over frequent writes.

Added dynamic buffer capacity allocation based on the expected number of bytes to transfer.

Used NIO buffers to simplify buffer management.

…itable buffer strategy

Implemented a buffer strategy such that filling the buffer to at least 50% has priority over frequent writes.

Added dynamic buffer capacity allocation based on the expected number of bytes to transfer.

Used NIO buffers to simplify buffer management.
@olaf-otto
Copy link
Contributor Author

This change increases download and upload speed of large artifacts by more than a factor of 10 when applied to maven 3.5.4 on Windows 10 64 bit on recent hardware.

@asfgit asfgit closed this in ff45ca8 Nov 14, 2018
@jira-importer
Copy link

Resolve #591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants