Performance when orchestration exposed as a web service.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Performance when orchestration exposed as a web service.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Performance when orchestration exposed as a web service.  
Mohan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:56 PM

Hi,
We have two orchestrations in two different assemblies. One orchestration
needs to start the other orchestration. Can any body tell me which is the
best way to go?
1. I can use start orchestration and start the other orchestration.
2. I can expose the first orchestration as a web service and consume in
other orchestration.
Will the performance comes down when we expose as a web service and consume
in other orchestration?

Regards, MM





[ Post a follow-up to this message ]



    Re: Performance when orchestration exposed as a web service.  
Jon Flanders[MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:56 PM

You can also do direct binding between the ports.  I'd go for that over
start orchestration (less coupling between the two orchestrations)

--
Jon Flanders
http://www.masteringbiztalk.com/blogs/jon/

"Mohan" <Mohan@discussions.microsoft.com> wrote in message
news:54D54EB8-F325-4058-91EE-7329A8EBFEA6@microsoft.com...
> Hi,
> We have two orchestrations in two different assemblies. One orchestration
> needs to start the other orchestration. Can any body tell me which is the
> best way to go?
> 1. I can use start orchestration and start the other orchestration.
> 2. I can expose the first orchestration as a web service and consume in
> other orchestration.
> Will the performance comes down when we expose as a web service and
> consume
> in other orchestration?
>
> Regards, MM







[ Post a follow-up to this message ]



    Re: Performance when orchestration exposed as a web service.  
Yossi Dahan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 07:48 AM

Mohan wrote:
> Hi,
> We have two orchestrations in two different assemblies. One orchestration
> needs to start the other orchestration. Can any body tell me which is the
> best way to go?
> 1. I can use start orchestration and start the other orchestration.
> 2. I can expose the first orchestration as a web service and consume in
> other orchestration.
> Will the performance comes down when we expose as a web service and consum
e
> in other orchestration?
>
> Regards, MM

As for your performance question -
I'm pretty sure a web service call will be slower then calling an
orchestration (or using direct binding, as Jon suggested) because of the
extra layers required to handle the web service protocol.
however, it won't be a huge difference as web services are usually
considered slower because of the need to serialize the objects to xml
and the deserialize them back to objects on the web service (and in some
cases more then once).
by going through the message box you'll be doing the
serialization/deserialization the cost is not that big (I'm not sure if
this serialization takes place when calling orchestrations)

Using web service will give you more SOA design (Which is the latest
buzz word after all), if there's a chance you'll be needing that called
orchestration from other places (and especially from other
applications/server groups/networks) you should definitely use the web
services approach

Yossi Dahan





[ Post a follow-up to this message ]



    Re: Performance when orchestration exposed as a web service.  
sarbillgates


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-06-05 10:49 PM

Mohan,

Whatever John said is correct and best too.  You can use either start
orchestration shape / direct messagebox binding.   If the orchestrations are
in two namespace/assembilies (it is immaterial) you have to make the called
orchestration access specifier as 'public" and refer the assemly in the
calling orchestration.

-Sarbillgates

"Yossi Dahan" wrote:

> Mohan wrote: 
>
> As for your performance question -
> I'm pretty sure a web service call will be slower then calling an
> orchestration (or using direct binding, as Jon suggested) because of the
> extra layers required to handle the web service protocol.
> however, it won't be a huge difference as web services are usually
> considered slower because of the need to serialize the objects to xml
> and the deserialize them back to objects on the web service (and in some
> cases more then once).
> by going through the message box you'll be doing the
> serialization/deserialization the cost is not that big (I'm not sure if
> this serialization takes place when calling orchestrations)
>
> Using web service will give you more SOA design (Which is the latest
> buzz word after all), if there's a chance you'll be needing that called
> orchestration from other places (and especially from other
> applications/server groups/networks) you should definitely use the web
> services approach
>
> Yossi Dahan
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:50 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register