Giter Club home page Giter Club logo

netfuse's Introduction

netfuse

Experimental: FUSE-based abstraction for networked filesystems

This library provides a wrapper around the pure rust rewrite of libfuse. It provides an internally managed inode cache that allows abstracting FS operations into operations on paths. It is designed with the assumption that the backing store is over a network, so the implementation relies heavily on caching and lazy writing to improve perceived performance.

Documentation

Build Status Crates.io

Implementations

This was originally ripped out of the implementation of algorithmia-fuse mentioned below.

  • algorithmia-fuse - filesystem for managing data through the Algorithmia platform

If you build something with it, open a PR or file an issue to get it added here. :-)

Current caveats

I wouldn't recommend this for any production-quality filesystem today. These are some known caveats:

  • Writes persist when closing the last open handle to a file. If the close fails, it's likely the data isn't persisted.
  • The entire inode and file cache lives in RAM, so if you download a 4GB file, it will occupy 4GB of RAM until it is closed.
  • Directory listing is permanently cached, so if you change a directory's contents outside of the FS, you have to unmount and remount before those changes appear.
  • Testing while mounted has been limited to a handful of common I/O scenarios
  • General network filesystem caveats apply, e.g. some file operations may appear slow
  • Implementing readdir will hopefully be much nicer after impl Trait lands

Please file an issue or create a pull request if you run into any issue or limitation using this library.

Build, Test

To build and test:

$ cargo build
$ cargo test

netfuse's People

Contributors

anowell avatar mersinvald avatar

Watchers

James Cloos avatar  avatar

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.