Skip to content
CAI
Produce a survey ↗Verify a survey

comtihon/mongodb-erlang

This system is an Erlang-based MongoDB driver that manages database connections, authentication, and data operations. It provides a modernized client API for CRUD operations, transaction management, and topology-aware routing across MongoDB clusters. The driver supports both legacy and modern (OP_MSG) protocols, with automatic detection and SCRAM-SHA-1 authentication, ensuring compatibility with MongoDB 6.0+.

70.7

Strong · 1 August 2026

3.4k

lines of production code

Erlang

primary language

4

bus factor · 56 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2010 · Modernization and build infrastructure

The project modernized its architecture to support MongoDB 6.0+ by refactoring header files and removing legacy driver modules. Simultaneously, the build system was overhauled with Rebar3, introducing automated build, testing, and dependency management.

4 changes

2011–2014 · modernization and protocol support

This period focused on modernizing the Erlang MongoDB driver to support newer MongoDB versions and protocols. Key changes included implementing SCRAM-SHA-1 authentication, supporting the OpMsg protocol, and adding DNS SRV record discovery. The codebase also introduced a new supervision tree for connection management and updated cryptographic APIs for improved security and compatibility.

4 changes

2015–2021 · MongoC Erlang driver development

This period marks the initial release and expansion of the MongoC Erlang driver, introducing core modules for connection management, topology monitoring, and higher-level client APIs. The work also established comprehensive test coverage for authentication, protocol detection, and BSON handling, alongside updated scripts for modern MongoDB and Debian compatibility.

4 changes

CAI lens gauges

Survey your own repository

comtihon/mongodb-erlang was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 1 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9d0d8966bb — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards