Workflow VS message-db

Compare Workflow vs message-db and see what are their differences.

Workflow

re-startable monad that recover the execution state from a log, and workflow patterns (by agocorona)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Workflow message-db
1 6
42 1,607
- 0.2%
0.0 0.0
almost 8 years ago 16 days ago
Haskell Shell
BSD 3-clause "New" or "Revised" 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.

Workflow

Posts with mentions or reviews of Workflow. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-11.
  • Event Sourcing
    8 projects | news.ycombinator.com | 11 Aug 2021
    I was part of that debate, I remember a rather interesting point of discussion: Is the main operation "apply" or "dedup"

    Apply seems to be the common notion of event sourcing: There is a function apply that takes a state an event and yields a new state. Then, starting in an init state and iteratively applying the entire event history, boom, latest state restored.

    Dedup has a lot of charm though: Run and rerun your code, if that step of your code is executed for the first time (no corresponding event in the event history) execute the step and store its result as an event in the history, however, if that step of your code is executed for the second, third time (there is a corresponding event in the event history) do not execute the step and return its result from the event in the history. The Haskell Workflow Package (https://hackage.haskell.org/package/Workflow) is a good example

    Temporal follows the second approach, so "proper" Event Sourcing? You be the judge :)

message-db

Posts with mentions or reviews of message-db. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.
  • Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
    9 projects | news.ycombinator.com | 31 Oct 2023
    I’m addition to the alternatives mentioned, here’s another Postgres-only ES implementation: https://github.com/message-db/message-db
  • Thalo - Event Sourcing runtime for WASM
    5 projects | /r/rust | 12 Dec 2022
    Thalo is a new Rust library that provides a runtime for WASM-based event sourcing. With Thalo, developers can compile their aggregates and components into WASM modules and use them in the runtime to handle commands and persist events to an event store. The library is built on top of Wasmtime and Message DB, and uses the ESDL schema language to define aggregates. While Thalo is not yet ready for real-world use, it has the potential to make event sourcing more accessible to a wider range of languages that compile to WASM, allowing for a language-agnostic runtime. Give it a try and let us know what you think! https://github.com/thalo-rs/thalo
    4 projects | /r/rust | 9 Dec 2022
    Its built on top of Wasmtime for wasm execution, and MessageDb which is a message store for Postgres.
  • Announcing our Elm/Haskell app in production!
    2 projects | /r/haskell | 24 Jun 2022
    We are using message db which is uses postgres under the hood, and provides a few useful postgres functions. We use it with `postgres-simple` and have a small internal library. However my colleague is working on abstracting our logic and open sourcing into a library here: https://github.com/Disco-Dave/message-db
  • Event Sourcing
    8 projects | news.ycombinator.com | 11 Aug 2021
    Check out MessageDB https://github.com/message-db/message-db. It's basically Postgres and can be installed into any Postgres DB.
  • Building a Distributed Turn-Based Game System in Elixir
    4 projects | news.ycombinator.com | 29 Apr 2021
    Trying a new language or framework is fun experiments that you spend a few hours on. I have been enjoying implementing Message DB[0] in a hobby project. My current job is not in programming, and not looking for one.

    [0]https://github.com/message-db/message-db

What are some alternatives?

When comparing Workflow and message-db you can also consider the following projects:

cloud-haskell - This is an umbrella development repository for Cloud Haskell

tikv - Distributed transactional key-value database, originally created to complement TiDB

unliftio - The MonadUnliftIO typeclass for unlifting monads to IO

plumber - A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.

effect-monad - Provides 'graded monads' and 'parameterised monads' to Haskell, enabling fine-grained reasoning about effects.

FASTER - Fast persistent recoverable log and key-value store + cache, in C# and C++.

record - Anonymous records

three-elements - Web Components-powered custom HTML elements for building Three.js-powered games and interactive experiences. 🎉

lens-tutorial - The missing tutorial module for the lens library

jsynchronous - Jsynchronous.js - Data synchronization for games and real-time web apps.

rio-orphans - A standard library for Haskell

eventstoredb-event-sourcing - EventStoreDB is the database for Event Sourcing. This repository provides a sample of event sourced system that uses EventStoreDB as event store.