MySQL high availability - PXC cluster

Blog Outline: 1, PXC introduction 2, Deploy PXC cluster 1, PXC introduction Reference resources: Official Percona PXC is an open source MySQL high availability solution, which integrates Percona Server and Xtrabackup with Galera library to realize synchronous multi master replication. High availability solutions based on Galera mainly incl ...

Posted by nic9 on Thu, 27 Feb 2020 03:17:08 -0800

#Network programming -- Example of TCP ECHO echo programming

Article directory Flow protocol and packet sticking Sticky bag readn writen Client sends fixed length package code Echo client / server echosrv.c echocli.c Reference material Flow protocol and packet sticking TCP is a transport service based on byte stream. It has no boundary and can not guar ...

Posted by dethron on Tue, 25 Feb 2020 23:16:25 -0800

AMQP Actual Warfare for Message Middleware 2

Instance Analysis Previously, we have read the documentation of AMQP, and have a general understanding of AMQP. This paper will go through the basic operation of AMQP from an example. Get ready Environmental Science RabbitMQ server 3.7.16 RabbitMQ client 5.7.3 The client code uses the RabbitMQ tutorial as follows: public static void main(String ...

Posted by klik on Sat, 22 Feb 2020 19:50:15 -0800

netty learning note 14 - TCP packet sticking and unpacking

Basic introduction of TCP packet sticking and unpacking TCP is connection oriented, flow oriented, and provides high reliability services. There should be one-to-one comparison of socket s on both sides of the transceiver (client and server). Therefore, in order to send multiple packets to the server ...

Posted by ProblemHelpPlease on Fri, 21 Feb 2020 00:06:39 -0800

About the Internet

To get back to basics, today I want to talk about those things about the Internet. I specially found some materials to learn notes. iocp is a classic model in Windows, which can be called all asynchronous communication, so I found a powerful example to learn and analyze. First look at the main API H ...

Posted by SalientAnimal on Thu, 20 Feb 2020 19:20:34 -0800

Run alicloud server again. Start from scratch. log change server

For the first time /usr/local stay Official website Download the latest version http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.31/bin/apache-tomcat-9.0.31.tar.gz [root@*** local]# pwd /usr/local [root@*** local]# wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.30/bin/apache-tomcat- ...

Posted by JacobYaYa on Thu, 20 Feb 2020 03:22:16 -0800

Multi-threaded and multi-process detail

I. Threads What is a thread? The basic unit of CPU scheduling and allocation. When the current thread CPU time slice is exhausted, it will cause the next operating system scheduling, such as CPU, to execute when it is its turn.The operating system does not allocate memory for threads, but groups of ...

Posted by sgarcia on Sun, 16 Feb 2020 17:43:28 -0800

Win32 process communication -- the use of mail slot

Post slot Mail slot is a one-way interprocess communication mechanism provided by Windows operating system, which can be used in single machine or multi machine distributed environment on network. For relatively short low-frequency messages, it is usually easier to use a mail slot than a named pipe o ...

Posted by supergrover1981 on Fri, 14 Feb 2020 05:56:33 -0800

Qualcomm MSM8937 dual DSI notes

Sketch The dual dsi function is supported on MSM8937. I tune it in MSM8937-android 6.0. The following is a brief introduction of its implementation ideas and key code fragments. There are two ways of dual screens supported by Qualcomm: one is to divide a picture equally on the left and right, and then ...

Posted by Doom87 on Fri, 14 Feb 2020 01:13:22 -0800

java architecture road - (netty topic) preliminary understanding of BIO, NIO, AIO

This time, we mainly talk about our IO blocking model. It's just not much, but we must understand that it's very important for us to understand netty later IO model elaboration IO model is to use what kind of channel to send and receive data. Java supports three kinds of network programming IO modes: BI ...

Posted by itsjames on Thu, 13 Feb 2020 04:37:40 -0800