Skip to content

Queue Server Configuration

Vladislav Alekseev edited this page Jul 6, 2021 · 23 revisions

This configuration is described by QueueServerConfiguration.swift source file. It defines how workers and queue operate.

Keys

globalAnalyticsConfiguration

This is an analytics configuration object

checkAgainTimeInterval

checkAgainTimeInterval defines how often workers poll the queue for buckets to execute. Use a value of 30 seconds.

queueServerDeploymentDestination

Defines where a queue should be looked for, or where it should be started in case if it needs to be started.

{
    "queueServerDeploymentDestination": {
        "host": "example.com",
        "port": 22,
        "username": "ssh login",
        "password": "ssh password",
        "remoteDeploymentPath": "/path/to/working/dir/"
    }
}

workerDeploymentDestinations

This is an array of computers that will be used as Emcee workers. The computer that is running shared queue can also be Emcee worker.

Each element of this array describes how Emcee can reach the computer.

This is an array of Deployment Destination objects.

workerSpecificConfigurations

This is map from worker id to Worker Specific Configuration object.

{
    "workerSpecificConfigurations": {
        "worker1.example.com": {"numberOfSimulators": 3},
        "worker2.example.com": {"numberOfSimulators": 2},
    }
}

queueServerTerminationPolicy

Defines when queue server will automatically terminate itself.

Detailed explanation is given on Queue Termination Policy page.

Clone this wiki locally