videos
Slides and examples used for my training videos (by MarioCarrion)
gomemcache
Go Memcached client library #golang (by bradfitz)
Our great sponsors
videos | gomemcache | |
---|---|---|
10 | 4 | |
93 | 1,692 | |
- | - | |
5.6 | 5.0 | |
about 2 months ago | 17 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
videos
Posts with mentions or reviews of videos.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-28.
- NvimTree vs NeoTree
-
Discussion: about "go install" versus brew when available
You can also do something similar with direnv for example (see 1 and 2); and even better if you use the tools.go paradigm then you can have different versions of your binaries relative to your project as well.
-
How to generate translations for multiple packages inside same module
Example for reference.
-
Go Package for testing HTTP interactions: github.com/dnaeon/go-vcr
Please refer to the full example code for more details.
-
Go Package for Mocking HTTP Traffic: github.com/h2non/gock
There's a simple CLI tool I built for requesting OpenWeather information using their API, please refer to the final repository for actually running the full examples.
-
Set struct in Redis
You don't mention what package you're using, but if you're using github.com/go-redis/redis/ you can marshal your struct using encoding/go and then use the SET and SET commands because for Redis everything is bytes, see https://github.com/MarioCarrion/videos/blob/main/2021/03/11-golang-microservices-caching-redis/redis.go I have video covering that exactly: https://youtu.be/wj6-w0DLKRw
-
Building Microservices in Go: Accessing PostgreSQL Databases - Part 1
The full code example mentioned in this post is available on Github, please make sure to read the README for specifics.
-
Building Microservices in Go: Caching using memcached
The code of the examples below are available on Github.
-
Go Package for Equality: github.com/google/go-cmp
Below there are some code snippets, please refer to the final repository for actually running the complete code examples.
-
Go Tools: For database schema migrations
Repository including the code example.
gomemcache
Posts with mentions or reviews of gomemcache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-27.
- 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?
When comparing videos and gomemcache you can also consider the following projects:
Memcached - memcached development tree
Redis - Redis Go client
tern - The SQL Fan's Migrator
aerospike-client-go - Aerospike Client Go
gobuffalo/pop - A Tasty Treat For All Your Database Needs
Kivik - Common interface to CouchDB or CouchDB-like databases for Go and GopherJS
migrations - SQL database migrations for Golang go-pg and PostgreSQL
godis - redis client implement by golang, inspired by jedis.
go-database-sql-tutorial - A tutorial for Go's database/sql package
dynago - A DynamoDB client for Go
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
mongo-go-driver - The Official Golang driver for MongoDB