[Golang] microservice implementation tool -- go kit is easy to understand
Go kit is a distributed development tool set, which can be used to build micro services in large organizations (businesses). It solves most common problems in distributed systems. Therefore, users can focus on business logic
First of all, we should understand that go kit is not a framework. It is just a tool set. It has some toolkits to help ...
Posted by savagenoob on Wed, 03 Nov 2021 15:10:58 -0700
unix commands often used in work
1, Background
I have accumulated a lot of commands related to the server in my work, which are commonly used. Record and share them with you. I hope it will be helpful.
2, Common commands
1. vim enters the file, exits the editing mode, executes DD to delete a whole line, and 20dd to delete 20 ...
Posted by wisewood on Wed, 03 Nov 2021 12:14:16 -0700
RaabitMQ environment deployment (Windows, stand-alone, cluster)
1, windows installation
1.1. erlang Download
erlang download page: https://www.erlang.org/downloads erlang download address: https://erlang.org/download/otp_win64_24.0.exe
You can install directly in the next step. When you encounter the following figure, install visual C++ Configure environment variables after installation And add% Er ...
Posted by cringe on Tue, 02 Nov 2021 23:14:05 -0700
Chapter IX disk storage and file system management
2.3 mount
Mount: the act of associating an additional file system with an existing directory in the root file system, so that this directory can be used as an access to other files
Uninstall: the process of releasing this association
Associate a device with a mount Point: mount Point
The original files under the mount point will be temporar ...
Posted by Strings on Tue, 02 Nov 2021 19:00:24 -0700
Linux CPU context switching performance monitoring
Context switching
In short, it is to save the resources of the register and program counter of the previous task, then load the register and program counter of the next task, and finally jump to the address of the new task.
The context switching of CPU can be divided into:
System call context switchingProcess context switchingThread cont ...
Posted by RobinTibbs on Tue, 02 Nov 2021 14:07:31 -0700
Linux Process Management
Process and thread definition
A process is a program in execution (the object code is stored on the media). A process includes not only the running program, but also some other resources, such as open files, suspended signals, internal kernel data, processor status, etc. An execution thread is projected in a section of memory, which also c ...
Posted by Scorptique on Tue, 02 Nov 2021 13:15:11 -0700
Ubuntu 18.04 sad (failed) experience of installing NVIDIA driver and solutions (successful system replacement)
Problem Description: The NVIDIA driver is installed in ubuntu 18.04 system. NVIDIA SMI can output GPU graphics card information, but after sudo reboot, the screen is black and cannot enter the graphical interface, so it cannot be turned on. After entering the tty interface and deleting the NVIDIA driver, you can successfully enter the ubuntu sy ...
Posted by breadcom on Tue, 02 Nov 2021 11:03:25 -0700
Learn Bash debugging in 10 minutes
Shell is a program for the interaction between users and the operating system. It is often used to perform some automated or repetitive and cumbersome tasks. Now all Linux systems basically bring this program. We only need to write shell scripts and execute them directly. There is no need to install additional software and configure the compi ...
Posted by bluwe on Tue, 02 Nov 2021 08:41:08 -0700
Configuration management of SaltStack
Configuration management of SaltStack
YAML language
YAML is an intuitive data serialization format that can be recognized by computer. It is a programming language with high readability, easy to be read by human beings, easy to interact with scripting language and used to express data sequences.
It is similar to the data description language ...
Posted by dxdolar on Tue, 02 Nov 2021 04:10:36 -0700
Detailed explanation of Linux commands -- curl
Command: curl
In Linux, curl is a file transfer tool that uses URL rules to work on the command line. It can be said that curl is a very powerful http command line tool. It supports file upload and download. It is a comprehensive transmission tool, but traditionally, it is used to call URL a download tool.
Syntax:# curl [option] [url]
Common p ...
Posted by modcar on Tue, 02 Nov 2021 03:52:24 -0700