Database

FerretDB – MongoDB-compatible database proxy

FerretDB is a database proxy that provides a MongoDB-compatible interface for applications using a PostgreSQL-based storage engine. It is designed to offer an alternative to MongoDB Server while preserving compatibility with familiar database drivers and client tools.

FerretDB accepts requests using the MongoDB wire protocol and translates supported operations into queries handled by PostgreSQL with the DocumentDB extension.

This architecture allows applications to continue using MongoDB-style document operations while relying on an alternative database backend. Developers can work with collections and documents without rewriting their applications around PostgreSQL’s conventional relational interfaces.

The project is useful when an application depends on MongoDB drivers or client tooling but the developer wants greater control over the underlying database technology.

FerretDB aims to support common MongoDB operations, although compatibility varies across commands and features. Applications using specialised aggregation operators, administrative commands or other advanced functionality should check the compatibility documentation before migration.

By separating the MongoDB interface from the storage engine, FerretDB provides a different approach to document database compatibility.

This is free and open source software.

Key Features

  • MongoDB-compatible wire protocol interface.
  • PostgreSQL storage through the DocumentDB extension.
  • Support for document creation, retrieval, updating and deletion.
  • Compatibility with supported MongoDB drivers.
  • Document filtering and query operations.
  • Selected MongoDB aggregation capabilities.
  • Database authentication support.
  • Integration with existing MongoDB client applications.
  • Compatibility documentation covering supported commands and differences.
  • Migration guidance for applications using MongoDB interfaces.
  • Embedding interface for integrating the proxy into applications.

Website: github.com/FerretDB/FerretDB
Support:
Developer: FerretDB Inc.
License: Apache License 2.0

FerretDB is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Document-Oriented Databases
SurrealDBScalable, distributed, collaborative, document-graph database
CouchbaseDistributed key-value database management system
CouchDBScalable, fault-tolerant, and schema-free written in Erlang
ArangoDBNative multi-model database
eXist-dbDatabase management system entirely built on XML technology
RethinkDBScalable database built for realtime applications
BaseXXML database engine
OrientDBDocument Database supporting ACID Transactions, SQL and Native Queries
AerospikeKey-Value Store and high performance real-time NoSQL (flex-schema) database
RavenDBFully-transactional NoSQL ACID database
FerretDBDatabase proxy that offers an open-source alternative to MongoDB
DocumentDBMongoDB-compatible document database engine
JackrabbitOpen-source content repository for Java
TerminusDBKnowledge graph and document store
KintoMinimalist JSON storage service
CrateDBDistributed SQL database management

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted