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 » Calling flows from different execution group

Post new topic  Reply to topic
 Calling flows from different execution group « View previous topic :: View next topic » 
Author Message
sateliter
PostPosted: Mon Sep 08, 2014 9:10 am    Post subject: Calling flows from different execution group Reply with quote

Newbie

Joined: 03 Apr 2014
Posts: 2

We are in an Enterprise environment: several flows and several execution groups.
We have a flow in one execution group, and would like to call another flow but it is in another execution group. To be able to call between flows we are using web services. But it’s a little bit silly do that, because flows are in the same server and we are paying the penalty of serializing / de-serializing SOAP.

What would be the best way in terms of performance/maintenance/reusability?

A solution would be to put all the flows in the same execution group, but it would be a massive execution group. I don’t think this would be feasible, and if the execution group goes down, the whole operation goes down.
A different solution would be the creation of copies of the flow and deploy them in every execution group that requires invoking that flow. But here the maintenance would be a hell. Every change in the flow you would need to replicate it to the other execution groups but this is prone to human errors.

Any advice would be appreciated.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Sep 08, 2014 9:15 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

why do you think having two flows in the same EG lets you avoid serialization/deserialization?

What is required to start a flow? What is the difference between a flow and a subflow?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 08, 2014 9:35 am    Post subject: Re: Calling flows from different execution group Reply with quote

Grand High Poobah

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

sateliter wrote:
But it’s a little bit silly do that, because flows are in the same server and we are paying the penalty of serializing / de-serializing SOAP.


You're making an assumption that they will always be in the same server. If this is enterprise solution then you must assume that the enterprise will grow and you'll need more capacity for more business throughput. Even if you scale up the current server, sooner or later you'll reach the maximum for the hardware and need to distribute over a second (or third) server.

Or your business continuity people will discover that, as you phrased it, "the whole operation" is on the same server. At this point they will tie you to a stake and pile firewood round you, while chanting "Single Point Of Failure" in three-part harmony until you agree to distrubute over redundant hardware.

So how much does this serialization/deserialization cost anyway?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Sep 08, 2014 12:53 pm    Post subject: Re: Calling flows from different execution group Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

sateliter wrote:

We have a flow in one execution group, and would like to call another flow but it is in another execution group. To be able to call between flows we are using web services.


I am completely agree with mqjeff and his valid questions.

If you are using some message flows in multiple other flows... then why don't you convert them to subflow(s) and use it as reusable component(s) wherever you want.
Libraries are there where you can place reusable components and can easily manage/maintain them, as Schema/WSDL.

By 'Enterprise Environment' , do you mean A2A or B2B ? (though these terms are older now and not getting used frequently) but in any of the cases if the business expands on either side there are pertty good chances after that you tend to do some modifications/adjustments to fit into, without affecting business.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling flows from different execution group
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.