GODRIVER-3094Needs Triage

Use atomic.Value instead of sync.RWMutex to provide atomic read/writes to values

h3. *Context* Go's {{atomic.Value}} type can perform a lot better than using a {{sync.RWMutex}} to guard values, especially when the use case is read-heavy and has a lot of concurrent contention. See some benchmarks [here|https://gist.github.com/dim/152e6bf80e1384ea72e17ac717a5000a]. We should use {{atomic.Value}} instead of a {{snc.RWMutex}} in those cases. h3. *Definition of done* * Replace all uses of {{sync.RWMutex}} to guard values that are read frequently and written infrequently with

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.