MHA High Availability Architecture Deployment Configuration Instance

1. Preface 1.1What's MHA?--An introduction to the principles MHA - Master High Availability, currently a relatively mature solution for MySQL high availability, is a set of excellent MySQL failover and master-slave enhanced high availability software. Here we mention two key points:'High availability','Failover'.Let's give you a brief overvi ...

Posted on Tue, 14 Jan 2020 12:43:37 -0500 by nor0101

MySQL database -- add, delete and change

Hello, everyone, welcome to meet you. After the last two query summary posts, today I will sort out the addition, modification and deletion of the data table. Last two Hyperlinks:Basic chapter portalAdvanced level chapter portal Add today's finishing this article, together with the addition, deletion, c ...

Posted on Tue, 14 Jan 2020 04:59:49 -0500 by azeem123456

The mental process of online troubleshooting - too long GC time

One day, I suddenly received feedback from other group partners that calling one of our group's interfaces timed out. The information is as follows: cause: java.net.socketimeoutexception: read timed out So I quickly opened Postman to access the next interface, and the result was accessible. After commun ...

Posted on Tue, 14 Jan 2020 03:24:11 -0500 by gabo0303

Learning notes of design pattern: Abstract Factory Pattern

This note is excerpted from: https://www.cnblogs.com/PatrickLiu/p/7596897.html Record the learning process for future reference. Next Learning notes of design mode: simple factory mode (prelude to factory method mode) Through the understanding of the simple factory model, its disadvantage is that we constantly modify the factory as the demand c ...

Posted on Tue, 14 Jan 2020 00:39:26 -0500 by xgd

Spring boot 2.0 multithreading concurrent task execution

In spring boot 2.0, there are two ways to execute multithreading. One is to directly inherit the parent class Thread or implement the Runnable interface class and override the run method. The other is to annotate @ Async through the support of spring boot. First, the custom class inherits the Thread ...

Posted on Tue, 14 Jan 2020 00:02:04 -0500 by merylvingien

Introduction to Longhorn! Make persistent storage easy!

Introduction In this article you will learn how to use k3s to run Longhorn on Civo. If you haven't used Civo, you can register on the official website (https://www.civo.com/) and apply for free use quota. First, you need a Kubernetes cluster, and then we'll install Longhorn and show you how to use it ...

Posted on Mon, 13 Jan 2020 22:12:00 -0500 by dwilson

Spring boot uses quartz to dynamically add tasks

In the project, the page needs to dynamically add timed tasks and delete tasks. The practice of others is used for reference. Now the design method is recorded as follows:   1. Spring boot project directly depends on <dependency> <groupId>org.springframework.boot</groupId> ...

Posted on Mon, 13 Jan 2020 10:55:34 -0500 by csplrj

MySQL - MHA high availability cluster architecture

MHA high availability configuration and failover Article directory MHA high availability configuration and failover Preface 1, MHA features 2, Composition of MHA 3, Problems in traditional Mysql master-slave architecture 4, MHA example 1) Install MySQL database 2) Configure MySQL one master and t ...

Posted on Mon, 13 Jan 2020 07:41:12 -0500 by loganbest

Lucene full text search

1.2 the difference between database like query and full-text retrieval 1.2.1 structured data and unstructured data The data stored in the database is structured data, namely row data java, which can be logically expressed by two-dimensional table structure. The data that is inconvenient to be represente ...

Posted on Mon, 13 Jan 2020 07:07:50 -0500 by James25

Spring spring and Java Web Integration

I. overview When integrating Spring with Java Web, Spring can accomplish the following tasks: 1)Spring to control transactions (Dao jdbctemplate) 2) All components autowrapped 3) Manage database 1.1 steps of integration 1. guide pack 2. write configuration 1) add all components to the contain ...

Posted on Mon, 13 Jan 2020 02:20:50 -0500 by marty_arl