Masdriv is a campaign-sending app (FastAPI + Motor/PyMongo + Celery + Redis) that kept everything in MongoDB. One day we decided to find out whether we could swap the database for NonoDB β and it turned out that after a handful of code changes the whole migration went smoothly: the application code stayed almost untouched, the data moved in minutes, and the stack now runs on NonoDB in production.
This article covers why we did it, how to do it step by step, and what we got β with concrete numbers.
Why change the database at all?
MongoDB is great, but for an app of our size (a few thousand documents, one server, no sharding) we were paying for complexity we never used:
a replica set or standalone plus all the operational tooling ( mongosh , dumps, background index builds),
mongodump backups β 510 MB on disk,
a WiredTiger cache that by default reserves a large slice of the host's RAM,
backups that need writes paused, or fiddling with --oplog .
NonoDB promises something different: one process, oneβ¦