Daily Archives: 29.11.2017

docker-compose for starting aerospike and memcache

Place this config wherever you like (in your project) — for instance, ~/myproj/docker/docker-compose.yml:

And this config for aerospike should be placed in a directory ~/myproj/docker/aerospike/etc/docker.conf After that you should run it like that:

When you finished, just run:

https://docs.docker.com/compose/reference/up/

Container insights for golang engineer (k8s docker CPU throttling)

We’ve run into problems on my work when k8s limits cpu to few processors (throttling), while go application can see all of them (setting GO_MAX_PROCS to maximum CPUs available) and go’s scheduler is going crazy because of that during highload (like stress-tests). It is caused by scheduling for, let’s say, 40 processors while you have …

Read more