Re: BizTalk 2006 FILE adapter polling interval
- From: "Francisco A. Gonzalez" <fgonzalez@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Dec 2006 11:31:34 +0100
Hi Jeremy,
I think you are indeed right, it doesnt work as I explained, I was pretty
much sure of the concept of batching + pooling interval. But it looks like
the polling interval does not work as I expected from my understanding from
experience + product help
I have been playing with it, and I think the batching works well but it seem
like it does not wait for the polling interval.
Why do we want to change this parameters?? it is all about performance. We
don't want our cpu to be fully occupied with receiving messages because lots
of them arrived is a short period of time, maybe making our system to work
really slow, expiring timeout of other ports. This is why i think the batch
size should have a low value if we expect a lot of messages to come in a
really short period of time.
Francisco A. Gonzalez
fgonzalez@xxxxxxxxxxxxxxxxxxxxxxxx
"jeremy" <jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:67531FE7-9051-4A56-B3B7-816891B13A0F@xxxxxxxxxxxxxxxx
T.Z.
Scenario A (batch): I set batch size to 5 and stopped the subscribing sent
port. Restart host for File receive handler. I take 20 messages and copy
into receive location. Receive location picks up all the messages
immediately. Messages are suspended (resumable) in BizTalk Administrator.
Starting send port completes the messages being sent to destination.
Scenario B (polling): I set batch size = 1 and set polling interval to
120000 milliseconds (2 minutes). Restart host. Place a file into receive
location it picks up the file and processes. I wait 20 seconds and put
another file into receive location. It also processes the file
immediately.
From what you described neither scenario behaves as expected?
Jeremy
"Tao Zhang[MSFT]" wrote:
The polling interval is for control the workload. Because when message
was
accepted in to the server, it will occuppy a lot of memory. When set up
a
batch size it limited how many messages the system have to process before
getting new messages in. And interval property decide how long system
should wait to poll the receive location again, if it get no message last
time it polls.
For your scenario, if you put batch size to 1, then, system will get read
one file at a time. But it process it very quickly. So, it will
immediately poll the location again. Because the last it poll the
location,
there is message, so the system will not wait for the polling interval.
It
will poll again, and find one more file. So it will process it, and
polling
again. Because it is so fast, It looks like to you that it has processed
all the files very quickly, without considering batch size or polling
interval.
To see batch size working, you can stop send port which uses this receive
location. And then try. You should see that only one file is read, and
pending for process. If system poll all the file in under this
condition,
report a bug to me:)
To see polling interval, please put a file into receive location, let it
to
be read and processed. Wait a while(time < your polling interval),then,
you put another file again. You will see system will not immediately
read
it, and it will wait until pooling interval and read it.
Thanks
T Z.
--------------------
receiveThread-Topic: BizTalk 2006 FILE adapter polling interval
thread-index: AccYt7tHrT8caMbDTSCjz/IVg7IBWg==
X-WBNR-Posting-Host: 66.6.80.48
From: =?Utf-8?B?amVyZW15?= <jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: BizTalk 2006 FILE adapter polling interval
Date: Tue, 5 Dec 2006 13:53:00 -0800
Lines: 9
Message-ID: <A5101F4F-AFF0-4188-939C-7E7C8046C898@xxxxxxxxxxxxx>
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.2757
Newsgroups: microsoft.public.biztalk.general
Path: TK2MSFTNGHUB02.phx.gbl
Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.biztalk.general:331
NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
X-Tomcat-NG: microsoft.public.biztalk.general
For Biztalk server 2006, there is a new property on the FILE adapter
thelocation called "polling interval" and "batch size" that can be set
from
onUI. When I set the batch size to 1 and polling interval to 120000
milliseconds, it seems not not behaive as expected. If I place 5 files
thethe receive location it will pickup and process them all regardless of
batch size or polling settings.
Any ideas why this is happening?
This posting is provided "AS IS" with no warranties, and confers no
rights.
Connected Systems Division Team
Get Connected!
Meet and interact with key BizTalk Server program managers, developers,
and
testers, and let them and other BizTalk Server community team members and
Most Valuable Professionals help you solve your product questions.
Navigate to http://msdn.microsoft.com/subscriptions/support/ in your
webrowser and register as a managed customer to receive MSDN Managed
Newsgroup Support!
MSDN managed newsgroups are available in English to MSDN Universal,
Enterprise, Professional, and Operating Systems subscribers to receive
free, unlimited technical support on select Microsoft technologies as
well
as to share ideas with other subscribers.
.
- References:
- RE: BizTalk 2006 FILE adapter polling interval
- From: Tao Zhang[MSFT]
- RE: BizTalk 2006 FILE adapter polling interval
- From: jeremy
- RE: BizTalk 2006 FILE adapter polling interval
- Prev by Date: Re: XML Interchange Processing (was: Interchange Pipeline Failure)
- Next by Date: Preserve header information in a flat file interchange
- Previous by thread: RE: BizTalk 2006 FILE adapter polling interval
- Next by thread: Re: BizTalk 2006 FILE adapter polling interval
- Index(es):
Relevant Pages
|