Popularity
4.9
Growing
Activity
0.0
Stable
167
5
20
Programming language: Go
License: MIT License
Tags:
Database
Latest version: v1.0.6
cache alternatives and similar packages
Based on the "Database" category.
Alternatively, view cache alternatives based on common mentions on social networks and blogs.
-
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 -
TinyGo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. -
groupcache
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. -
bytebase
The GitLab/GitHub for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams. -
go-cache
An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications. -
immudb
immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history -
buntdb
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support -
pREST
PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new -
xo
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server -
nutsdb
A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set. -
gocraft/dbr (database records)
Additions to Go's database/sql for super fast performance and convenience. -
lotusdb
Most advanced key-value database written in Go, extremely fast, compatible with LSM tree and B+ tree.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of cache or a related project?
Popular Comparisons
README
cache
Cache arbitrary data with an expiration time.
Features
- 0 dependencies
- About 100 lines of code
- 100% test coverage
Usage
// New cache
c := cache.New(5 * time.Minute)
// Put something into the cache
c.Set("a", "b", 1 * time.Minute)
// Read from the cache
obj, found := c.Get("a")
// Convert the type
fmt.Println(obj.(string))
Benchmarks
BenchmarkGet-12 300000000 3.88 ns/op 0 B/op 0 allocs/op
BenchmarkSet-12 10000000 183 ns/op 48 B/op 2 allocs/op
BenchmarkNew-12 10000000 112 ns/op 352 B/op 5 allocs/op
Style
Please take a look at the style guidelines if you'd like to make a pull request.
Sponsors
Cedric Fung | Scott Rayapoullé | Eduard Urbach |
Want to see your own name here?