GRPC protocol Mock Server service

PowerMock is an implementation of Mock Server. It supports Mock of HTTP and gRPC protocol interfaces at the same time, and provides flexible plug-in functions. This tool is designed for developers with interface Mock requirements such as front and back end and testing. It can also be deployed in gateway architecture or API management platform a ...

Posted by php_jord on Fri, 21 Jan 2022 12:55:32 +0100

Shell Programming and Variables

1. Overview 1. Concepts 1) What is a shell: shell Is a command interpreter, which is responsible for directly talking with the user at the outermost level of the operating system, interpreting the user's input to the operating system, processing the output of a wide variety of operating systems, and outputting to the screen for feedback ...

Posted by khujo56 on Fri, 21 Jan 2022 12:08:54 +0100

Basic usage and advanced status of SaltStack

Basic usage and advanced status 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 l ...

Posted by xinnex on Fri, 21 Jan 2022 09:10:51 +0100

Deployment server

1. Deployment server 59.226.29.77 (1T occupied space, 100m shared bandwidth, 32G memory, 16 core CPU): Running load balancing servicesfastdfs, open port 22122, 23000nginx accessing fastdfs files 59.226.29.78 (1T occupied space, 100m shared bandwidth, 32G memory, 16 core CPU): docker runs back-end microservicesnginx running background man ...

Posted by inferium on Fri, 21 Jan 2022 08:55:15 +0100

Hypercall mechanism of KVM

Only x86 architecture is concerned here. According to the kernel document, under x86 architecture, KVM Hypercall is a 3-byte instruction, vmcall instruction or vmmcall instruction. Up to four parameters are transmitted through registers rbx, rcx, rdx and rsi. Then, the call number of hypercall is stored in rax, and the call return value is al ...

Posted by pmaonline on Fri, 21 Jan 2022 08:08:58 +0100

Linux jq and vim (notes)

1, jq zcat client_log_20211226/*.gz | head -n 10000 | jq .event | sort | uniq -c jq is a lightweight json processing command. json data can be sliced, filtered, mapped and transformed jq . Format and output json data Common options -c compact output json data-s reads all inputs into an array-r outputs the original string instead of a ...

Posted by AjBaz100 on Fri, 21 Jan 2022 08:03:28 +0100

The website nginx configuration limits the access frequency of a single IP to prevent DDOS malicious attacks

1, Introduction For websites, especially famous websites with large traffic, they often encounter attacks, such as DDOS attacks. Although some third parties, such as Cloudflare, can block them, for dynamic websites, PHP can only block some. At this time, it is necessary to limit the flow of a single IP malicious attack. Two modules of nginx ca ...

Posted by fredted40x on Fri, 21 Jan 2022 00:55:11 +0100

boost::asio::io_ Event loop of context

Transferred from: https://www.jianshu.com/p/d6ae8adb5914 brief introduction boost::asio::io_context literally means the context of Io. It can be understood that any io of boost will involve an io_context, synchronizing IO will implicitly start an io_context, and asynchronous IO requires us to specify one, and then call IO at the right time_ Th ...

Posted by alexks on Thu, 20 Jan 2022 20:49:52 +0100

Docker deployment OKR project replay

Docker deployment OKR project replay 1, Run OKR project locally (1)The problem of Chinese and English garbled code on the home page: the problem of coding logic Reference address: https://www.cnblogs.com/shihaiming/p/7792876.html https://www.cnblogs.com/kingsonfu/p/10395522.html (2)An exception occurs during database initialization bec ...

Posted by wazo00 on Thu, 20 Jan 2022 19:42:30 +0100

CI/CD Linux auto deployment feature (nanny level tutorial)

##CI/CD Automated Deployment Top Case 1: deploying GitLabCase 2: configuring GitLabCase 3: deploying Jenkins 1 case 1: deploying GitLab 1.1 problems This case requires to build a GitLab server, and the requirements are as follows: Preparation environment (container environment)Installing GitLab 1.2 scheme Preparation of experimental e ...

Posted by toolmania1 on Thu, 20 Jan 2022 16:34:46 +0100