Ok, so im having data written to an xml file. This xml is regularly written to, so a decent amount of traffic on it. But rarely ever gets viewed.
Right now i read the xml file in with XmlDocument..Load()
Then modify it.
and overwrite using XmlDocument..Save();
Gets the job done perfectly. But i have a few concerns.
Does XmlDocument.Load() put the whole xml document into memory? This file may get large(100mb?) so i dont want to use up a lot of memory if many people are hitting it at once.
And. When many people are hitting it at once. Is there a chance data will be over written/lost if 2 people are using it at once?
What i need help on i guess is a way to directly write at the end of an xml file without loading it. Thanks!