All Posts

Comparison of the Go package management tool: dep vs go module

Recently, I migrated some of the project's dependency management tools from dep to go module, and there are some cool places and some unpleasant places, so here's a brief introduction to some of my personal views and feelings about the migration process.

How http2 build connection

In one of my previous articles: Handling GRPC Go Connection Handshake Issues, I described a problem I encountered with I described a Go GRPC problem I encountered and how it was eventually solved, and finally left myself a pitfall: how the http2 connection was established. Here’s how to fill that hole.

GRPC Go Connection Handshake Problem Solution

The services in our group provide both GRPC and HTTP interfaces, and most of the HTTP interfaces are directly converted from GRPC via grpc-gateway. Here is a brief description of the root cause and the solution.

AWK Command Usage

The power of the Linux command line is well known, but there are so many magic tools in Linux that it's really hard to learn them all at once, so if you don't know which one to start with, try awk first and you'll love it!

Add printer in manjaro

Linux View Network Traffic

Recently I found that the traffic on the development machine was a bit abnormal, so I used the tool to locate the traffic problem, and here I will record the command I used.

ClickHouse Usage Tutorial

I've been experimenting with some NoSQL databases, and this is a record of my Clickhouse operations, not much of value, just some memo commands. In fact, Clickhouse is similar to standard SQL, so you can get started with a little experimentation.

Linux run jnlp file

Today I suddenly wanted to use IMPI and then manage the machine with IPMI's remote console, but I need to run jnlp, so here is a very brief description of the process.

Mongo Go Driver Tutorial

This tutorial will introduce how to use the official Golang driver Mongo Go Driver to connect to MongoDB, manipulate MongoDB and some operations of indexes. More on how to use it, of course, there are some points of note are also mentioned, in fact, it is also stepped in some pits.

Docker Volume Usage and Manager

There are two ways to persist data in Docker, volume and bind mount. Of course, there are other ways, such as tmpfs on Linux and named pipe on windows, but they are not universal, so I won't go into them here. This article mainly introduces the differences between volume and bind mount and the usage scenarios, and takes out some details about them.