attr_json VS Marten

Compare attr_json vs Marten and see what are their differences.

attr_json

Serialized json-hash-backed ActiveRecord attributes, super smooth (by jrochkind)

Marten

.NET Transactional Document DB and Event Store on PostgreSQL (by JasperFx)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
attr_json Marten
4 11
373 1,856
- 3.1%
5.5 9.7
2 months ago 3 days ago
Ruby 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.

attr_json

Posts with mentions or reviews of attr_json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-05.

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 2022-08-03.
  • Straightforward Event Sourcing with TypeScript and NodeJS
    7 projects | reddit.com/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?
  • EventSourcing with C#
    1 project | reddit.com/r/csharp | 20 Jun 2022
    Check out Marten as another possibility, it has most of what you need to get running out of the box.
  • .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).
  • Considering MongoDB for a Production ERP System with Net 6
    1 project | reddit.com/r/csharp | 23 Jan 2022
    You can use Marten for this with Postgres. https://martendb.io/
  • Ask HN: Show your failed projects and share a lesson you learned
    7 projects | news.ycombinator.com | 24 Dec 2021
  • Event Streaming is not Event Sourcing!
    1 project | reddit.com/r/programming | 1 Dec 2021
    Nevertheless, you can use a relational database as the backing storage and have the same guarantees if you want to. There are mature tools for that (e.g. https://martendb.io/ that I'm co-maintainer).
  • The Nosql Store That Everyone Ignored
    4 projects | news.ycombinator.com | 5 Sep 2021
    There is a .NET project that uses this feature to create a NoSQL db experience. I've been using it for a few years and it's been great.

    https://martendb.io/

  • EF vs Dapper - a false dilemma
    3 projects | reddit.com/r/dotnet | 27 Aug 2021
    Regarding the impedance mismatch, maybe take a look at Marten. It currently only supports PostgreSQL but it does open up the doors to using document and relational stores within the same database, should you have the need.
  • Devs who use EF instead of Dapper: Why?
    4 projects | reddit.com/r/dotnet | 27 Aug 2021
    If you haven't yet - take a look at martendb - document db with opt-in event sourcing all built on the power and reputation of Postgres!

What are some alternatives?

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

Event Store - The stream database optimised for event sourcing

MongoDB - The MongoDB Database

RavenDB - ACID Document Database

Yessql - A .NET document database working on any RDBMS

efcore.pg - Entity Framework Core provider for PostgreSQL

LiteDB - LiteDB - A .NET NoSQL Document Store in a single data file - https://www.litedb.org

FluentMigrator - Fluent migrations framework for .NET

jsonb_accessor - Adds typed jsonb backed fields to your ActiveRecord models.

Streamstone - Event store for Azure Table Storage

Apache Ignite - Apache Ignite

plv8 - V8 Engine Javascript Procedural Language add-on for PostgreSQL

LINQ to DB - Linq to database provider.