Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
IO-278 Improve Tailer performance with buffered reads
- Closed