growt
FASTER
growt | FASTER | |
---|---|---|
2 | 8 | |
98 | 6,205 | |
- | 1.5% | |
2.7 | 6.9 | |
about 1 year ago | 16 days ago | |
C++ | C# | |
GNU General Public License v3.0 or later | 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.
growt
- Advancing the state of the art for std:unordered_map implementations
-
Experiences with Concurrent Hash Map Libraries
growt shows impressive benchmark results in this paper compared to folly, TBB, junction, and libcuckoo. However, it was not in good shape to be used as a production dependency. I had several issues and compilation errors here, here, and here.
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...
What are some alternatives?
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
libcuckoo - A high-performance, concurrent hash table
Folly - An open-source C++ library developed and used at Facebook.
junction - Concurrent data structures in C++
foundationdb - FoundationDB - the open source, distributed, transactional key-value store
plumber - A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.
tikv - Distributed transactional key-value database, originally created to complement TiDB
message-db - Microservice native message and event store for Postgres
key-value-store - Basic Key-Value Store built on top of YugabyteDB, .Net 7.0, and Entity Framework Core 7.0.
jsynchronous - Jsynchronous.js - Data synchronization for games and real-time web apps.