Setting timer and POSIX timer functions
The most commonly used timer on Linux systems is the setitmer timer
settimmmer prototype:
int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue);
which Is timer type, setitimer Three types of timers are supported:
ITIMER_REAL: Based on the real time of the system, it sends out SIGALRM Signal.
ITIMER_VIRTUAL: -Bas ...
Posted by jpmm76 on Wed, 27 Oct 2021 21:57:45 -0700
Application of cookies and sessions
Application of content Cookie and Session
Servlet common objects
ServletConfig: static dataServletContext: shared static data. Share dynamic data. Share file data.HttpServletRequestHttpServletResponseresponse.setContentType("text/html");response.setCharacterEncoding("utf-8");response.sendRedirect("ServlectDengLu");
>>Reply management ...
Posted by pistolfire99 on Wed, 27 Oct 2021 07:46:50 -0700
Regular expression explanation of Shell script
catalogue
1, Common pipeline commands
1.1 sort command
1.2 uniq command
1.3 tr command
1.4cut command
1.5 examples
1.5.1 statistics of current host connection status
1.5.2 count the number of currently connected hosts
2, Regular expression
2.1 definition of regular expression
2.2 common metacharacters (supported tools: find, grep, eg ...
Posted by delmardata on Tue, 26 Oct 2021 07:04:13 -0700
Working principle and configuration of nginx
Working principle and configuration of nginx
Module and working principle of nginx
Nginx consists of kernel and modules. Among them, the design of the kernel is very small and concise, and the work completed is also very simple. Only by looking up the configuration file, the client request is mapped to a location block (location is an ins ...
Posted by srikanthiv on Tue, 26 Oct 2021 05:58:40 -0700
curl usage guide
brief introduction
curl is a common command-line tool for requesting Web servers. Its name means the URL tool of the client.
Its function is very powerful, with dozens of command line parameters. If you are proficient, you can completely replace graphical interface tools such as Postman.
This paper introduces its main command line paramete ...
Posted by asmon on Mon, 25 Oct 2021 18:31:53 -0700
I don't know about Nginx thread pool yet. I'll get you started this time [novice collection recommended]
Nginx solves the c10k problem by using multiplexing IO Technology (such as epoll of Linux, kqueue of FreeBSD, etc.), but the premise is that the request of nginx cannot have blocking operation, otherwise the whole nginx process will stop serving. However, blocking is inevitable in many cases. For example, when a client requests a static file, d ...
Posted by murtoz on Mon, 25 Oct 2021 06:56:01 -0700
Working principle of nginx and configuration of nginx
Working principle of nginx and configuration of nginx
1. Working principle of nginx
Nginx modules are directly compiled into nginx, so they belong to static compilation.
After starting nginx, the module of nginx is loaded automatically. Unlike Apache, first compile the module into a so file, and then specify whether to load it in the configu ...
Posted by dbrown on Mon, 25 Oct 2021 04:34:17 -0700
Working principle and configuration of nginx
Working principle and configuration of nginx
Module and working principle of nginx
Nginx consists of kernel and modules. Among them, the design of the kernel is very small and concise, and the work completed is also very simple. Only by looking up the configuration file, the client request is mapped to a location block (location is an ins ...
Posted by ChrisMayhew on Mon, 25 Oct 2021 01:59:12 -0700
How Nginx works, configuration
How Nginx works, configuration
1. Nginx module
Nginx consists of a kernel and modules. The design of the kernel is very small and concise, and the work done is very simple. The client request is mapped to a location block only by looking up the configuration file (location is an instruction in the nginx configuration for URL matching), Each i ...
Posted by vitorjamil on Mon, 25 Oct 2021 01:01:18 -0700
Zen installation and management
Recently, I changed a new project team. Because the new team is relatively young and does not implement formal project management, I volunteered to contribute to team management and help the team establish agile project management. After many studies and comparisons, I chose the popular open source project management software: Zen. This is a do ...
Posted by shooff2332 on Sun, 24 Oct 2021 19:38:38 -0700