You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2018/09/25 10:52:00 UTC

[jira] [Commented] (QPID-8245) [Broker-J] [AMQP 0-8..0-91] Decode FiledTable fields on demand

    [ https://issues.apache.org/jira/browse/QPID-8245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16627149#comment-16627149 ] 

Rob Godfrey commented on QPID-8245:
-----------------------------------

So I started playing around with this before I went on vacation.  I don't have that laptop with me at the moment, but I'll try picking it up again in a couple of days when I get home (the other aspect from a performance perspective is that if you decode only on a filter query, you can populate the key with the string from the filter, meaning the filter will do identity comparisons and won't need to actually compare strings for the most part)

> [Broker-J] [AMQP 0-8..0-91] Decode FiledTable fields on demand
> --------------------------------------------------------------
>
>                 Key: QPID-8245
>                 URL: https://issues.apache.org/jira/browse/QPID-8245
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.1.0
>            Reporter: Alex Rudyy
>            Priority: Major
>
> At the moment all field table properties are decoded when decode functionality is invoked. For use cases when only some of the field table properties are queried, the decoding functionality can be changed to stop decoding on getting the requested property. Potentially, such approach can improve the performance of routing transient messages when destinations are bound to the routing exchange using selector filters. As filter expression contains only some properties, the decoding of message headers can be stopped on getting all fields specified in selector expression.
> The idea is illustrated by Rob Godfrey on [QPID-8238|https://issues.apache.org/jira/browse/QPID-8238?focusedCommentId=16601936&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16601936]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org