Link to home
Start Free TrialLog in
Avatar of kerzner
kerznerFlag for United States of America

asked on

Concurrent directory writes

Hi,

I have a few computers running my software, which writes files on the server. Sometimes, it writes new files to the same directories, and some times tries to create new directories in the same directory.

I get locks, errors, and all kind of strange problems, such as new File(dir).exists() returning false for a directory which really does exist. The language I am using is Java, and the server is Windows 2003.

I wonder if I would have the same problems in Linux?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of brettmjohnson
brettmjohnson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kerzner

ASKER

Very good explanation of what is going on inside. My solution at the moment is to have all processing computers form results locally, and then the organizing machine delivers the final results to the server. Seems reasonable in view of the above.

thank you.