NAME
AC::MrGamoo - Map/Reduce Framework
SYNOPSIS
use AC::MrGamoo::D;
use strict;
my $m = AC::MrGamoo::D->new( );
$m->daemon( $configfile, {
argv => \@ARGV,
foreground => $OPT{f},
debugall => $OPT{d},
port => $OPT{p},
} );
exit;
CONFIG FILE
various parameters need to be specified in a config file. if you modify the file, it will be reloaded automagically.
- port
-
specify the TCP port to use
port 3504
- environment
-
specify the environment or realm to run in, so you can run multiple independent map/reduce networks, such as production, staging, and dev.
environment prod
- allow
-
specify networks allowed to connect.
allow 127.0.0.1 allow 192.168.10.0/24
- seedpeer
-
specify initial peers to contact when starting. the author generally specifies 2 on the east coast, and 2 on the west coast.
seedpeer 192.168.10.11:3503 seedpeer 192.168.10.12:3503
- secret
-
specify a secret key used to encrypt data transfered between systems in different datacenters.
secret squeamish-ossifrage
- syslog
-
specify a syslog facility for log messages.
syslog local5
- basedir
-
local directory to store files
basedir /home/data
- debug
-
enable debugging for a particular section
debug job
BUGS
Too many to list here.
SEE ALSO
AC::MrGamoo::Client
AUTHOR
Jeff Weisberg - http://www.solvemedia.com/