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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Workflow method calls and performance

Post new topic  Reply to topic
 Workflow method calls and performance « View previous topic :: View next topic » 
Author Message
manoj
PostPosted: Fri May 03, 2002 10:30 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Hi,
While looking in to the java APIs it seems that the method calls on the objects are also contacting the server.
eg .. WorkItem.inContainer();
or say ReadOnlyContainer.getString("firstName");
i believe that the object returned say a WorkItem object is just a handle and not an object with all the properties set. So each time i invoke a method on such an object the call is going to the workflow server. This seems to be a performance problem when i 've large number of workitems or a large datastructure.
Is my understanding correct ?

Also when i call WorkItem.inContainer() for a single user(and single workitem) it takes 50 milliseconds (say) . But if i call WorkItem.inContainer() for 10 users (single worikitem) it takes 500 milliseconds for each user.
is it an expected behaviour ?


Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Fri May 03, 2002 10:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

The initial call to the object retrieves all of the "PRIMARY" attributes (see programming guide for list). The first reference to any SECONDAY attribute OR a .refresh() call on the object will get ALL of the Secondary attributes



_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Workflow method calls and performance
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.