issues
search
mongodb
/
stitch-ios-sdk
Apache License 2.0
42
stars
25
forks
source link
STITCH-2311/STITCH-2313 Swift SDK: Thread-safe local MongoClients/Swift SDK: Use AtomicKit RWLock
#120
Closed
jsflax
closed
5 years ago
jsflax
commented
5 years ago
Add LRUCache
Store
MongoClient
s in LRUCache based on
Thread
hash in CoreLocalMongoDBService singleton
Use new
SyncMongoClient
class to proxy calls to pooled clients throughout the
sync
module
Use RWLock from AtomicKit
Test
jsflax
commented
5 years ago
@adamchel @dkaminsky PTAL
MongoClient
s in LRUCache based onThread
hash in CoreLocalMongoDBService singletonSyncMongoClient
class to proxy calls to pooled clients throughout thesync
module