cashier

module
v0.0.0-...-dfdc05b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2021 License: MIT

README

cashier

Cashier is a caching layer for "conversion services"

What should it do

  • store files in a common storage service, with TTL

    • BadgerDB (DONE)
    • S3 + DynamoDB (DONE)
    • Other cloud stores (TODO)
  • Support resumable uploads

    • POST creates a file (DONE)
    • POST fails if file already exists, but notifies client if upload is incomplete (DONE)
    • PUT allows updating the file with remaining bytes, via byte range requests (DONE)
  • Support downloads, with range requests (DONE)

  • Notify conversion service of new request (TODO)

  • After upload, client waits for conversion to complete, maybe with long-poll (TODO)

  • When conversion is completed, notify client and start download (TODO)

Directories

Path Synopsis
cmd
store
+build ignore
+build ignore
Package cumulative provides an implementation of cumulative hash (with the underlying hash been MD5)
Package cumulative provides an implementation of cumulative hash (with the underlying hash been MD5)
This package stores files in AWS S3 (and metadata in DynamoDB), allowing for incremental writes of multiple of BlockSize.
This package stores files in AWS S3 (and metadata in DynamoDB), allowing for incremental writes of multiple of BlockSize.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL