JasperFx/marten
Marten is a .NET document database and event store built on PostgreSQL, providing a rich API for document storage, LINQ-based querying, and event sourcing. The system supports advanced features such as async daemons for live and asynchronous projections, multi-tenancy, and integration with ASP.NET Core for HTTP streaming. It also offers specialized capabilities for vector search, spatial queries, and AOT compatibility, all backed by a comprehensive test suite ensuring reliability and performance.
51.5
Adequate · 3 August 2026
95k
lines of production code
C#
primary language
2
bus factor · 306 authors in all
2
measurements over time
How it got here
2015–2020 · LINQ overhaul and architectural refactoring
This period was defined by a comprehensive overhaul of the LINQ query execution pipeline, introducing a new internal architecture for query parsing, SQL generation, and result handling. The codebase was simultaneously refactored to support multi-tenancy, AOT-compatible source generation, and database-agnostic storage abstractions, while expanding feature coverage with TimescaleDB, NodaTime, and binary event serialization.
57 changes
2021–2022 · Event sourcing and daemon refactoring
This period focused on refactoring the async daemon architecture and introducing advanced event sourcing features, including flat table projections, event upcasting, and dynamic consistency boundaries. The team also modernized the test infrastructure by migrating to xUnit v3 and System.Text.Json, while adding comprehensive test coverage for document storage, multi-tenancy, and streaming APIs.
62 changes
2023–2025 · LINQ and daemon subsystem overhaul
This period focused on a comprehensive refactoring of the LINQ query provider, introducing support for complex collection queries, full-text search, and string operations. Concurrently, the event sourcing and daemon subsystems were enhanced with container-scoped projections, improved async rebuilds, and robust health monitoring.
57 changes
2026 · Storage and query modernization
This period focused on modernizing the internal storage and query execution paths, introducing closed-shape storage implementations and a Roslyn-based source generator for compiled queries. The team also expanded support for PostgreSQL extensions like PgVector and PostGIS, while significantly broadening test coverage for daemon behavior, concurrency fixes, and AOT compatibility.
33 changes
Survey your own repository
JasperFx/marten 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.
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 3 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 dcdf4f9f45 — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.