stream_s3

command
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

README

memr Example Streaming Directly to S3

basic upload usage

go run . --bucket=<BUCKET> --key=<KEY>

upload with lz4 compression (default=snappy)

go run . --bucket=<BUCKET> --key=<KEY> --compression=lz4

upload with 10 goroutines (default=5)

Warning: This will use more memory on a system because of the extra buffers allocated in memory.

Setting --concurrency to a smaller value (like 1) will result in a minimal memory footprint.

go run . --bucket=<BUCKET> --key=<KEY> --concurrency=10

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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