Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be healthier about retransmissions #403

Open
jordansissel opened this issue Mar 4, 2015 · 0 comments
Open

Be healthier about retransmissions #403

jordansissel opened this issue Mar 4, 2015 · 0 comments

Comments

@jordansissel
Copy link
Contributor

When a retransmission occurs, especially because of an ack timeout, it would be best not to retransmit the full spool because if another ack timeout occurs, we'll keep repeating that over and over, retransmitting until we OOM Logstash or starve it of connections.

Given lumberjack is loosely based on TCP window sizing/acknowledgements, it bears noticing that tcp slow-start would help solve this. When needing a retransmission, use slow-start (tiny window size that grows with success).

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

No branches or pull requests

2 participants