|
Home > Archive > BizTalk Server General > October 2004 > File Adapter race condition
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 |
File Adapter race condition
|
|
| The Gremlin 2004-10-04, 5:52 pm |
| Hello.-
Several weeks ago searching about how to configure receive adapters for flat
files on a UNC mapped drive I read about a biztalk setting that permits
rename files in order to avoid race condition.
Some one have an idea about wher a could found more information about this
topic?
Thanks in advance.-
Daniel Montes
| |
| Allen Zhang 2004-10-04, 5:52 pm |
| Is that listed out in the documentation or on the web?
The so called "race condition" is not race condition within the program
process (which would have been a bug if so). Or rather if you use UNC path
and having multiple host instances to pick up from this same location,
because of our file receive adapter is very efficient at picking up the
files, you could see one host instance picking up a lot of files while
others just playing catch up (since they are going down the same list of
files). By adding a rename regkey, the process of renaming a file could
potentially slow down the adapter just a little so the work is more
distributed. Depending on the machine, you may or may not see the
improvement. On powerful, faster machines, this problem is more pronounced.
Let me know if this answers your question. Thanks!
- Allen Zhang (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Hello.-
>
> Several weeks ago searching about how to configure receive adapters for
flat
> files on a UNC mapped drive I read about a biztalk setting that permits
> rename files in order to avoid race condition.
>
> Some one have an idea about wher a could found more information about
this
> topic?
>
> Thanks in advance.-
>
> Daniel Montes
>
| |
| The Gremlin 2004-10-04, 5:52 pm |
| That is exactly our case. Two fairly powerful machines reading from a common
UNC path. We would like to experiment with this setting and see how it
behaves. Where can we find information about the registry settings?
"Allen Zhang (MSFT)" wrote:
> Is that listed out in the documentation or on the web?
>
> The so called "race condition" is not race condition within the program
> process (which would have been a bug if so). Or rather if you use UNC path
> and having multiple host instances to pick up from this same location,
> because of our file receive adapter is very efficient at picking up the
> files, you could see one host instance picking up a lot of files while
> others just playing catch up (since they are going down the same list of
> files). By adding a rename regkey, the process of renaming a file could
> potentially slow down the adapter just a little so the work is more
> distributed. Depending on the machine, you may or may not see the
> improvement. On powerful, faster machines, this problem is more pronounced.
>
> Let me know if this answers your question. Thanks!
>
> - Allen Zhang (MSFT)
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> --------------------
> flat
> this
>
>
| |
| Ruslan Yakushev [MSFT] 2004-10-22, 5:49 pm |
| You can find this information in online documentation:
http://msdn.microsoft.com/library/d...-us/operations/
htm/ebiz_ops_adapt_file_lahz.asp
the reg key is called RenameReceivedFiles.
--------------------
>Thread-Topic: File Adapter race condition
>thread-index: AcSqVC+7UTXFeIlOTv23XsUj9R22bw==
>X-WBNR-Posting-Host: 201.243.110.196
>From: "=?Utf-8?B?VGhlIEdyZW1saW4=?=" <imagremlin@hotmail.com>
>References: <88ABB2BD-4CD2-4276-99C2-048E1EFDB30A@microsoft.com>
<7vzz1mjqEHA.3636@cpmsftngxa06.phx.gbl>
>Subject: RE: File Adapter race condition
>Date: Mon, 4 Oct 2004 13:53:23 -0700
>Lines: 43
>Message-ID: <6F54DAB6-50F2-4ECB-BDA2-61EB704215F0@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:20183
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>That is exactly our case. Two fairly powerful machines reading from a
common
>UNC path. We would like to experiment with this setting and see how it
>behaves. Where can we find information about the registry settings?
>
>"Allen Zhang (MSFT)" wrote:
>
path[vbcol=seagreen]
pronounced.[vbcol=seagreen]
rights.[vbcol=seagreen]
for[vbcol=seagreen]
permits[vbcol=seagreen]
>
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
|
|
|
|
|