GithubHelp home page GithubHelp logo

elfs's People

Contributors

eriq-augustine avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

zeropool

elfs's Issues

Better Caching for S3

The current S3 readers/writers will perform requests over the wire one-for-one with requests made to the reader/writer.
However, we should probably make fewer, larger requests to S3.

This needs to be researched, and a good median found.

Simplify Permissions

Right now, we use a more ACL-style group permissions.
We should probably just simplify and go with UNIX-style permissions everywhere.

This will lose some expressivity, but the ACL is really not necessary.

Race Conditions

There are race conditions all over the place.
In pretty much every operation.

The real question is how we decide to handle them.
Should we:

  • lock the driver on every command
  • lock on the file level
  • force the external caller to lock

At the driver level, the only critical concern is that that fat is not corrupted.
We will even tolerate things like incorrect access dates or counts as long as the filename and iv remains intact.

Leaking Permissions

In most driver-level operations, we leak some information that the caller should not be privy to.
For example, when we make a dir we will first check to see if the parent directory exists and then we will check if we have permission to write there.
If the context user does not have read permissions on the parent directory, then they now have the additional information that the directory exists.

We do this so that we can return more clear errors.

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.