Updated Architecture (markdown)

master
Martin Polanka 9 years ago
parent d765dc84a6
commit 66eb7bc3d1

@ -14,26 +14,28 @@
### 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.
```
--- # only one document with all configuration needed
--- # only one document with all configuration needed
job-collector:
hostname: "localhost"
port: 36587
file-manager:
file-collector:
hostname: "localhost"
port: 80
cache:
port: 80 # can be ignored in specific modules
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"
logger:
file: "log.txt"
limits:
time: 5 # in secs
wall-time: 6 # seconds
extra-time: 2 # seconds
stack-size: 50000 # KB
memory: 50000 # in KB
parallel: false # time and memory limits are merged
disk-usage: 5 # MB
time: 5 # in secs
wall-time: 6 # seconds
extra-time: 2 # seconds
stack-size: 50000 # KB
memory: 50000 # in KB
parallel: false # time and memory limits are merged
disk-usage: 5 # MB
...
```

Loading…
Cancel
Save