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 » Which is good design

Post new topic  Reply to topic
 Which is good design « View previous topic :: View next topic » 
Author Message
deepak_paul
PostPosted: Tue Mar 16, 2010 7:49 pm    Post subject: Which is good design Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

1. MQInput-->Compute[Store input Msg into Env and form Subflow request]-->Subflow-->Compute[Parse Env tree and combine with Subflow response]-->MQOutput

OR

2. MQInput-->Flow Order[Term1]-->Compute[form Subflow request]-->SubFlow-->Compute[Store Subflow response into Env]
|
[Term2]--> Compute[Process Subflow res in Env]-->MQInput
_________________
Regards
Paul
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Mar 16, 2010 9:31 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi deepak_paul,

Basically your question becomes, should I develop an asynchronous or a synchronous flow.

Both are possible to do, the decision should be made after considering how critical the availability of the flow is, how much time does the backend request take, what is the throughput required etc.

Regards.
Back to top
View user's profile Send private message Send e-mail
deepak_paul
PostPosted: Tue Mar 16, 2010 9:43 pm    Post subject: Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

Elvis_gn,

I would like to expect like

First design has minimal nodes but storing the whole input message and having that env tree being passed to next node is an overhead.
_________________
Regards
Paul
Back to top
View user's profile Send private message
deepak_paul
PostPosted: Thu Mar 25, 2010 7:54 am    Post subject: Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

Any other solutions?
_________________
Regards
Paul
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Mar 25, 2010 12:03 pm    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

elvis_gn wrote:
Hi deepak_paul,

Basically your question becomes, should I develop an asynchronous or a synchronous flow.


Really? I cant see that this is where the OP was going with the diagrams supplied above (although its not the easiest one to follow and the MQInput node at the end of leg 2 is confusing also). To me it looks like the second diagram has a flow order node with both its terminals connected but other than that its similar to the first one with nothing making it behave in an asynchonous fashion.

The second diagram looks overly complicated in this scenario and in general i'd probably opt for the first flow as its easier to follow. Each to their own though.

Just out of interest what does your subflow do? If it is making exeternal calls then maybe it would be worth thinking about doing this in an asynchronous manner (which may have been elvis' point). You are more likely to get a bigger benefit from doing that than worrying about the introduction of a flow order node.
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 » Which is good design
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.