django2.2——18. Cache framework
1, Django caching framework
When a dynamic website receives every user request, it will perform operations such as querying the database and rendering templates. These operations are much more expensive and not necessarily necessary than simply reading files from the file system.
Therefore, we can save the calculation results and directly ...
Posted by gfrank on Sun, 02 Jan 2022 20:50:24 +0100
k8s1.18 multi master node high availability cluster installation
preface This article will lead you to install k8s1 18 multi master node high availability cluster. The previous article introduced the installation of single master node high availability cluster. If the previous article has passed the test, start learning this article and install multi master node high availability cluster. If you are a beginn ...
Posted by azaidi7 on Sat, 18 Dec 2021 10:58:28 +0100
Redis class notes on the first day
Redis first day class notes
Course objectives
Be able to master the operation of different data types in RedisRedis can be operated using Java APIBe able to understand the two persistence methods of RedisUnderstand the master-slave replication architecture of RedisBe able to understand the Sentinel architecture of RedisUnderstand Redis cluste ...
Posted by dkoolgeek on Fri, 08 Oct 2021 03:09:43 +0200
[Java from 0 to architect] Nginx - basic and common configurations (reverse proxy, load balancing, dynamic and static separation)
Java from 0 to architect Directory: [Java from 0 to architect] learning record
Nginx Foundation
Nginx official website: http://nginx.org/
Network requests are divided into dynamic requests and static requests:
Dynamic request: it requires background program processing logic, such as querying database dataStatic request: request som ...
Posted by manoj_jnics1 on Thu, 07 Oct 2021 23:32:04 +0200
MySQL Multiple Table Query Exercise
One: Preparing data
#Create tables and insert records
CREATE TABLE class (
cid int(11) NOT NULL AUTO_INCREMENT,
caption varchar(32) NOT NULL,
PRIMARY KEY (cid)
) ENGINE=InnoDB CHARSET=utf8;
INSERT INTO class VALUES
(1, 'Class Two, Three Years'),
(2, 'Three-year shift'),
(3, 'Class Two a Year'),
(4, 'Nine Classes in Two Years');
CREA ...
Posted by bhinkel on Thu, 16 Sep 2021 20:54:59 +0200