Implement retry mechanism in the buffer layer
Read file soon after opening or reopening it
Detect file truncation
Reduce cpu usage of in-tail
Add log messages
Dynamically adjust weight of each servers based on error