Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
6 subscribers
Views
3441 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
We have a process that spawns into thousands of sub processes. Parent process is
prasadhk
over 12 years ago
We have a process that spawns into thousands of sub processes. Parent process is scheduled to run every 5 mins. Number of sub processes that parent process creates depends on some conditions. We have an environment that is load balanced with 4 nodes. We understood from appian that when a parent process goes through a Node, all the sub processes takes the same route. We are seeing high CPU utils in specific node due to the high volume of requests due to the spawning sub processes.
Is there a way to make the sub process goes through different nodes? Is there a process design recommended to achieve this? (Asynchronous process etc)....
OriginalPostID-63107
OriginalPostID-63107
Discussion posts and replies are publicly visible
0
Jason
Appian Employee
over 12 years ago
Instead of spawning as sub-processes, you can spawn additional processes via a message. This will load-balance all the initiated processes across the execution engines. See:
forum.appian.com/.../Start_Event:_Receive_Message
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadhk
over 12 years ago
Are we saying that if I spawn the sub process through process to process messaging (where sub process getting started through message event), each sub process that triggered through message might go to different nodes depends on the load?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadhk
over 12 years ago
I meant node as JBOSS nodes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 12 years ago
nodes=Appian Process Execution Engines.
If you have more than one application server, unattended activities that are executed in Java will load balance between the app servers on their own.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadhk
over 12 years ago
Hi Mike, this is exactly my question is. When we have scheduled runs (entire process is unattended), all it's spawns thousands of sub processes, question is, when the parent process (that is executed through one engine node) goes through one JBOSS node, does all sub processes that's created by the parent goes through the same node or load balances across?
Reason is CPU spike when certain number of requests goes through one JBOSS node, suspecting this is due to all subprocess takes the same JBOSS node as parent.
Please advise.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 12 years ago
It is possible that the initial spawn request is processed by a single app server, however, like I mentioned earlier, all unattended activities that need execution on the app server will be load balanced between different app servers.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadhk
over 12 years ago
Thanks Mike, it's very helpful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel