beansdump

command module
v0.0.0-...-3a46d30 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2014 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Beansdump

Build Status

Description: Beansdump is a data collecting tool which reserving jobs from beanstalkd and dumping them into AWS S3 in bulk. Beansdump WILL LOSE DATA (usually dozens of jobs) since it has two levels of memory cache built-in when restart.

It's currently in developing stage, use it at your own risk.

Install and Compile

No addition steps to compile beansdump, all things you need to do are just a go build

  1. git clone https://github.com/fangli/beansdump
  2. go build beansdump.go

Usage

-s="localhost:11300": IP:Port point to beanstalkd server (default to localhost:11300)
-t="default": Message tube for metrics (default to 'default')

-u="": The S3 accesskey, required
-p="": The S3 secret, required
-r="https://mybucket.s3.amazonaws.com/test/": Point to the folder URL of target S3 bucket

-f="/mnt/": The tmp dir to cache the S3 file, default to /mnt/
-i=300: The interval to cache the jobs and send to S3 in bulk, default to 300(s)

Example:

./beansdump -f /tmp/ -i 30 -u "MY_S3_ACCESS_KEY" -p "MY_S3_SECRET" -r "https://mybucket.s3.amazonaws.com/test/"

Contributing changes

  • Initial release

License

See LICENCE.txt

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
⌂ 换网址