Nginx website service configuration

catalogue Nginx website service 1, Compilation and installation of Nginx 1. Turn off the firewall and the software package required by nginx to the / opt directory ​ 2. Install dependent packages 3. Create running users and groups 4. Compile and install Nginx 5. Check, start, restart and stop nginx service 6. Add Nginx system service ...

Added by duke on Wed, 23 Feb 2022 10:37:05 +0200

[Kaka on Java] in depth analysis of HashMap source code [key]

   students, today we will deeply analyze the source code of HashMap. I believe many students will be asked about the source code during the interview. Which one is the most asked? Most students will definitely think of HashMap. Through the study of this article, you will be able to easily master the source code knowledge of HashMa ...

Added by KindredHyperion on Wed, 23 Feb 2022 10:33:19 +0200

Python foundation -- variable and variable, conditional, in, is, process control if

Today's test 1. Simply describe the storage of a variable x=10 in the heap area of the stack area in memory. Stack area: storage is the corresponding relationship between the variable name and the memory address, so it can be simply understood as: variable name is stored in the memory address heap area: it stores the variable value Emphasi ...

Added by thirdeye on Wed, 23 Feb 2022 10:28:59 +0200

pprof actual combat - memory leak

scene Multiple services are running in one server. After running for a period of time (less than one day), it is found that a process occupies more than 50% of memory resources, resulting in server exceptions Solution First, start pprof performance analysis in the code runtime.SetBlockProfileRate(1) go func() { log.Println(http.ListenAnd ...

Added by shaoen01 on Wed, 23 Feb 2022 10:21:02 +0200

[Java] multithreading (taking java webcam as an example)

[Java] multithreading (taking the realization of video function as an example) step1: how to realize video Video is realized by pictures, so we only do two things: 1) Find an interface that can call the camera 2) Use this interface to get the picture of every moment 3) Draw these pictures in a continuous cycle Step 2: why can't you turn ...

Added by hellangel on Wed, 23 Feb 2022 10:12:56 +0200

Hadoop principle and tuning

Hadoop principle 1. HDFS write process 1.client adopt Distributed FileSystem Module direction NameNode Request to upload files, NameNode It will check whether the target file exists, whether the path is correct, and whether the user has permission. 2.NameNode towards client Return whether you can upload or not, and return three items at the ...

Added by kee1108 on Wed, 23 Feb 2022 10:12:13 +0200

Webview module manages the application window interface and realizes the logical control and management operation of multiple windows (middle 1)

Set the Webview window rendered event parameter <span style="background-color:#333333"><span style="color:#474747"><code> <span style="color:#f0e68c"><strong>void</strong></span><span style="color:#ffffff"> wobj</span><span style="color:#ffffff">.</span><span style="color:# ...

Added by karldesign on Wed, 23 Feb 2022 09:52:37 +0200

Graphical python | module

Author: Han Xinzi@ShowMeAITutorial address: http://www.showmeai.tech/tuto...Article address: http://www.showmeai.tech/article-detail/84Notice: All Rights Reserved. Please contact the platform and the author for reprint and indicate the source1.Python moduleIn the process of program development, the file code is getting longer and longer, and th ...

Added by writer on Wed, 23 Feb 2022 09:46:15 +0200

Webview module manages the application window interface and realizes the logical control and management operation of multiple windows

A set of properties that define page or control deformations A set of properties that define the effect of a page or control transformation Properties: Property: (String type) the property that produces the transformation effect The default value is "all", and other values are not supported temporarily. Platform support ...

Added by thinkmarsh on Wed, 23 Feb 2022 09:37:27 +0200

Deep understanding of select Lock in share mode and select FOR UPDATE

Concepts and differences SELECT... LOCK IN SHARE MODE uses the IS lock (intention to share lock), that IS, share locks are added to the qualified rows. In this way, other sessions can read these records or continue to add IS locks, but these records cannot be modified until the execution of your locked session IS completed (otherwise, the lock ...

Added by freddyatlantis on Wed, 23 Feb 2022 09:35:37 +0200