MySQL MMM high availability cluster

1, Overview of MySQL MMM cluster technology; Overview: MMM (Master Master replication manager for mysql) is a script program that supports dual master failover and dual master daily management. MMM is developed in Perl language and is mainly used to monitor and manage mysql master master replication. It can be said to be mysql master replicati ...

Posted by SocomNegotiator on Sat, 05 Mar 2022 15:59:12 +0100

Protocol Buffer Foundation: C++

Original address: https://developers.google.com/protocol-buffers/docs/cpptutorial This article briefly introduces how to use protocol buffer in C + + through an example. You can learn: How to work in the The message format is defined in the proto file;How to use the protocol buffer compiler;How to use the C++ protocol buffer interface to re ...

Posted by g00bster on Sat, 05 Mar 2022 15:55:55 +0100

Method of timing delivery input

Carry the posts written by myself in the object-oriented curriculum discussion area since 2021 (last year), and make some revisions. thank: BUAAWander Reply (this guy has become this year's OO teaching assistant) BUAA-Stargazer And supercalifragilistic Point out clerical errors in the code This content was written when I studied OO course las ...

Posted by ljzxtww on Sat, 05 Mar 2022 15:52:06 +0100

MySQL notes: Chapter 08_ Aggregate function

Note: this content is compiled from the MySQL video of Shangshan Silicon Valley Station B >>MySQL video of Shangsi valley station B The previous chapter talked about SQL single line functions. In fact, there is another kind of SQL function, which is called aggregation (or aggregation, grouping) function. It is a function that summari ...

Posted by rcarr on Sat, 05 Mar 2022 15:50:16 +0100

redis breakdown, avalanche and penetration solutions

Redis breakdown Redis cache breakdown refers to the sudden failure of a very hot key (i.e. more keywords searched on the client). At this time, a large number of requests sent from the client cannot find the key in redis, they will find it in the data, and eventually lead to excessive pressure and collapse of the database. Solution: 1. Set th ...

Posted by foreverhex on Sat, 05 Mar 2022 15:46:02 +0100

Simple and powerful assertion library power assert

power-assertWhat is power assertAnswer in official termsIt is the implementation of the concept of "Power Assert" in JavaScript.Descriptive assertion messages are provided through the standard assertion interface.No API is the best API. With power assert, you don't need to learn many assertion library APIs (in most cases, all you need ...

Posted by aldernon on Sat, 05 Mar 2022 15:42:17 +0100

linux network communication

linux network programming 1, socket 1. Detailed explanation of common functions 1.establish socket: int socket(int domain, int type, int protocol); domain: AF_INET This is most used to generate socket Protocol, use TCP or UDP To transmit, use IPv4 Address of AF_INET6 Similar to the above, but for use IPv6 Address of ...

Posted by cosminb on Sat, 05 Mar 2022 15:32:41 +0100

In depth analysis of Kubernetes -- Chapter 5: Kubernetes arrangement principle_ Controller_ StatefulSet

Statefulset (II) The Kubernetes project introduces a set of API objects called Persistent Volume Claim (PVC) and Persistent Volume (PV) Define a PVC and declare the attributes of the desired Volume kind: PersistentVolumeClaim apiVersion: v1 metadata: name: pv-claim spec: accessModes: - ReadWriteOnce resources: requests: sto ...

Posted by astronaut on Sat, 05 Mar 2022 15:14:05 +0100

Summary of top ten sorting algorithms

Top ten sorting algorithms Common sorting algorithms include bubble sort, selection sort, insertion sort, merge sort, quick sort, Hill sort, heap sort, count sort, bucket sort and cardinal sort Bubble sorting When adjacent elements are equal, they do not exchange positions, so bubble sorting is a stable sorting. void bubbleSort(vector ...

Posted by anujgarg on Sat, 05 Mar 2022 15:10:00 +0100

Java notes (basic sorting)

Java notes (basic sorting) In the rookie tutorial, the foundation of java is very comprehensive and thorough https://www.runoob.com/java/java-intro.html 1.java data type java is a strongly typed language. Variables must be declared to indicate their data types before use. Basic data types: byte, short, int, long, float, double, boolean, ch ...

Posted by jomama on Sat, 05 Mar 2022 15:06:58 +0100