Skip to content

Reduce MDC add/remove on TransportConnection #2434

Closed

Description

@mattrpav

MDC entries are copy-on-write operations and currently every service command sets and removes the connectorURIString as an entry.

Optimizing this measured a 3-6% throughput improvement on M3

The proposed fix solves for this and accounts for nio scenarios where underlying thread services multiple connections by only swapping the value as needed.

Activity

  1. self-assigned this
    on Aug 9, 2026
  2. changed the title [-]Reduce MDC churn on TransportConnection[/-] [+]Reduce MDC add/remove on TransportConnection[/+] on Aug 9, 2026
  3. added 2 commits that reference this issue on Aug 10, 2026
  4. moved this from Backlog to Done in Apache ActiveMQ v6.4.0on Aug 11, 2026
  5. added theissue type on Sep 29, 2026
  6. added 2 commits that reference this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions