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 » performance question Environment vs. LocalEnvironment

Post new topic  Reply to topic
 performance question Environment vs. LocalEnvironment « View previous topic :: View next topic » 
Author Message
kwelch
PostPosted: Tue Aug 06, 2002 12:31 pm    Post subject: performance question Environment vs. LocalEnvironment Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Hi,

I seem to remember reading somewhere that it is more efficient to use Environment.Variables vs. LocalEnvironment.Variables to store data as the tree doesn't have to get copied from compute node to compute node. I can't seem to find this reference now though! Does anyone know if this is true?

Regards,
Karen
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Aug 06, 2002 12:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Good question!
As per my knowledge, an empty Environment Tree is created when the message is received at the MQInput node. While executing the ESQL code to update Environment Tree in a compute nodes, it will update the same copy of the tree in the message flow for that instance.
Storing Variables into LocalEnvironment tree will lead to creation of new copy of LocalEnvironment tree.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
kwelch
PostPosted: Tue Aug 06, 2002 1:02 pm    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Kiran,

Forgive me if I am stating the obvious here but I need to just make sure I understand.

If I want to build an XML message in the Environment.Variables, I can do so and keep adding to it from Compute Node to Compute Node, the tree does not have to be copied.

If I were using LocalEnvironment.Variables, then in each Compute Node, I would have to set OutputLocalEnvironment.Variables = InputLocalEnvironment.Variables, to retain the values set by the prior Compute Node?

So the answer to my question would be to use the Environment.Variables for better performance? Thanks!

Karen
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Aug 06, 2002 1:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

That's correct!
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » performance question Environment vs. LocalEnvironment
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.