Skip to content

cmd: use a sync.Map to store control planes

Vgutierrez requested to merge sync-cp-realservers into main

We use a sync.Map here rather than a RWMutex given that a sync.Map is optimized for frequent reads and infrequent writes

This is the last step required to introduce a gRPC server that allows performing read-only operations on the control planes

Merge request reports