commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liyin Liang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-332) Improve tailer's reading performance
Date Fri, 01 Jun 2012 05:25:22 GMT
Liyin Liang created IO-332:
------------------------------

             Summary: Improve tailer's reading performance
                 Key: IO-332
                 URL: https://issues.apache.org/jira/browse/IO-332
             Project: Commons IO
          Issue Type: Improvement
            Reporter: Liyin Liang


Now, Tailer triggers a lot of calls to the underlying runtime system, that is, RandomAccessFile.read(),
a native method that returns the next byte of the file. This approach is too slow to meet
our need. The performance can be improved by using a large buffer, that is using RandomAccessFile.read(byte[]).
Then Tailer only rarely accesses the underlying system.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message