Updated Architecture (markdown)

master
Martin Polanka 9 years ago
parent d765dc84a6
commit 66eb7bc3d1

@ -14,26 +14,28 @@
### Default worker configuration ### Default worker configuration
Worker should have some default configuration which is applied to worker itself or may be used in given jobs (implicitly if something is missing, or explicitly with special variables). This configuration should be hardcoded and can be rewritten by explicitly declared configuration file. Format of this configuration is yaml like in the job config. Worker should have some default configuration which is applied to worker itself or may be used in given jobs (implicitly if something is missing, or explicitly with special variables). This configuration should be hardcoded and can be rewritten by explicitly declared configuration file. Format of this configuration is yaml like in the job config.
``` ```
--- # only one document with all configuration needed --- # only one document with all configuration needed
job-collector: job-collector:
hostname: "localhost" hostname: "localhost"
port: 36587 port: 36587
file-manager: file-manager:
file-collector: file-collector:
hostname: "localhost" hostname: "localhost"
port: 80 port: 80 # can be ignored in specific modules
cache: username: "654321" # can be ignored in specific modules
password: "123456" # can be ignored in specific modules
cache: # only in case that there is cache module
cache-dir: "/tmp/cache" cache-dir: "/tmp/cache"
logger: logger:
file: "log.txt" file: "log.txt"
limits: limits:
time: 5 # in secs time: 5 # in secs
wall-time: 6 # seconds wall-time: 6 # seconds
extra-time: 2 # seconds extra-time: 2 # seconds
stack-size: 50000 # KB stack-size: 50000 # KB
memory: 50000 # in KB memory: 50000 # in KB
parallel: false # time and memory limits are merged parallel: false # time and memory limits are merged
disk-usage: 5 # MB disk-usage: 5 # MB
... ...
``` ```

Loading…
Cancel
Save