uploadthis

package module
v0.0.0-...-c8f6fff Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

README

Build Status

uploadthis

A flexible, performant command line S3 uploader by your friends at ShareThis

Dev Quick Start

To get started quickly:

curl -fsSL https://raw.github.com/imosquera/uploadthis/master/run.sh -o /tmp/build.source && source /tmp/build.source

For new boxes additionally install repository before setting up the project:

sudo apt-get install golang-go git-core mercurial meld bzr

Goal

To provide a process that can upload log data to s3 that is easily configurable through a YAML file. The process should be flexible enough to handle many different use-cases such as time-based or size-based uploads while still being performant.

Problem Description

Log analysis is one of the most effective way to do analysis at a large scale. As a first step in most analytic pipelines it is required to store and backup files in the cloud. This however brings many complexities like time-based or size-based rollovers, bandwidth constraints, file-sizes, atomic operations and most importantly performance. The burden is placed on the developer to handle all these operational complexities. There should be a better way.

Example Usage

uploadthis -c /etc/uploadconf.yaml

Building

How to build the code:

go get github.com/imosquera/uploadthis
cd $GOPATH/src/github.com/imosquera/uploadthis
go build ./...
go install ./...

Integration test

How to run integration test:

sh $GOPATH/src/github.com/imosquera/uploadthis/test/test.sh $GOPATH/src/github.com/imosquera/uploadthis/test/s3utils.py <AWS_KEY> <AWS_SECRET>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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