skiplistrs
message-db
skiplistrs | message-db | |
---|---|---|
1 | 6 | |
4 | 1,608 | |
- | 0.2% | |
1.8 | 0.0 | |
over 3 years ago | about 1 month ago | |
Rust | Shell | |
- | 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.
skiplistrs
-
Event Sourcing
Sure - here's a simple fuzzer from a rope (fancy string) library I wrote a few years ago back when I was still learning rust. (Don't judge me!):
https://github.com/josephg/skiplistrs/blob/master/tests/test...
In a loop it simply randomly decides whether to insert, delete or replace some text, and after any action checks that the state is valid (In this case via a call to check2()).
You can go way deeper with this sort of thing if you want, with more complex models, random item generation and simplifiers to help pare down problems to simple test cases. And you can have more complex state - for example, where you also track interaction between multiple items. For example, if your state is a few users, and you also track one user paying another user and verify the total balance across all users is unchanged.
But you don't need to go deep for fuzz testing to be worthwhile. Even something as simple as this little loop is a remarkably effective bug finder.
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?
FASTER - Fast persistent recoverable log and key-value store + cache, in C# and C++.
tikv - Distributed transactional key-value database, originally created to complement TiDB
plumber - A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.
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
three-elements - Web Components-powered custom HTML elements for building Three.js-powered games and interactive experiences. 🎉
hn-search - Hacker News Search
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.