Skip to content

Conversation

@wassim-k
Copy link

Performance of SessionTimeoutWindow degrades rapidly with large data stream due to the internal LinkedList growing in size and the linear Find method on the list slowing down over time for sessions with longer timeout.

This PR replaces LinkedList with a Queue, this change improves performance by up to 100x for large data streams.

All tests pass.

@wassim-k wassim-k force-pushed the session-window-pipe-queue branch from 837b4f1 to 3a64b96 Compare January 18, 2026 21:14
@wassim-k wassim-k force-pushed the session-window-pipe-queue branch from 3a64b96 to bc9338f Compare January 18, 2026 22:53
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.

1 participant