How do I build up an atomic file write operation? The file is to be written by a Java service and read by python scripts. For the record, reads are far greater than writ
It's a classic producer/consumer problem. You should be able to solve this by using file renaming, which is atomic on POSIX systems.