Configurable workers/collectors number, using processes instead of threads for api