tag:blogger.com,1999:blog-5496486467939848451.post2229399590056666002..comments2023-12-23T03:42:18.079-05:00Comments on BizTalk Guru: Determining the optimum number of BizTalk HostsAnonymoushttp://www.blogger.com/profile/15527294402156840684noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5496486467939848451.post-83635356199228994692015-05-04T14:58:30.982-04:002015-05-04T14:58:30.982-04:00i'm not sure about your requirement but here i...i'm not sure about your requirement but here is how biztalk handles memory <br /><br />As soon as a BizTalk host is started, a default AppDomain is created.<br />All the code for processing send and receive ports will run in this AppDomain which includes any custom pipeline component and maps – where you would be able to implement and use any caching.<br />Orchestrations run in an XLANG/s specific AppDomain which is created as soon as the first orchestration is run, This includes any maps called from your orchestration. <br />This AppDomain will be shared by all orchestrations and applications running in that host.<br /><br />Soto answer your question YES it is possible if all the orchestrations or transforms accessing the global variables are running under the same App Domain Anonymoushttps://www.blogger.com/profile/15527294402156840684noreply@blogger.comtag:blogger.com,1999:blog-5496486467939848451.post-17350563895329158072014-05-07T06:49:42.092-04:002014-05-07T06:49:42.092-04:00Hi,
Thanks for an informative post.
I have a que...Hi,<br /><br />Thanks for an informative post.<br /><br />I have a question that I can't find the answer to anywhere and wondered if you knew the answer.<br /><br />Imagine we have a single host running two host instances (on two physical clustered machines). If we use an in-memory variable in an orchestration such as an array (purely for example) - if we add something to that variable on one host instance is it 'visible' on the other host instance? or do the two host instances have separate sets of memory?<br /><br />I suspect their memory is separate which will cause us problems as we have some applications that use global variables like these to store error information etc that other orchestrations might need to use!Anonymousnoreply@blogger.com