FASTER
message-db
Our great sponsors
FASTER | message-db | |
---|---|---|
8 | 6 | |
6,199 | 1,607 | |
3.7% | 0.2% | |
7.2 | 0.0 | |
13 days ago | 18 days ago | |
C# | Shell | |
MIT License | MIT License |
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.
FASTER
-
A MySQL compatible database engine written in pure Go
You would be surprised by performance of modern .NET :)
Writing no-alloc is oftentimes done by reducing complexity and not doing "stupid" tricks that actually work against JIT and CoreLib features.
For databases specifically, .NET is actually positioned very well with its low-level features (intrisics incl. SIMD, FFI, struct generics though not entirely low-level) and high-throughput GC.
Interesting example of this applied in practice is Garnet[0]/FASTER[1]. Keep in mind that its codebase still consist of un-idiomatic C# and you can do way better by further simplification, but it already does the job well enough.
[0] https://github.com/microsoft/garnet
[1] https://github.com/microsoft/FASTER
- FLaNK Stack 26 February 2024
- Fast persistent recoverable log and key-value store
- GitHub - microsoft/FASTER: Fast persistent recoverable log and key-value store + cache, in C# and C++.
-
FoundationDB: A Distributed Unbundled Transactional Key Value Store
A vaguely similar project that might be of interest is: https://github.com/microsoft/FASTER
It's also an "unbundled" low-level component that one could use as the foundation for a database engine or whatever. According to Microsoft, FASTER is not just "fast", but significantly faster than even some basic in-memory data structures that ship in the .NET standard library!
The downside is that it doesn't (yet) support some more advanced features like multi-server distributed mode.
However, that relative simplicity may be preferred in some scenarios...
-
Event Sourcing
Last time i looked into it there weren't that many i could find. There is https://github.com/tikv/tikv which uses rocksdb with raft. and there is faster https://github.com/microsoft/FASTER/ .
-
Experiences with Concurrent Hash Map Libraries
you could use fasterkv https://github.com/microsoft/FASTER
-
Faster A fast concurrent persistent key-value store and log, in C# and C++
FTA, https://github.com/Microsoft/FASTER/wiki/Performance-of-FAST...
message-db
-
Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
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
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
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!
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
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
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?
libcuckoo - A high-performance, concurrent hash table
tikv - Distributed transactional key-value database, originally created to complement TiDB
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
plumber - A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.
foundationdb - FoundationDB - the open source, distributed, transactional key-value store
three-elements - Web Components-powered custom HTML elements for building Three.js-powered games and interactive experiences. 🎉
jsynchronous - Jsynchronous.js - Data synchronization for games and real-time web apps.
Workflow - re-startable monad that recover the execution state from a log, and workflow patterns
Folly - An open-source C++ library developed and used at Facebook.
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.