Server with configurable number of workers