Chapter 1: basic concepts of server
1.1 - composition of the website
Web applications are mainly divided into two parts: client and server.
Server side: the part running in the server, responsible for sto ...
Posted by ctsiow on Sat, 22 Feb 2020 01:43:32 -0800
1.defer is the code segment executed when the function returns. Whether it is return or panic, the code snippet in defer will be executed.
2.recover is used to capture panic in the defer code segment. When panic occurs, the defer code segment will be executed, in which if recover is available,
The panic will be captured and use ...
Posted by Dongowarrior on Thu, 13 Feb 2020 12:45:04 -0800
Using cloud disks to store volumes often requires a cloud disk of appropriate capacity when the service is initialized, but as data grows, the capacity of the data disk cannot meet demand and needs to be expanded.
In the expansion scenario of traditional applications, it is often necessary to stop the application manually, back up the data disk ...
Posted by Peter Anselmo on Wed, 12 Feb 2020 17:36:09 -0800
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
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
Do not save the communication state between the request and the ...
Posted by luked23 on Sun, 09 Feb 2020 23:50:03 -0800
try....catch...finally, catch and handle exceptions in catch
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
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
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
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
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
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