Updated Architecture (markdown)

master
Martin Polanka 9 years ago
parent 0cb31b6b05
commit b24048a1e8

@ -17,10 +17,14 @@
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: worker-id: 1
hostname: "localhost" broker-uri: tcp://localhost:9657
port: 36587 headers:
headers: exact_time&&all env:
- c
- python
threads: 2
hwgroup: "group1"
file-manager: file-manager:
file-collector: file-collector:
hostname: "localhost" hostname: "localhost"
@ -34,7 +38,6 @@ logger:
level: "debug" # level of logging - one of "debug", "warn", "emerg" level: "debug" # level of logging - one of "debug", "warn", "emerg"
max-size: 1048576 # 1 MB; max size of file before log rotation max-size: 1048576 # 1 MB; max size of file before log rotation
rotations: 3 # number of rotations kept rotations: 3 # number of rotations kept
hwgroup: "group1"
limits: limits:
time: 5 # in secs time: 5 # in secs
wall-time: 6 # seconds wall-time: 6 # seconds

Loading…
Cancel
Save