Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

performance issues with file read and write

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a online site where on clicking a button I update a file. Also, on opening the page I read values from the file. Then on clicking the submit button at the end of page I write to the file. Users who are going to access this site are not very high. Will there be a performance issue when many are accessing the ssame page.

Let me know what else I can do to increase performance.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is this file?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on server.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is a text file then yes you will see problems with multiple people are trying to hit it.

The best thing to do is use a database or xml with a server side language. My 2 cents
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not want the dbase solution but would like to know more about the XML solution. How should I do that?

Right now I have ASP code that writes and reads to file. What should I do if I have to use XML. Is there any special software I need to use? Please guide.

Also, why do you think performance will be better using DBase.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic