You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/04/30 12:58:00 UTC

[jira] [Updated] (VFS-706) Add ability to specify buffer sizes #59

     [ https://issues.apache.org/jira/browse/VFS-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated VFS-706:
-----------------------------
    Description: 
Add ability to specify buffer sizes #59.

"FileContent.getInputStream"'s documentation specifies that "The input stream is buffered" which is true (because the implementation in "DefaultFileContent" wraps it in "FileContentInputStream" which inherits "MonitorInputStream" which in turn "BufferedInputStream". However, there is no way to configure the buffer size and sometimes the default one which is just 8 KB might not be a good choice. Adding an ability to specify a different buffer size will help greatly boost the performance when talking to slow providers.

  was:Add ability to specify buffer sizes #59.


> Add ability to specify buffer sizes #59
> ---------------------------------------
>
>                 Key: VFS-706
>                 URL: https://issues.apache.org/jira/browse/VFS-706
>             Project: Commons VFS
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 2.4
>
>
> Add ability to specify buffer sizes #59.
> "FileContent.getInputStream"'s documentation specifies that "The input stream is buffered" which is true (because the implementation in "DefaultFileContent" wraps it in "FileContentInputStream" which inherits "MonitorInputStream" which in turn "BufferedInputStream". However, there is no way to configure the buffer size and sometimes the default one which is just 8 KB might not be a good choice. Adding an ability to specify a different buffer size will help greatly boost the performance when talking to slow providers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)