My program is to send sms(short message) to a group of
mobile receivers. I devide the business into two parts:
asp.net and queued component. Asp.net accept the txt file
of receivers' phone numbers and group the numbers to
packages which include 200 number each. Queued component
will loop 200 times and record it into database in each
loop. I use queued component of COM+ to facilitate the
async call, which means asp.net call the QC and return
quickly.
The two parts run on one Windows 2000 Server, with IIS
5.0, msmq 2.0, COM+1.0 and two CPUs. The problem occurs
when I send sms to 50,000 receivers. My asp.net package
the job into 250 requests and call the component 250
times. I do see there are 250 calls in the queue of the
component. But finally the number of records in DB varies
each time, but has a common feature. It is multiple of
200 and less than 50,000. So I think the internal program
inside the qc works fine, and the question is COM+
architecture calls the QC in a wrong times. In other
words, COM+ loss some packages in the queue or it call
the QC with an error. (But I can't see any error record
in Event Log of Windows.)
Another intersting thing is that it never occurs in my
developing machine. The developing machine is much slower
with only one CPU.
I will be very appreciated if anybody can tell me the why
or tell me the right way.
Thanks.
Wei Xie - 17 Nov 2003 06:50 GMT
Sorry, I forgot write my name.
My Name is Wei Xie, and email is xiewei@ths.com.cn
>-----Original Message-----
>My program is to send sms(short message) to a group of
[quoted text clipped - 31 lines]
>
>.
Tomas Restrepo \(MVP\) - 17 Nov 2003 13:48 GMT
> My program is to send sms(short message) to a group of
> mobile receivers. I devide the business into two parts:
[quoted text clipped - 19 lines]
> the QC with an error. (But I can't see any error record
> in Event Log of Windows.)
I would doubt this is happening. However, a couple of questions might help
pinpoint issues. For example: Are your Queued Components Transactional?
(i.e. marked with TransactionRequired)? Are you sure your components are
getting called for each message?

Signature
Tomas Restrepo
tomasr@mvps.org