mysql data backup and recovery

mysql data backup I summary The main purpose of backup is disaster recovery. Backup can also test applications, rollback data modification, query historical data, audit, etc. II Importance of data backup In the production environment, the security of data is very important, and any loss of data may have serious consequences. III Causes of ...

Posted by Eddyon on Mon, 07 Mar 2022 15:24:03 +0100

Take a small notebook and remember how kubernetes ingress nginx releases blue, green and gray

Background introduction In some cases, we are using Kubernetes as the cloud platform for business applications. We want to realize the blue-green deployment of applications to iterate the application version. lstio is too heavy and complex, and it is positioned in flow control and grid governance; Ingress nginx introduces Canary function in ve ...

Posted by hrdyzlita on Mon, 07 Mar 2022 15:22:44 +0100

Spring transaction management

1, Basic concepts of transaction 1. What is a transaction (1) Transaction is the most basic unit of database operation. Logically, a group of operations either succeed or fail if one fails (2) Typical scenario: bank transfer 2. Transactions have four characteristics (ACID) (1) Atomicity: to succeed, to fail, to fail (2) Consistency: the total a ...

Posted by tillaart36 on Mon, 07 Mar 2022 15:11:29 +0100

C++STL knowledge set

STL Hey, c + + long time no see, meet you again familiar and strange. The feeling of practicing many brush questions fades a little, and you need to be familiar with the actual questions again. This article will be continuously updated Today, let's remedy the concept of STL in time to facilitate more efficient problem brushing in the future. ...

Posted by vombomin on Mon, 07 Mar 2022 15:09:08 +0100

JavaScript keyword this:

this this is a keyword of JavaScript language. It is an object automatically generated inside the function body when the function is running. It can only be used inside the function body. function test() { this.x = 1; } Multiple directions of this: In JavaScript, this is not fixed. It will change with the change of execution environmen ...

Posted by koopmaster on Mon, 07 Mar 2022 15:04:16 +0100

CSS - Crazy God notes

CSS: 1, Simple understanding CSS selector, beautify web pages (beautify text, shadow, hyperlink, list beautification, gradient), box model, web page animation. <style> h1{ color:red; } </style> Syntax: Selector{ Statement 1; Statement 2; } 3. Two ways of writing external styles Linked: <link rel="stylesheet" href="css/ ...

Posted by trex005 on Mon, 07 Mar 2022 15:02:00 +0100

Simple operations and differences of vector, array and list

1, vector container 1.vector introduction Vector container is a dynamic array provided in the form of class template. Similar to array, the elements of vector are also stored in continuous space, which supports subscript access to elements. Different from array, the size of vector container can be changed dynamically, and the storage spac ...

Posted by terryl on Mon, 07 Mar 2022 14:55:00 +0100

Multithreaded programming and producer consumer issues

1, Thread theory foundation Advantages of threads One of the reasons to use multithreading: Compared with the process, it is a very frugal way of multitasking. Under the Linux system, to start a new process, it must be allocated an independent address space, and a large number of data tables must be established to maintain its code segments, ...

Posted by scottfossum on Mon, 07 Mar 2022 14:49:27 +0100

Nginx learning notes (entry version)

1, Installing Nginx under Centos Reference documents If the machine installs Nginx for the first time, you need to set the software package warehouse of Nginx before installing Nginx, and then install and update Nginx through the warehouse Install some pre required configurations yum install yum-utils Set the yum warehouse in / etc / ...

Posted by sgarcia on Mon, 07 Mar 2022 14:38:09 +0100

c++ day13 polymorphism, calculator class case (new creation object)

1. Basic concepts Polymorphisms fall into two categories Static polymorphism: function overloading and operator overloading belong to static polymorphism and reuse functionsDynamic polymorphism: derived classes and virtual functions implement runtime polymorphism Difference between static polymorphism and dynamic polymorphism Statically poly ...

Posted by sivarts on Mon, 07 Mar 2022 14:28:28 +0100