Push-Based Outbox Pattern with Postgres Logical Replication

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. mssql-changefeed

    The author says the outbox pattern should "always" be used.

    I agree with the goal -- one should definitely never publish an event externally before it is committed to DB! But I think using a "post-commit sequence number" is even more powerful than the outbox pattern.

    Sadly few DBs seems to supoort this well with low latency. CosmosDB has great support for a post commit low latency change feed

    A hack for mssql is here:

    https://github.com/vippsas/mssql-changefeed/blob/main/MOTIVA...

    More about this way of publishing events:

    https://github.com/vippsas/zeroeventhub

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. marmot

    A distributed SQLite replicator built on top of NATS

    Interesting approach, I use a very similar methodology in Marmot (https://github.com/maxpert/marmot) to do CDC for SQLite via triggers, and then these changes are published over NATS, replicated over to other nodes. So row-level replication powered by similar outbox except it uses NATS and JetStreams's quorum property to ensure reliable recovery.

  4. zeroeventhub

    The author says the outbox pattern should "always" be used.

    I agree with the goal -- one should definitely never publish an event externally before it is committed to DB! But I think using a "post-commit sequence number" is even more powerful than the outbox pattern.

    Sadly few DBs seems to supoort this well with low latency. CosmosDB has great support for a post commit low latency change feed

    A hack for mssql is here:

    https://github.com/vippsas/mssql-changefeed/blob/main/MOTIVA...

    More about this way of publishing events:

    https://github.com/vippsas/zeroeventhub

  5. rust-postgres

    Native PostgreSQL driver for the Rust programming language

  6. rust-postgres

    Native PostgreSQL driver for the Rust programming language (by MaterializeInc)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Generate an OpenAPI From Your Database

    4 projects | dev.to | 27 Dec 2024
  • Optimizing a Rust GPU matmul kernel

    2 projects | news.ycombinator.com | 6 Dec 2024
  • Show HN: Outerbase Studio – Open-Source Database GUI

    19 projects | news.ycombinator.com | 4 Dec 2024
  • Show HN: Generate type-safe code for SQL queries in any language

    2 projects | news.ycombinator.com | 27 Nov 2024
  • DbGate: The Smartest SQL+noSQL Database Client

    1 project | news.ycombinator.com | 25 Nov 2024

Did you know that Go is
the 4th most popular programming language
based on number of references?