gomemcache
blog-examples
gomemcache | blog-examples | |
---|---|---|
4 | 3 | |
1,698 | - | |
- | - | |
4.6 | - | |
about 1 month ago | - | |
Go | ||
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.
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.
blog-examples
-
Go Package for better integration tests: github.com/ory/dockertest
Please refer to the full example code for more details.
-
Go Tips: WebAssembly and Vugu
However, because of the lack of experience using WebAssembly and Vugu I initially had some problems, let me elaborate more about how I solved those next. By the way all the code is available on Gitlab, feel fee to explore it and run it locally.
-
Using the C4 model to document Software Architectures
The following is a concrete example using the hypothetical Book Store System I introduced last time during my video Go Tools: counterfeiter (blog link). This time the system will be extended a bit more, and as usual the complete code of this example is available on my Gitlab repository.
What are some alternatives?
Redis - Redis Go client
go-sqlmock - Sql mock driver for golang to test database interactions
aerospike-client-go - Aerospike Client Go
gzipped - Replacement for golang http.FileServer which supports precompressed static assets.
Kivik - Common interface to CouchDB or CouchDB-like databases for Go and GopherJS
rust - Empowering everyone to build reliable and efficient software.
godis - redis client implement by golang, inspired by jedis.
dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
dynago - A DynamoDB client for Go
go - The Go programming language
mongo-go-driver - The Official Golang driver for MongoDB
vugu - Vugu: A modern UI library for Go+WebAssembly (experimental)