-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: auth, libmongoc, Performance
-
None
The cache for SCRAM credentials is attached to the mongoc_cluster_t object, which manages the connections for a single mongoc_client_t.
However, this means that two mongoc_client_t's popped from a mongoc_pool_t have different SCRAM caches. I believe it should instead be moved to the mongoc_topology_t, so client pools can better utilize the cache.