BizTalk Server General - Orchestration Instances

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > Orchestration Instances





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Orchestration Instances
SP

2004-11-10, 5:48 pm

Hi All,

Is there any limit on the orchestrations instances at any
point of time in memory. How is it controlled in the
Biztalk. If I have an orchestration expecting a file, and
if I drop 1000 files, how many instances of orchestrations
are created at a time? What factor does it depend on?

When does an Orchestration instance die? How long does it
take?

Thanks,
-SP
Matt Meleski

2004-11-10, 8:46 pm

Yes,


Please Check out below for controlling message delivery and
performance in BizTalk

http://msdn.microsoft.com/library/d...madapt_tfdw.asp

http://msdn.microsoft.com/library/d...g_orch_jzex.asp

Check out this whitepaper for more tips on how to tweak performance settings:
http://www.gotdotnet.com/team/wsser...Performance.zip


"SP" wrote:

> Hi All,
>
> Is there any limit on the orchestrations instances at any
> point of time in memory. How is it controlled in the
> Biztalk. If I have an orchestration expecting a file, and
> if I drop 1000 files, how many instances of orchestrations
> are created at a time? What factor does it depend on?
>
> When does an Orchestration instance die? How long does it
> take?
>
> Thanks,
> -SP
>

SP

2004-11-10, 8:46 pm

Thank you Matt. May be I was not clear, but What I wanted
to know about is Orchestration instances in memory at a
time.

I am working on a simple project using a file adapter and
orchestration. I dropped 16 files and started watching
PERFMON. I see 16 documents were received by Biztalk. But
only 12 Orchestration are created. Once some of those are
done, say 5-6, then rest of the orchestrations are
created. I would like to know the reason for this behavior
and what parameters cause this. The number of
orchestrations created at a time depends on the size of
file (guess).

Thanks,
-SP



>-----Original Message-----
>Yes,
>
>
>Please Check out below for controlling message delivery

and
>performance in BizTalk
>
>http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/sdk/htm/ebiz_prog_customadapt_tfdw.asp
>
>http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/sdk/htm/ebiz_prog_orch_jzex.asp
>
>Check out this whitepaper for more tips on how to tweak

performance settings:
>http://www.gotdotnet.com/team/wsser...2004/BTS2004Per

formance.zip
>
>
>"SP" wrote:
>
any[vbcol=seagreen]
and[vbcol=seagreen]
orchestrations[vbcol=seagreen]
it[vbcol=seagreen]
>.
>

Greg Forsythe

2004-11-11, 7:46 am

Read the Biztalk Performance Whitepaper found here.
http://blogs.msdn.com/scottwoo/arch.../21/139187.aspx

It provides a detailed explanation of how process throttling and resource
contention are handled

Greg

"SP" <sp@discussions.microsoft.com> wrote in message
news:1b6701c4c79a$baf7f5c0$a501280a@phx.gbl...[vbcol=seagreen]
> Thank you Matt. May be I was not clear, but What I wanted
> to know about is Orchestration instances in memory at a
> time.
>
> I am working on a simple project using a file adapter and
> orchestration. I dropped 16 files and started watching
> PERFMON. I see 16 documents were received by Biztalk. But
> only 12 Orchestration are created. Once some of those are
> done, say 5-6, then rest of the orchestrations are
> created. I would like to know the reason for this behavior
> and what parameters cause this. The number of
> orchestrations created at a time depends on the size of
> file (guess).
>
> Thanks,
> -SP
>
>
>
> and
> url=/library/en-us/sdk/htm/ebiz_prog_customadapt_tfdw.asp
> url=/library/en-us/sdk/htm/ebiz_prog_orch_jzex.asp
> performance settings:
> formance.zip
> any
> and
> orchestrations
> it


Balaji Thiagarajan

2004-11-11, 7:46 am

See the following code snipet to find out the number of running instances,
dehydrated instances, suspended instances.

ManagementObjectSearcher Searcher = new ManagementObjectSearcher();

// Create the scope node so we can set the WMI root node correctly.
ManagementScope Scope = new ManagementScope("root\\MicrosoftBizTalkServer");
Searcher.Scope = Scope;

SelectQuery Query = new SelectQuery();
Query.QueryString = "SELECT * FROM MSBTS_Orchestration WHERE Name = '" +
orchName + "'";

Searcher.Query = Query;
ManagementObjectCollection QueryCol = Searcher.Get();

foreach (ManagementObject mbo in QueryCol)
{
ManagementBaseObject inParams =
mbo.GetMethodParameters("QueryInstanceInfo");
ManagementBaseObject outParams =
mbo.InvokeMethod("QueryInstanceInfo",inParams,null);

int iRunningInstances =
System.Convert.ToInt32(outParams["NumberOfRunningActiveInstances"]);
int iDehydratedInstances =
System.Convert.ToInt32(outParams["NumberOfRunningDehydratedInstances"]);
int iSuspendedInstances =
System.Convert.ToInt32(outParams["NumberOfSuspendedInstances"]);

}

--
Balaji Thiagarajan
MCP (BizTalk)
http://biztalkbits.blogspot.com
--

"SP" <sp@discussions.microsoft.com> wrote in message
news:1b6701c4c79a$baf7f5c0$a501280a@phx.gbl...[vbcol=seagreen]
> Thank you Matt. May be I was not clear, but What I wanted
> to know about is Orchestration instances in memory at a
> time.
>
> I am working on a simple project using a file adapter and
> orchestration. I dropped 16 files and started watching
> PERFMON. I see 16 documents were received by Biztalk. But
> only 12 Orchestration are created. Once some of those are
> done, say 5-6, then rest of the orchestrations are
> created. I would like to know the reason for this behavior
> and what parameters cause this. The number of
> orchestrations created at a time depends on the size of
> file (guess).
>
> Thanks,
> -SP
>
>
>
> and
> url=/library/en-us/sdk/htm/ebiz_prog_customadapt_tfdw.asp
> url=/library/en-us/sdk/htm/ebiz_prog_orch_jzex.asp
> performance settings:
> formance.zip
> any
> and
> orchestrations
> it


Rajinder Singh

2004-11-11, 5:49 pm

Hi:

Look at this example.

http://geekswithblogs.net/sthomas/a...9/01/10508.aspx

It shows how to limit the number of Orchestration instances running in
memory.


Raj
"Balaji Thiagarajan" <tbalaji_mcsd@hotmail.com.NOSPAM> wrote in message
news:uVzsPx$xEHA.2036@TK2MSFTNGP12.phx.gbl...
> See the following code snipet to find out the number of running instances,
> dehydrated instances, suspended instances.
>
> ManagementObjectSearcher Searcher = new ManagementObjectSearcher();
>
> // Create the scope node so we can set the WMI root node correctly.
> ManagementScope Scope = new

ManagementScope("root\\MicrosoftBizTalkServer");
> Searcher.Scope = Scope;
>
> SelectQuery Query = new SelectQuery();
> Query.QueryString = "SELECT * FROM MSBTS_Orchestration WHERE Name = '" +
> orchName + "'";
>
> Searcher.Query = Query;
> ManagementObjectCollection QueryCol = Searcher.Get();
>
> foreach (ManagementObject mbo in QueryCol)
> {
> ManagementBaseObject inParams =
> mbo.GetMethodParameters("QueryInstanceInfo");
> ManagementBaseObject outParams =
> mbo.InvokeMethod("QueryInstanceInfo",inParams,null);
>
> int iRunningInstances =
> System.Convert.ToInt32(outParams["NumberOfRunningActiveInstances"]);
> int iDehydratedInstances =
> System.Convert.ToInt32(outParams["NumberOfRunningDehydratedInstances"]);
> int iSuspendedInstances =
> System.Convert.ToInt32(outParams["NumberOfSuspendedInstances"]);
>
> }
>
> --
> Balaji Thiagarajan
> MCP (BizTalk)
> http://biztalkbits.blogspot.com
> --
>
> "SP" <sp@discussions.microsoft.com> wrote in message
> news:1b6701c4c79a$baf7f5c0$a501280a@phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com