AC::MrGamoo - Map/Reduce Framework
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;
various parameters need to be specified in a config file. if you modify the file, it will be reloaded automagically.
specify the TCP port to use
port 3504
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
specify networks allowed to connect.
allow 127.0.0.1 allow 192.168.10.0/24
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
specify a secret key used to encrypt data transfered between systems in different datacenters.
secret squeamish-ossifrage
specify a syslog facility for log messages.
syslog local5
local directory to store files
basedir /home/data
enable debugging for a particular section
debug job
Too many to list here.
AC::MrGamoo::Client
Jeff Weisberg - http://www.solvemedia.com/
To install AC::MrGamoo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AC::MrGamoo
CPAN shell
perl -MCPAN -e shell install AC::MrGamoo
For more information on module installation, please visit the detailed CPAN module installation guide.