aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes performance issues with file read and write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "performance issues with file read and write" Watch "performance issues with file read and write" New topic
Author

performance issues with file read and write

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
Where is this file?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
on server.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Nov 22, 2008
Posts: 18944
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: performance issues with file read and write