Code Monkey home page Code Monkey logo

caradhras's Introduction

Caradhras

A replacement for the "ridgeway" component of the Pilatus system, using a zero-MQ stream in place of the filesystem copy operation which was previously used. This will need two components: a source running on the PPU and a sink running on a good GPFS connected host machine, with a decent ethernet (i.e. TCP/IP) connection between them.

Source

On the HOST machine run:

python3 source.py

This will push the data as multipart messages on a stream for files found on the working directory.

Sink

On the filesystem-mounted machine run

python3 sink.py source-host-name

Which will fetch the files and write them locally with the full filename they were delivered with.

Operation

N.B. at the moment this is a copy not a move: it needs to remove the files at the source end otherwise they will keep getting sent, and the source end also needs a while loop to keep sending files.

caradhras's People

Contributors

graeme-winter avatar

Watchers

 avatar

caradhras's Issues

Remove empty directories

After the files have been transferred remove the directories: not before (unless we have some kind of empty-cleanup-rule like remove when found and empty after 1 hour)

Delete files after sync

After the files have been moved delete them: requires a mechanism to confirm that they have been correctly delivered

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.