Serialization and deserialization and differences of serialization protocols
1, What is serialization and deserialization?
Java serialization refers to the process of converting Java objects into byte sequences;
Java deserialization refers to the process of restoring byte sequences to Java objects.
2, What does serialization do?
Object persistence, which can permanently s ...
Posted by everknown on Fri, 26 Jun 2020 21:35:28 -0700
Kubernetes cluster: life cycle of (k8s) pod + init container + probe
1, Pod life cycle
• Pod can contain multiple containers in which applications run, and can also have one or more
Multiple Init containers started before the application container.
The Init container is very similar to ordinary containers except for the following two points:
• they always run t ...
Posted by JackSevelle on Thu, 25 Jun 2020 23:38:32 -0700
C-crawler preliminary -- picture downloader
The implementation of a simple crawler mainly includes two aspects: obtaining the HTML text of the specified web page; parsing the HTML text obtained in the previous step to obtain the required information, for the picture downloader, it is to parse the path of each picture on the network from the HTML ...
Posted by EOS on Wed, 24 Jun 2020 22:06:26 -0700
C ා multithreaded programming process and thread
1, Process
In short, a process is an abstraction of resources and a container of resources. In traditional operating systems, a process is the basic unit of resource allocation and execution. Processes support concurrent execution because each process has its own data and stack space. If a program wants to execute concurrently, just start mult ...
Posted by Kibeth on Sun, 21 Jun 2020 00:18:53 -0700
Use of filters
1. What is a filter?
In the process of client to server, when sending a request, if there is non-conforming information, it will be intercepted by the filter, if it is conforming, it will be released, and when the server responds to the client, it will also be judged that if there is non-conforming in ...
Posted by chadrt on Sun, 14 Jun 2020 21:23:07 -0700
Node.js The use of Express framework
Node.js The use of Express framework
Node.js The use of Express framework
1 Introduction to express framework
1.1 introduction and features of express framework
1.2 preliminary use of Express
2 Express framework Middleware
2.1 middleware introduction
two point two app.use Usage of Middleware
2.3 ...
Posted by ThatGuyBob on Fri, 12 Jun 2020 00:59:16 -0700
[Nginx] basic concept and installation
1, Basic concept of Nginx
1. About Nginx
What is Nginx
Nginx (engine x) is a high-performance HTTP and reverse proxy server, characterized by less memory consumption and strong concurrency. It has been reported that it can support up to 50000 concurrent connections
2. Reverse proxy
Forward agent
The forward proxy is a kind of client proxy. The ...
Posted by subcool on Sun, 07 Jun 2020 03:09:57 -0700
Let's Encrypt configure universal domain name certificate
Recently, more than 10 secondary domain names of individuals need to issue certificates. Let's Encrypt provides free SSL certificates with a term of three months. When they expire, they need renew. The official also provides certbot, a tool for automatic renew. Here, we record the general certificate that uses Let's Encrypt to generate t ...
Posted by iRock on Fri, 29 May 2020 00:36:59 -0700
What is layered jar in Spring Boot 2.3
background
In our actual production containerization deployment process, we often encounter the situation that the Docker image is large and the deployment and release are slow
There are three main factors that affect the image size of docker:
The size of the underlying mirror. Try to choose Apache as the basic image to reduce the built-in sof ...
Posted by mattr on Wed, 27 May 2020 01:43:37 -0700
Nginx problem record (continuous update)
To record the Nginx problems encountered:
1. nginx is forwarded to other addresses because the proxy configured by default in the server layer_ set_ header Host $host;Proxy needs to be configured in the location layer_ set_ header Host $proxy_ host;
location /xxx/ {
proxy_pass http://www.baidu.com/;
proxy_set_header Host $proxy_host;
}
2. Cro ...
Posted by assafbe on Fri, 22 May 2020 08:50:50 -0700