Neuron ESB User Network

The Service Bus for the Connected Business

I was wondering what the additional overhead looks like for Subscriptions based on topics vs Subscriptions based on Topic + Condition.  Specifically XPath expressions evaluated against the body of a message.

I know there would be a performance hit because:

  • If the message body is internally passed as a binary blob, which would be great from a memory management perspective, It would have to be parsed into an XML Structure that can be used to evaluate XPath expressions.  Effectively there would be an second copy of the message in memory.
  • Then there is the issue of the XPath evaluation itself (Parsing, Compiling, etc).

Has anyone taken a look at this?

 

Tags: Based, Condition, Content, Routing, Topic

Views: 78

Reply to This

Replies to This Discussion

Performance will be affected by the size of the message...as well as the complexity of the XPath, so one test per se will not fit all cases.  As you noted...we need to load the entire message into a DOM to execute the XPATH...so we essentially copy the message in memory.

If the message body of the ESBMessage itself is a binary blob, then an XPATH will not be evaluated against it.  It will only be evaluated if the message body is xml


The routing performance hit on thruput can be as little as 30%....but could be greater...depending on the message and xpath statement

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service