Re: Exteding the AdRotator Control and Advert.xml file to track advert stats



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.

.



Relevant Pages

  • Re: Exteding the AdRotator Control and Advert.xml file to track advert stats
    ... 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. ... 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. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DBIx::XML::DataLoader
    ... Is there a package or utility that can read an XML file of the sort I ... The dbinfo specifies the login ... credentials to the database, and the database. ... And, I have no idea what XPATH is, let alone what to do with it. ...
    (comp.lang.perl.misc)
  • Re: XML parser and writer
    ... XStream, Castor, JAXB come to mind. ... why not some database technology? ... an advanced user can edit the XML file directly at ...
    (comp.lang.java.programmer)
  • Re: XML parser and writer
    ... them on a calendar. ... set for it and I was thinking of storing all the data in an XML file. ... why not some database technology? ... Tasklist the DOM would quickly become unwieldy especially if you have any ...
    (comp.lang.java.programmer)
  • RE: Backup Log Links dont work in Server Management Console
    ... Check the database connection information and make sure that the database ... "Rob Currier" wrote: ... It created a new xml file with the same name. ... >> for the backup and last backup is correct. ...
    (microsoft.public.windows.server.sbs)