# MongoDB vs Valkey — Fit & Features

Canonical: https://trutool.co/compare/mongodb-vs-valkey
Author: Snehil (https://trutool.co/authors/snehil)

Compare MongoDB and Valkey by use case, features, limitations, and evaluation questions.

## Compare fit, features, and limitations

### MongoDB
Document databases and data services.
Best fit: Developers and data teams considering MongoDB for this job: Document databases and data services.
- Document databases and data services
Before you choose: Test query performance on your workload, backups, access control, portability, and storage costs in the exact plan you intend to use.
Pricing: https://www.mongodb.com
- [Read MongoDB profile](https://trutool.co/tools/mongodb): Read MongoDB profile

### Valkey
Run an open-source in-memory datastore for caching and data workloads.
Best fit: Developers choosing storage and backend services for applications.
- In-memory storage
- Caching
- Data structures
Before you choose: Benchmark queries and verify backup, recovery, access control, compatibility, and hosting costs.
Pricing: https://valkey.io
- [Read Valkey profile](https://trutool.co/tools/valkey): Read Valkey profile
