redis
gomemcache
Our great sponsors
redis | gomemcache | |
---|---|---|
1 | 4 | |
16,718 | 1,692 | |
- | - | |
9.6 | 5.0 | |
about 1 year ago | 14 days ago | |
Go | Go | |
BSD 2-clause "Simplified" 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.
redis
-
Using Redis Caching and the Redis CLI to Improve API Performance
There are multiple clients available in Go for implementing Redis. However, in this article, we will be using go-redis. Let’s look into how this works with Redis caching.
gomemcache
- Memcached protocol
-
Caching in Golang using Memcached
The library I will be using in this article as a Memcached client is gomemcache as it is quite simple to configure and use.
-
Go Package for better integration tests: github.com/ory/dockertest
In cases where there's no de-facto package used for mocking calls, we could define our own interface type that happens to be defining the concrete calls we use in your code, for example if we are planning to mock memcached calls and github.com/bradfitz/gomemcache it's being used, then something like the following could work:
-
Building Microservices in Go: Caching using memcached
Understanding the nuances behind when and how to use caching is important when building microservices, in this post I will discuss general concepts about caching, some concrete details about memcached and I will cover the de-facto package for using memcached in Go: github.com/bradfitz/gomemcache.
What are some alternatives?
rueidis - A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Redis - Redis Go client
rueidis - A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc. [Moved to: https://github.com/redis/rueidis]
aerospike-client-go - Aerospike Client Go
Hiredis - Minimalistic C client for Redis >= 1.2
Kivik - Common interface to CouchDB or CouchDB-like databases for Go and GopherJS
redigo - Go client for Redis
dynago - A DynamoDB client for Go
badger - Fast key-value DB in Go.
godis - redis client implement by golang, inspired by jedis.
Go-CQRS-Kafka-gRPC-Microservices - Go gRPC Kafka CQRS microservices with tracing
mongo-go-driver - The Official Golang driver for MongoDB