Cake VS Marten

Compare Cake vs Marten and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Cake Marten
13 23
3,800 2,643
0.9% 3.0%
8.2 9.8
1 day ago 3 days ago
C# C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Cake

Posts with mentions or reviews of Cake. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-04.

Marten

Posts with mentions or reviews of Marten. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • Dapper vs. Entity Framework With Postgres
    3 projects | /r/dotnet | 6 Dec 2023
    Id recommend trying out MartenDb. It's not really a PostgreSQL ORM, it actually uses Postgres more as a document database via jsonb. But it's excruciatingly easy to use and schema updates are a breeze (and largely automatic)
  • Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
    9 projects | news.ycombinator.com | 31 Oct 2023
    Check out Marten for a fully fleshed out implementation https://github.com/JasperFx/marten
  • Yet another embedded DB (kind of)
    4 projects | /r/csharp | 10 May 2023
    I always loved Marten, it is so simple to use and yet powerful. If you are unfamiliar with it, it is a data access library (like an ORM) that is using JSON serialization and LINQ to store and query data from/to Postgres. It basically turns Postgres into document DB. Comparing it to EF, Marten doesn't require migrations since it stores documents.
  • Self-Paced Kit: Introduction to Event Sourcing with Node.js and TypeScript
    2 projects | /r/node | 26 Feb 2023
    For that part, the samples use EventStoreDB (https://www.eventstore.com/), which is the only mature event store I know in Node.js land. Event Sourcing allows using any database as backing storage. I'm co-maintainer of the Marten (https://martendb.io/), which is a .NET library that allows using Postgres as event store and document db.
  • CQRS is simpler than you think with C#11 and .NET 7!
    2 projects | /r/dotnet | 17 Feb 2023
    Then you should check out Marten (https://martendb.io/). Our intention is to remove the boilerplate, we're using Postgres e having the built-in projections.
  • Marten, a Crystal web framework that makes building web apps productive and fun
    9 projects | news.ycombinator.com | 30 Oct 2022
    Not to be confused with the C# document database built on Postgres.

    https://martendb.io/

  • Which libraries/frameworks are you using for Event Sourcing?
    6 projects | /r/csharp | 5 Oct 2022
    Haven't tried it myself yet, but they were in .NET foundation, them left after some drama: https://martendb.io/
  • Straightforward Event Sourcing with TypeScript and NodeJS
    7 projects | /r/node | 3 Aug 2022
    Thanks for the feedback and the link! Indeed that looks similar. I think that too many NodeJS tooling is made by C# or Java devs bringing their OOP habits. In my opinion, TypeScript and NodeJS development shines the most when you're cutting all the boilerplate and keeping things simple. Functional composition helps in that. I'm also coming from the .NET world and am co-maintainer of the Postgres-based library: https://martendb.io/, but I try to keep my OOP habits on a leash ;) Out of curiosity, how are you dealing with the eventual consistency and the read-your-own-writes guarantee on MongoDB in your library?
  • .NET build tool using Bullseye and SimpleExec
    6 projects | dev.to | 22 Feb 2022
    I personally advocate Bullseye in combination with SimpleExec as a build tool for .NET projects due to its sheer simplicity by providing a bare bones API to define the tasks and their dependent tasks in plain C# code. Both these libraries are build by Adam Ralph. It does not enforce any specific model or structure to write your build tasks. When someone runs through the build script, it is fairly straight forward to understand whats going on. We use this build tool setup for Marten for both local dev and CI build tasks and has worked well so far. Also many OSS projects have adopted it.
  • GitHub action to publish .NET packages to NuGet
    3 projects | dev.to | 22 Feb 2022
    I have been a co-maintainer of .NET OSS library Marten and largely involved in taking care of the DevOps stuff pertaining to CI pipeline, build and docs system. In the early days, the build was driven using a RAKE build script written by Jeremy Miller, our lead dev and creator of Marten. NuGet packages were published from the local dev machine after confirming that we had bumped up the versions of the packages in preparation for the release. Apparently, this being a manual step, we publish the NuGet packages but sometimes tend to forget tagging and creation of release in GitHub (you know how an OSS author life is around managing day job and doing open source work).

What are some alternatives?

When comparing Cake and Marten you can also consider the following projects:

NUKE - 🏗 The AKEless Build System for C#/.NET

Event Store - EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures

MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.

MongoDB - The MongoDB Database

FAKE - FAKE - F# Make

Psake - A build automation tool written in PowerShell

RavenDB - ACID Document Database

Invoke-Build - Build Automation in PowerShell

Yessql - A .NET document database working on any RDBMS

Nake - Magic script-based C# task runner for .NET Core

efcore.pg - Entity Framework Core provider for PostgreSQL

LiteDB - LiteDB - A .NET NoSQL Document Store in a single data file