Skip to content

Enable TCP keepalive on the scribe tail connection - #78

Merged
nemacysts merged 1 commit into
masterfrom
luisp/scribe-tail-keepalive
Oct 13, 2026
Merged

nemacysts merged 1 commit into
masterfrom
luisp/scribe-tail-keepalive

Conversation

@nemacysts

Copy link
Copy Markdown
Member

The scribe hosts we use to tail are behind NLBs, which will drop connections after they've been idle for a while.

This drop happens silently: we don't notice on our end and keep waiting forever - which results in folks being confused when the PaaSTA Slack buttons sometimes work and sometimes don't.

To fix this, we can either start send heartbeat messages into this stream (lol) or send keepalive probes as AWS recommends to keep the connection open.
...and since keepalives are less hacky, that's what we'll do :p

The scribe hosts we use to tail are behind NLBs, which will drop
connections after they've been idle for a while.

This drop happens silently: we don't notice on our end and keep waiting
forever - which results in folks being confused when the PaaSTA Slack
buttons sometimes work and sometimes don't.

To fix this, we can either start send heartbeat messages into this
stream (lol) or send keepalive probes as AWS recommends to keep the
connection open.
...and since keepalives are less hacky, that's what we'll do :p
@nemacysts
nemacysts force-pushed the luisp/scribe-tail-keepalive branch from bacf0a7 to 924d3af Compare October 12, 2026 20:52
@nemacysts
nemacysts merged commit 5f2afe5 into master Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants