Giter VIP home page Giter VIP logo

file_cache_server's Introduction

KBase Developer Documentation

Core Service Docs

Relation Engine and Search codebases

User help

file_cache_server's People

Contributors

jayrbolton avatar scanon avatar sychan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

file_cache_server's Issues

A few admin reporting endpoints

For sysadmins of this service, it would be nice to have some simple endpoints that return json showing status about number of files, size, and request activity

Swagger docs

Add openapi docs to the root page because it's useful and easy

Reference data storage API proposal

This codebase could potentially be used for reference data storage, allowing us to keep a standardized, centralized place to upload & download RE import data, SDK app data, etc. I propose adding an endpoint that provides a JSON-RPC 2.0 api for uploading files:

Methods:

  • upload_file - Upload a new file and get its ID. Returns a hex-encoded content hash of the file, which represents its ID. If the file already exists, then the user is given the file ID and this is a no-op. The user can provide some optional additional metadata which is stored in Minio's object metadata.
  • download_file - Download a file from the store using its ID, which is its content hash.

The server can gzip files if they have not already been compressed. We can also have a Python client module that takes care of creating tarballs, gzip compression/extraction, proper low-memory streaming, and checking downloaded data against its content hash.

Optionally, we could have a policy to expire files if they haven't been accessed after a certain time period, such as 500 days.

Blake2b hashing should be used.

Users can upload directories if they pack them into a tarball, and the client can help with this. The server can detect if uploaded files are already gzipped using this

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.