Linux namespace in Go - Part 3, Cgroups resource limit
Linux namespace in Go - Part 2, UID and Mount
Linux namespace in Go - Part 1, UTS and PID

Linux namespace in Go - Part 1, UTS and PID

This article starts some Golang experiments on Linux namespace and provides context for Container technology. Linux namespace is an important foundation of container technology, it provides lightweight isolation between processes with Linux kernel support, therefore, different services can share the same machine with better resource utilization, great security.

Read more
Setup OAuth2 client for Django in 5 minutes

Setup OAuth2 client for Django in 5 minutes

This article explains how to setup OAuth2 client for Django in 5 minutes, it’s used for Web service which requires user to login by OAuth2, especially for those who are familiar with OAuth2.0 but unfamiliar with Django.

If you have no idea about OAuth2.0 workflow, please visit OAuth2 net

Read more
InfluxDB command cheatsheet

InfluxDB command cheatsheet

This article is InfluxDB command cheatsheet about how to interact with influxDB server and query the metrics. The InfluxDB version I tested is v1.7.10

Read more
how to build the smallest docker image as fast as you can
How to check and monitor SSL certificates expiration with Telegraf

How to check and monitor SSL certificates expiration with Telegraf

As a developer or operator of a Website, the certificate expiration could happen and make the services not work. I’ll introduce how to monitor certificates like SSL,JKS,P12 using Telegraf.

Certificates are broadly used for security reasons, they can be used within internal service or public service communication. The most common certificate is TLS used for verifying the identity of the HTTPS service. To increase security, the certificate will not be always valid because of expiration. To prevent the certificate expiry, we should rotate them periodically and meanwhile monitor them and alert if expired. Telegraf is a popular metric collecting tool to implement this.

Read more
Practice datacenter failover in production

Practice datacenter failover in production

Distributed system is like human body, it will have issues and break. There’s a theory that we feed it with issues deliberately and constantly, the body will be more and more stable and robust. It’s the same to system, put some issues to datacenters and let them failover automatically.

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×