squirrel
Go sqlite3 cache (by anacrolix)
missinggo
Stuff that's missing in Go stdlib, or hasn't made it into its own repo. (by anacrolix)
Our great sponsors
squirrel | missinggo | |
---|---|---|
2 | 1 | |
18 | 83 | |
- | - | |
8.1 | 3.2 | |
about 2 months ago | about 1 month ago | |
Go | Go | |
Mozilla Public License 2.0 | 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.
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
Posts with mentions or reviews of squirrel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-08.
-
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.
missinggo
Posts with mentions or reviews of missinggo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-06.
-
Embedded write-heavy on-disk cache, write-amplification
I wrote something similar to diskv with caching. I stopped using it due to OS file overhead: https://github.com/anacrolix/missinggo/tree/master/filecache
What are some alternatives?
When comparing squirrel and missinggo you can also consider the following projects:
badger - Fast key-value DB in Go.
diskv - A disk-backed key-value store.
goleveldb - LevelDB key/value database in Go.