Skip to content

benchmark-bbs job from diego/2.9.0

Github source: caa72e1 or master branch

Properties

benchmark-bbs

active_key_label

the active key for encryption

aws_access_key_id

the AWS access key for uploading metrics to s3

Default
""

aws_bucket_name

the S3 bucket to upload metrics to

Default
""

aws_region

the aws region where the S3 bucket lives

Default
""

aws_secret_access_key

the AWS secret key for uploading metrics to s3

Default
""

bbs

api_location

the address of the BBS

Default
bbs.service.cf.internal:8889
ca_cert

REQUIRED: PEM-encoded CA certificate

client_cert

REQUIRED: PEM-encoded client certificate

client_key

REQUIRED: PEM-encoded client key

client_timeout

the http timeout for bbs client requests in seconds (golang duration formatted string)

datadog_api_key

the API key for emmitting datadog metrics

Default
""

datadog_app_key

the application key for datadog metrics

Default
""

datadog_metric_prefix

the datadog metric prefix

Default
""

desired_lrps

the number of single instance desired lrps to generate and fetch

encryption_keys

the key(s) to use for encryption at rest

Default
[]

local_route_emitters

whether or not to enable local route emitters

Default
false

locket

api_location

the address of the locket

Default
locket.service.cf.internal:8891

log_file

file name for benchmark log output in the BOSH log dir

log_level

log level: debug, info, error or fatal

num_populate_workers

the number of workers generating desired LRPs during setup

num_reps

the number of rep processes to simulate in test

num_trials

the number of trials of each benchmark to average across

percent_writes

percentage of actual LRPs to write on each rep bulk loop

Default
5

reseed_database

boolean flag to turn on database reseeding

Default
true

sql

db_driver

driver to use, e.g. postgres or mysql

db_host

Host for SQL backend

Default
""
db_password

Password to use for connecting to SQL backend

Default
""
db_port

Port for SQL backend

Default
""
db_schema

Database name to use for connecting to SQL backend

Default
""
db_username

Username to use for connecting to SQL backend

Default
""

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/benchmark-bbs/ directory (learn more).

  • bin/run (from run.erb)
  • config/benchmark.json (from benchmark.json.erb)
  • config/certs/bbs/ca.crt (from bbs_ca.crt.erb)
  • config/certs/bbs/client.crt (from bbs_client.crt.erb)
  • config/certs/bbs/client.key (from bbs_client.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.