Module: workloads/contended_update

This workload tests the handling of concurrent updates to a single document. See SERVER-17195.

Test

Increment a single numeric field within a single document for 5 minutes. This test is designed to ensure that this work flow does not lock access to the collection.

Results are reported as ops / sec.

Setup

Support standalone, replica Will not run for shard

Notes

Related ticket: SERVER-17195

Owning-team

mongodb/product-query

Source:

Members

(inner) thread_levels

The test thread levels, injected from run_workloads.py, which gets it from test_control.yml config file. It defaults to [32, 64].

The value can be changed as a parameter, see this hello world example.

Source:

(inner) thread_levels

The number of threads to run in parallel. The default is [1, 32, 64 ].

The actual values in use are injected by run_workloads.py, which gets it from config file, see this hello world example.

Source: