Re: Exteding the AdRotator Control and Advert.xml file to track advert stats
- From: wawang@xxxxxxxxxxxxxxxxxxxx ("Walter Wang [MSFT]")
- Date: Wed, 03 Oct 2007 23:26:19 GMT
Hi MC,
Even if we could update the xml file "database", there's a high chance that
we will encounter locking issues since multiple requests can take place at
the same time and they all need to write to the xml file. Note IO
operations are slow, therefore such locking and IO errors will occur very
frequently.
On the other hand, database is much better handling such concurrent
operations, especially if you're inserting two irrelevant new records
(instead of updating a single record); and database operations are much
faster than IO operations.
Hope this helps.
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Regular Expression Validator
- Next by Date: Re: Displaying User-Supplied String
- Previous by thread: Re: Exteding the AdRotator Control and Advert.xml file to track advert stats
- Next by thread: Re: Exteding the AdRotator Control and Advert.xml file to track advert stats
- Index(es):
Relevant Pages
|