BizTalk Server - Slow web service call

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > February 2005 > Slow web service call





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 Slow web service call
Quentin Wehrlé

2005-02-11, 7:58 am

Hello,

Here is my problem; I have 5 calls to 2 diferrents web services inside an
orchestration. I debatch the file inside the orch and do a Loop for all the
messages.
For each message I call the web services, and it is very very slow!
It seems that for each message, it create an instance of the web service ...
So for each message, it takes 2-3 secondes per web service ...

You can imagine the lack of time for 200 messages ...

Does anyone know if there is a way to say that we want to have only one
instance (object) of the web service for the whole messages?

Thanks a lot
Alan Smith

2005-02-15, 7:54 am

Hi,

Debatching large messages in the orchestration is sometimes slow, one option
could be to debtch in the puipeline, and create one orchestration instance
per debatched message (if this is possible in your scenario).

There'a a good blog post on this here:
http://www.geekswithblogs.net/sthom...2/12/17373.aspx

Another option to speed things up may be to use the parallel acions shape
when calling several web services.

Regards,

Alan



"Quentin Wehrlé" wrote:

> Hello,
>
> Here is my problem; I have 5 calls to 2 diferrents web services inside an
> orchestration. I debatch the file inside the orch and do a Loop for all the
> messages.
> For each message I call the web services, and it is very very slow!
> It seems that for each message, it create an instance of the web service ...
> So for each message, it takes 2-3 secondes per web service ...
>
> You can imagine the lack of time for 200 messages ...
>
> Does anyone know if there is a way to say that we want to have only one
> instance (object) of the web service for the whole messages?
>
> Thanks a lot

Quentin Wehrlé

2005-02-15, 7:54 am

Hi,

In fact in a first time I was debatching in the pipeline, but that doesn't
allow me to delivery the messages in the order, that's why I need to debatch
in the orchestration and loop for all the messages (in the order).
But by doing that, the web service calls are not done in the same time, so I
lose precious seconds for each message ...
That's why I would like to use the same instance of the web service for the
whole messages in the orchestration .... (I managed to do this, but by using
a C# class calling the web service that I use by a var in my orchestration...)

I'm really searching why this web services are so slow ... (in fact the
instanciation ...), is it a BizTalk problem ....? Or am I missing something?

Tanks a lot for your help

"Alan Smith" wrote:
[vbcol=seagreen]
> Hi,
>
> Debatching large messages in the orchestration is sometimes slow, one option
> could be to debtch in the puipeline, and create one orchestration instance
> per debatched message (if this is possible in your scenario).
>
> There'a a good blog post on this here:
> http://www.geekswithblogs.net/sthom...2/12/17373.aspx
>
> Another option to speed things up may be to use the parallel acions shape
> when calling several web services.
>
> Regards,
>
> Alan
>
>
>
> "Quentin Wehrlé" wrote:
>
Matt Milner

2005-02-16, 2:47 am

Part of the issue is that each call to the web service involves 1)
publishing your request to the message box, 2) the send adapter getting this
message and actually making the SOAP call, then 3) placing the response back
in the message box, where it can be 4) picked up by the orchestration. Take
a look at this peformance characteristics whitepaper for information on how
you can tune your server for different adapters:

http://www.gotdotnet.com/team/wsser...Performance.zip

Matt

"Quentin Wehrlé" <QuentinWehrl@discussions.microsoft.com> wrote in message
news:B35C389A-DCD8-492C-BF6D-DF65D9D557AE@microsoft.com...[vbcol=seagreen]
> Hi,
>
> In fact in a first time I was debatching in the pipeline, but that doesn't
> allow me to delivery the messages in the order, that's why I need to
> debatch
> in the orchestration and loop for all the messages (in the order).
> But by doing that, the web service calls are not done in the same time, so
> I
> lose precious seconds for each message ...
> That's why I would like to use the same instance of the web service for
> the
> whole messages in the orchestration .... (I managed to do this, but by
> using
> a C# class calling the web service that I use by a var in my
> orchestration...)
>
> I'm really searching why this web services are so slow ... (in fact the
> instanciation ...), is it a BizTalk problem ....? Or am I missing
> something?
>
> Tanks a lot for your help
>
> "Alan Smith" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com