squirrel | diskv | |
---|---|---|
2 | 3 | |
18 | 1,353 | |
- | - | |
8.1 | 0.0 | |
2 months ago | over 2 years ago | |
Go | Go | |
Mozilla Public License 2.0 | 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.
squirrel
-
Billion File Filesystem
I built https://github.com/anacrolix/squirrel for just this purpose. However you might find that batch inserting empty files might only be 10x faster or so than creating empty files directly on the filesystem if we are to believe the 10k/s the OP achieved.
-
Embedded write-heavy on-disk cache, write-amplification
I'm looking for an embedded database/KV-store that supports a write-heavy workload of large blocks of bytes and some kind of eviction policy. I'm currently using sqlite3 with a bunch of triggers and the blob API, but it's not really suitable for write-heavy workloads. I've currently exposed the interface somewhat in https://github.com/anacrolix/squirrel, the primary use case is from https://github.com/anacrolix/torrent. My recent research suggests an LSM-based KV-store like rocksdb or leveldb, but those don't have great interfaces in Go, and don't seem to support an eviction policy as far as I can tell (which is surprising given they would be very well suited to it). There are some alternatives like buntdb, but those all look designed for smaller/string values.
diskv
-
Looking for fast, space-efficient key-lookup
https://github.com/peterbourgon/diskv might be a solution
-
Open Source Databases in Go
diskv - Home-grown disk-backed key-value store.
- Embedded write-heavy on-disk cache, write-amplification
What are some alternatives?
badger - Fast key-value DB in Go.
goqu - SQL builder and query library for golang
goleveldb - LevelDB key/value database in Go.
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
missinggo - Stuff that's missing in Go stdlib, or hasn't made it into its own repo.
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
pREST - PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
kingshard - A high-performance MySQL proxy
dgraph - The high-performance database for modern applications
cockroach - CockroachDB - the open source, cloud-native distributed SQL database.
prometheus - The Prometheus monitoring system and time series database.