Load balancing algorithm

1, Random method Completely random: randomly select one of the servers for access according to the list size value of the back-end server through the random algorithm of the system. According to the theory of probability and statistics, as the number of calls from the client to the server increases, the actual effect is closer and closer to th ...

Posted by Boo-urns on Mon, 13 Dec 2021 14:46:14 +0100

Example of creating a simple proxy server with sockets in Java

In these examples, you can find different ways to create a simple proxy socket server. This is useful for a number of reasons: Capture traffic between clients and servers.Limit upload / download bandwidth to see how your website loads slow connections.View the system's response when there is a problem with the network."Dynamically" m ...

Posted by jkarr on Sun, 12 Dec 2021 12:40:49 +0100

New silly girl installation tutorial

QQ group: 984698352 Boarding address: www.ake01.com top This paper consists of the following parts Introduction to basic functions of silly girl.Silly girl robot installation (only connected to QQ)Silly girl general settingsSilly girl docking WeChat / official account /TG robotSilly girl restart and replace robot QQSilly girl Qinglong extend ...

Posted by mosherben on Sat, 11 Dec 2021 12:27:29 +0100

[Rocky Linux] Rocky Linux version 8.5 new graphic installation tutorial and Ali image source replacement and other configuration operations

1, Refer to link description The article involves image download and reference materials as follows: Rocky Linux Official website:https://rockylinux.org/ Rocky Linux official website installation manual document: https://docs.rockylinux.org/zh/guides/installation/ Rcoky Linux version 8.5 image download link: https://www.ro ...

Posted by azwebdiva on Fri, 10 Dec 2021 12:59:33 +0100

One of the common design patterns -- responsibility chain pattern

preface In real life, it is a common scene that an event needs to be processed by multiple objects. For example, purchase approval process, leave process, etc. When the company's employees ask for leave, the leaders who can approve the leave include department heads, deputy general managers, general managers, etc., but the number of days e ...

Posted by miles_rich on Fri, 10 Dec 2021 12:29:18 +0100

shell programming redirection and variables

Due to the particularity of "batch processing" of Shell script, most of its operation processes run silently without user intervention. Therefore, it is very important to learn how to extract and filter execution information. There are two I/O operations in Shell environment: redirection and pipeline. Linux system uses files to descr ...

Posted by brynjar on Fri, 10 Dec 2021 11:57:27 +0100

Day 8: free usage of common Linux commands

1. Command introduction When our online maintenance server is running normally, a very important indicator is about the memory utilization rate. When the memory utilization rate of our server is too high, it is bound to reduce the operation performance of the server. In this regard, we will build some real-time monitoring platforms to facili ...

Posted by phpdood on Thu, 09 Dec 2021 19:09:43 +0100

VMware virtual machine network configuration under Linux environment (bridging and NAT)

Software configuration: vmware, openeuler 21.03 (other linux systems) 1. Bridging mode This is equivalent to creating a separate host in a LAN. It can access all hosts in the LAN, but it needs to manually configure the IP address and subnet mask, and it is in the same network segment as the real host (nat is two network segments). In this mod ...

Posted by Ruud Hermans on Thu, 09 Dec 2021 14:49:39 +0100

make compile and install mysql database

catalogue 1, Compile mysql-5.7 1. Unzip file 2. Installation dependent environment 3. Create a user 4. cmake parsing 5. make compile install 2, Modify profile 1. Change primary group 2. Enter configuration file 3. Modify the primary group of the profile 4. Setting environment variables 5. Initialize database 6. Add launcher 7. Ope ...

Posted by blueman378 on Thu, 09 Dec 2021 11:44:35 +0100

supervisor manages the process of the server -- daemon

preface Recently, the kafka process crashed because of the company's production line server. After checking, the official website told me it was a bug. Just upgrade the version. Sometimes it just collapses. So the daemon is on the agenda. Colleagues have studied the supervisor. Now we can use it for process status query, guard and startup. Thi ...

Posted by xenooreo on Thu, 09 Dec 2021 07:04:52 +0100