Skip to content

Enhancement: more performant MemoryStore #830

@rkingsbury

Description

@rkingsbury

The performance of MemoryStore, which is currently powered by mongomock, is relatively slow. This can particularly cause noticeable delays when connecting to a FileStore, which uses MemoryStore internally. It would be great to find an alternative to mongomock that is more performant.

I have begun working on this and will keep this issue updated with my findings.

Possible Alternatives

Notes so far

montydb

See davidlatwe/montydb#14

mongita

mongita does not support many query operations including $regex or $exists. It also doesn't support bulk_write or estimated_document_count although those can be worked around.

pymongo-inmemory

Not tested yet, but looks quite promising because it actually uses mongo (as opposed to mocking it)
See #846

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions