go-dbase
BigCache
go-dbase | BigCache | |
---|---|---|
2 | 1 | |
42 | 7,210 | |
- | 0.8% | |
8.5 | 6.2 | |
2 days ago | 11 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
go-dbase
BigCache
-
Recommendation for Key/Value storage
There are also different packages used as a wrapper on top of the Go map based on what your requirements are (storing a lot of data) https://github.com/allegro/bigcache or (need performance) https://github.com/dgraph-io/ristretto. For basic use-cases, the standard Go map should be enough. Just keep in mind whether you need concurrent access to your data structure, in which case you should guard your map with a mutex .
What are some alternatives?
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
go-mysql-elasticsearch - Sync MySQL data into elasticsearch
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
pgweb - Cross-platform client for PostgreSQL databases
ristretto - A high performance memory-bound Go cache
Squirrel - Fluent SQL generation for golang
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
xo - Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
badger - Fast key-value DB in Go.
jaeger - CNCF Jaeger, a Distributed Tracing Platform
fastcache - Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead