Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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: 15357
    
    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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: performance issues with file read and write
 
Similar Threads
buttonName.click() is not working in Netscape
JFileChooser open and cancel button
uploading files with java
Doubt in send the data from a text file
file attachment