MCPcopy Create free account
hub / github.com/FDA/openfda / ShardedDB

Class ShardedDB

openfda/parallel/sharded_db.py:9–61  ·  view source on GitHub ↗

Manages a number of leveldb "shards" (partitions). LevelDB does not support concurrent writers, so we create a separate output shard for each reducer. `ShardedDB` provides a unified interface to multiple shards.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

createMethod · 0.85
openMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected