java - How to snapshot a file in meantime modify it? -


now try conquer problem. problem have file may update in random time, clients download it, when clients download log file, need snapshot file. however, file may update when downing. how make sure copy of log file same user downed one?

you need alter download process.

when click download, should first copy file (your snapshot).

then send them copy of file, not active one.


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -