Code Monkey home page Code Monkey logo

iris's People

Contributors

dependabot[bot] avatar junkybyte avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iris's Issues

Allow sync of files being written incrementally

Check the possibility to continuously sync a file being written continuously e.g. by a bash script.

echo "avg_walltime" > file.csv
for i in $(eval echo {0..K});
do
  echo $i >> file.csv
  ... sleep
done

this will only be sync by watchdog on file creation / first change

Switch to put and get

Manual read write was useful when this project started because allowed full control over the process.
asyncssh has put and get methods for sftp now, they should be faster than current method and allow for similar progress callback.

Truncated files may be copied back

Especially with mirror=True if the initial file sync is interrupted a truncated file is written. When running iris again it will have newer mtime / atime than og files and will break the sync by overwriting the original files.

A solution might be to use tmp files on write and renaming them only on completion. This way is possible to do cleanup on run and be sure that files are only present when complete (and with correct atime mtime)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.