f 格物致知

All Posts

Remote Debug Go With Delve

It's easy to write code, but hard to debug code, which is a very touching thing for people who have written a lot of code. Here I made a record of how to debug code remotely with Goland, if you need it, I hope it will help you too.

NPM Tutorial

Although I use npm from time to time, I’m really not familiar with it, but recently I suddenly wanted to understand what it is and what it does, so I took a little more serious understanding, and this article will record what I understand about npm.

Try Linkerd With Kind

Although Linkerd has heard of its name for a long time, and probably understand some of its architecture, but really have not tried it, mainly because its previous version is really not easy to use, but it is said that the second version has changed a lot, so recently followed the video of others to play a little, by the way, a water.

Prometheus Cluster Solution: Federation

If you use Prometheus as a monitoring tool, then as you get deeper into it, you will run into some performance issues, so you will consider how to extend Prometheus, and this article describes one official way to do so: federation.

Size Limit for TCP Data Segment

We’re all familiar with TCP, the three handshakes, reliable transmission, and all that jazz, but there are a few other things that are interesting, such as do you know what the size limit is for a TCP send?

Manager Session with Screen Command in Linux

A common problem under Linux is that our SSH sessions to remote machines are interrupted due to network or shutting down the client (e.g. laptops with lids closed), especially when running an important command that takes a long time to run.

What is Service Mesh and Why

This article was compiled by me in May 2019, but I never finished it and put it in the draft box, so I suddenly came up with it today, so I edited it by hand. In fact, the reason I didn't finish it was because I translated a lot of content before, and I felt that I had failed to live up to some of my own understanding by directly playing the name of translation, so I piled it up, and then gradually added my own experience and understanding to it, so I organized it today.

Benchmark in Go

This article describes the Benchmark tool, including its testing principles and some relatively complex test implementations.

Limit docker container cpu memory and other resource usage

In the usual local running some high resource consumption of the container, you may sometimes be unhappy with a container on the machine to make the card can not be, this time you want to shut down the container, but there can not shut down, I do not know if you have this trouble, at least I have, so here is how to limit the Docker container resource consumption.

Note for effective go

Although it's not the first time I read Effective Go, it's also very rewarding to read it again. I didn't record some reading feelings and records in my previous readings, so I can't miss this opportunity this time. At the end, I also read a handful of Thanos' coding guide, and also made up some.