NAME

worker - Starts an Argon worker service

VERSION

version 0.18

SYNOPSIS

  worker --mgr some.host.com:4242 --capacity 16

DESCRIPTION

Starts an Argon worker service. The worker will attempt to connect and register with the manager service at the address specified by --mgr. Up to --capacity forked processes will be used to execute tasks assigned by the manager.

OPTIONS

capacity

Specifies the maximum number of concurrent, forked processes to be made available for the execution of tasks assigned by the manager.

mgr

The address of the manager service to which this worker is to be assigned. The address must be specified as hostname:portnumber.

allow-eval

By default, tasks must be specified as a class name and instantiation arguments. If specified, --allow-eval allows code refs to be serialized using Storable and executed in the forked worker process.

This is obviously a security risk and therefore should only be permitted when running in a secure environment.

key

Path to the file containing the encryption key.

verbose

Level of verbosity (1-9; defaults to 5/warn).

AUTHOR

Jeff Ober <sysread@fastmail.fm>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Jeff Ober.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.