All Posts

Why stress can not make cpu so busy

Today, I want to try to reproduce a problem, the need to achieve an effect is to fill the CPU, creating a very high load, my first idea is to use stress, the results found that actually have not been able to play, can only play half (50%) to the top, so explore what the problem, by the way, for the record

Debug Docker No Logging Showing In Docker Logs

Recently, when trying a project, I found that the business was not normal, and then I wanted to see what errors were output from the logs in the Docker Container, and then I actually did not see any logs, so I positioned them in passing and simply made a record.

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.