squid installation and traditional mode

Overview of squid proxy server; Overview: Squid Cache (SQUID for short) is http proxy server software. Squid is widely used as a cache server or a cache proxy server. It can be used as a proxy server for users to request data from the web server and cache it. It can filter traffic to help network secu ...

Posted by Sno on Tue, 11 Feb 2020 03:27:11 -0800

[JAVA] HTTP protocol learning notes

1. introduction HyperText Transfer Protocol (HTTP) is a standard (TCP) for client (user) and server (website) requests and responses. It is an application layer protocol based on TCP/IP protocol. Request response mode Stateless protocol Do not save the communication state between the request and the ...

Posted by luked23 on Sun, 09 Feb 2020 23:50:03 -0800

Exception handling of spring MVC

One way try....catch...finally, catch and handle exceptions in catch       Mode two Set the default global exception handler.   In case of any abnormality, throw upward one by one, In this process, if the exception is caught and handled by catch, it will be OK; If there is no corresponding catch to catch and handle exceptions, they will be fin ...

Posted by Eric T on Sun, 02 Feb 2020 05:56:25 -0800

node web module (server and client)

node web module web server Web server refers to website server, which refers to a program residing on the Internet, the basic function of web browser, and provides information browsing service The web supports the script language on the server side. The script language obtains data from the database and returns the results ...

Posted by fireant on Fri, 31 Jan 2020 01:59:15 -0800

Squid Proxy Server - Traditional Proxy, Transparent Proxy (Practice!)

Overview of Cache Agents How web proxies work: Cache Web page objects to reduce duplicate requests Basic types of agents Traditional Proxy: For Internet use, specify the server explicitly Transparent proxy: Clients do not need to specify the proxy server's address and port. The firewall redirects ...

Posted by quimkaos on Wed, 22 Jan 2020 23:44:27 -0800

Keepalived hot standby, Keepalived+LVS, HAProxy server

Any software you just need to remember what it does and how it works. You don't need to memorize commands, but you still need to know the basics Keepalived overview How to solve the single point failure of scheduler? Keepalived is implemented as a highly available cluster Keepalived was originally d ...

Posted by ben2005 on Tue, 21 Jan 2020 00:50:09 -0800

Introduction to cluster and LVS, LVS-NAT cluster, LVS-DR cluster

1, What is cluster A group of computers interconnected by a high-speed network and managed in a single system model Say a lot of servers come together to provide the same service. In the client, it looks like there is only one server Relatively high benefits in terms of performance, reliability and f ...

Posted by monkeypaw201 on Sun, 19 Jan 2020 05:06:06 -0800

LVS load balancing - DR mode

LVS load balancing - DR mode 1: Definition of DR mode Direct routing Referred to as DR mode, the semi open network structure is adopted, which is similar to the structure type of TUN mode, but each node is not scattered in different places, but is located in the same physical network with the ...

Posted by gelwa on Thu, 16 Jan 2020 23:22:10 -0800

ch05 code reuse for function writing

Article directory Code reuse and function writing Benefits of code reuse cost reliability Uniformity Use the require() function and the include() function require() function -- introduce code require() function -- making web site template Use auto prepend file and auto append file Using PHP func ...

Posted by MrSheen on Mon, 13 Jan 2020 03:47:13 -0800

Nginx installation, reverse proxy implementation, and in-depth optimization

I. Installation of NginxOn the basic concepts of Nginx, in previous blogs: https://blog.51cto.com/14227204/2464167With a detailed introduction, this blog post starts directly from the installation. Environmental preparation: Three centos 7.5, one running Nginx and two running simple web services, are designed to test the effectiveness of the ...

Posted by ohenewa on Tue, 07 Jan 2020 00:29:46 -0800