Gary Tully created ARTEMIS-3033:
-----------------------------------
Summary: use a structured tree with visitors for wildcard
addresses to avoid duplicate cross linking in address impl
Key: ARTEMIS-3033
URL: https://issues.apache.org/jira/browse/ARTEMIS-3033
Project: ActiveMQ Artemis
Issue Type: Improvement
Components: Broker
Affects Versions: 2.16.0
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 2.17.0
This follows up on ARTEMIS-2990 to address the underlying data structure for
the wildcard address map. In place of a map of addresses with lists of cross
references (which grow linearly), a tree map reflecting the hierarchy of
addresses and wildcards is used. This partitions the search space in a natural
way with the address hierarchy.
in place of collections, a visitor allows access to contained bindings for
processing allowing parallel work.
the read and update paths to access bindings are also separated out to allow
the read to do minimum work.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)