Servlet introduction

Servlet Technology a. What is a Servlet 1.servlet is one of the Java EE specifications, and the specification is the interface 2.Servlet is one of the three major components of Java Web. The three major components are servlet program, Filter and Listener listener 3.Servlet is a java applet running on the server. It can receive requests ...

Added by holowugz on Thu, 09 Dec 2021 02:20:42 +0200

Practical operation of keepalive in linux

1, keepalive Foundation 1.1 VRRP Technology vrrp related terms Virtual Router: virtual router Virtual router ID: VRID(0-255), which uniquely identifies the virtual router VIP: Virtual IP VMAC: Virutal MAC (00-00-5e-00-01-VRID) Physical router: Master: master equipment backup: standby device Priority: priority 1.2 VRRP related t ...

Added by xbuzzx on Tue, 07 Dec 2021 14:25:19 +0200

Write an HTTP forward proxy

concept First, let's understand the related concepts of HTTP proxy. Generally speaking, there are two types of HTTP proxy, one is forward proxy and the other is reverse proxy. Although they are all proxies, there are still differences. The VPN we usually use is the forward proxy. We specify a server, and then connect to the server through the ...

Added by ununium on Tue, 07 Dec 2021 08:06:39 +0200

Master MySQL read-write separation and master-slave replication

catalogue           1. MySQL read-write separation and master-slave replication principle 2. Why do we do read-write separation 3. When should I separate reading from writing 4. Master-slave replication and read-write separation 5. Replication types supported by mysql 6. Working process of master-slave replication ...

Added by Jorn TK on Tue, 07 Dec 2021 06:46:49 +0200

System call or crash

5 system call or crash This is where we go into system calls (and other library calls) that allow you to access the network functions of Unix boxes or any box that supports socket application programming interfaces (BSD, windows, Linux, apple, what do you have) When you call one of these functions, the kernel will automatically take over and d ...

Added by Bobo the Bugbear on Mon, 06 Dec 2021 23:18:22 +0200

Java web learning notes

Javaweb concept Technology for dynamic web resource development is collectively referred to as Java Web web application web applications: programs that provide browser access For web applications to provide external access: a server is required to unify Tomcat management; web application composition: html,CSS,jsjsp/servletJava Programs ...

Added by Nexus10 on Mon, 06 Dec 2021 04:45:42 +0200

Multiplexer epoll

epoll related system calls #include <sys/epoll.h> int epoll_create(int size); epoll_create creates an epoll model and returns a file descriptor pointing to the epoll model.Parameter is deprecated and reserved for compatibility. Fill in at will.The file descriptor is returned successfully, and - 1 is returned for failure. int e ...

Added by mjs87 on Sun, 05 Dec 2021 13:05:54 +0200

File system and log analysis

File system and log analysis summary inode and block Hard link and soft link Recover accidentally deleted files Analysis log file inode and block overview File data includes meta information and actual dataFiles are stored on the hard disk. The minimum storage unit of the hard disk is "sector". Each sector stores 512 bytesBlock ...

Added by savagenoob on Sat, 04 Dec 2021 21:54:39 +0200

How to solve the problem that getting timestamp from Mysql database is 8 hours earlier than the normal time

This article introduces the relevant knowledge of "how to solve the problem of obtaining timestamp from Mysql database 8 hours earlier than the normal time". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can rea ...

Added by eddy666 on Sat, 04 Dec 2021 21:50:02 +0200

Python development - Django form

form Django provides a rich framework to help create forms and process form data. 1, Foundation: 1. Overview Django provides a series of tools and libraries to help you build forms to receive input from website visitors, and then process and respond to these inputs. HTML form In HTML, forms are elements in... That allow visitors t ...

Added by gwbouge on Sat, 04 Dec 2021 00:42:18 +0200