Skip to content

Use ConcurrentSkipListMap for unconfirmed messages tracking#921

Draft
acogoluegnes wants to merge 1 commit into
mainfrom
unconfirmed-use-concurrent-skip-list-map
Draft

Use ConcurrentSkipListMap for unconfirmed messages tracking#921
acogoluegnes wants to merge 1 commit into
mainfrom
unconfirmed-use-concurrent-skip-list-map

Conversation

@acogoluegnes

@acogoluegnes acogoluegnes commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

This eliminates TreeMap snapshot copies in the confirm timeout task. The monotonically increasing publishing IDs mean insertions always occur at the tail while removals (confirms) happen near the head, which suits the skip list's concurrent access patterns well.

This eliminates TreeMap snapshot copies in the confirm timeout task.
The monotonically increasing publishing IDs mean insertions always occur
at the tail while removals (confirms) happen near the head, which
suits the skip list's concurrent access patterns well.
@acogoluegnes acogoluegnes force-pushed the unconfirmed-use-concurrent-skip-list-map branch from efe4935 to 2d17cb8 Compare January 23, 2026 16:18
@acogoluegnes acogoluegnes changed the title Use ConcurrentSkipListMap for unconfirmed message map Use ConcurrentSkipListMap for unconfirmed messages tracking Jan 23, 2026
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