fastcache
Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead (by VictoriaMetrics)
buntdb
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support (by tidwall)
fastcache | buntdb | |
---|---|---|
3 | 7 | |
2,188 | 4,659 | |
0.8% | 0.6% | |
2.3 | 3.9 | |
9 months ago | 6 months ago | |
Go | Go | |
MIT License | 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.
fastcache
Posts with mentions or reviews of fastcache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-01.
-
Ask HN: Who wants to be hired? (June 2023)
https://github.com/fmstephe/P2P-Distributed-Sat-Solver
Here is an example of a bug-fix I made to an existing open source project https://github.com/VictoriaMetrics/fastcache/pull/17
-
fastcache VS directcache - a user suggested alternative
2 projects | 16 Jun 2022
-
Implementing robust in-memory cache with Go
If serialization is not a problem fastcache is the best for its outstanding memory usage.
buntdb
Posts with mentions or reviews of buntdb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-15.
- PostgreSQL: No More Vacuum, No More Bloat
-
Is there a nice embedded json db, like PoloDB (Rust) for Golang
https://github.com/tidwall/buntdb -> i think this one you might want
-
Open Source Databases in Go
buntdb - Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
-
Alternative to MongoDB?
BuntDB for NoSQL
-
Path hints for B-trees can bring a performance increase of 150% – 300%
BuntDB [0] from @tidwall uses this package as a backing data structure. And BuntDB is in turn used by Tile38 [1]
[0] https://github.com/tidwall/buntdb
- The start of my journey learning Go. Any tips/suggestions would greatly appreciated!
-
In-memory caching solutions
I've used BuntDB and had a great experience with it. It's basically just a JSON-based key-value store. I'm a huge fan of the developers other work (sjson, gjson, jj, etc) and stumbled on it while looking for a simple, embedded DB solution. It's not specifically a cache, though--just a simple DB, so you'd have to write the caching logic yourself.
What are some alternatives?
When comparing fastcache and buntdb you can also consider the following projects:
BigCache - Efficient cache for gigabytes of data written in Go.
go-memdb - Golang in-memory database built on immutable radix trees
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
badger - Fast key-value DB in Go.
nscache - A Go caching framework that supports multiple data source drivers
bolt