ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » is performance going to affect if the Compute node is not co

Post new topic  Reply to topic
 is performance going to affect if the Compute node is not co « View previous topic :: View next topic » 
Author Message
bhaski
PostPosted: Tue Feb 11, 2014 8:45 am    Post subject: is performance going to affect if the Compute node is not co Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Hi Friends..

If the Compute Node output is not connected to any ( actually not required the output ) and return is true.. will it affect performance? but not getting any error.

Input --> Compute Node ( doing some select query and keeping them to cache ). but it returns true.

Please clarify my doubt...


Bhaski.
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 11, 2014 9:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You're going to get some sort of hit as the node will assemble an output message tree that it immediately discards.

I doubt it's going to be significant.

IMHO it's neater / clearer / self documenting to use return false to deliberately indicate that you know the flow stops. But that's just me.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Tue Feb 11, 2014 9:27 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

kind of ridiculous question. If you do not put any message through the flow, performance will be great !!... do you need error processing or not ?

just to expand on that. The select on the db could give an error, so is that ok ? would you be happy with that ?
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Tue Feb 11, 2014 11:58 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Vitor wrote:
the node will assemble an output message tree that it immediately discards


Is there no broker-side optimization for that kind of thing?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Feb 11, 2014 12:02 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gralgrathor wrote:
Vitor wrote:
the node will assemble an output message tree that it immediately discards


Is there no broker-side optimization for that kind of thing?


I'm not aware of any and am prepared to be corrected by anyone who knows better.

As I indicated, I tend to set false. Though server side optimisation is one possible explaination of the lack of detectable time impact. As well as it only taking so little time you can't detect it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bhaski
PostPosted: Fri Feb 14, 2014 5:35 pm    Post subject: Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Thank you for your input.. one more question.. If we remove 2 Flow order node and replace it with if condition in compute node ( Compute node is already available after Flow Order ). how much I can expect improvement? 10%?
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Feb 15, 2014 8:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

bhaski wrote:
Thank you for your input.. one more question.. If we remove 2 Flow order node and replace it with if condition in compute node ( Compute node is already available after Flow Order ). how much I can expect improvement? 10%?

Undetermined as this is a change in design. If you had said FilterNode instead of FlowOrder it would have made more sense...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Feb 18, 2014 5:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
Undetermined as this is a change in design. If you had said FilterNode instead of FlowOrder it would have made more sense..




A Filter node performs better than a Compute node as a Filter node doesn't perform any manipulation of the message tree.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bhaski
PostPosted: Wed Feb 19, 2014 8:34 am    Post subject: Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Thank you friends all your reply.
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » is performance going to affect if the Compute node is not co
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.