High availability based on mysql and solve its stickiness

High availability based on mysql Based on the previous experiment, this experiment added the resource group of the last time. Shut down the apache service. Server (since the disk is shared, only one server needs to load resources): pcs stonith delete apache_group ##Delete resource group ...

Posted on Fri, 01 Nov 2019 11:48:19 -0400 by Simbachips

Talk about dubbo's MonitorFilter

order This paper mainly studies the monitor filter of dubbo MonitorFilter dubbo-2.7.2/dubbo-monitor/dubbo-monitor-api/src/main/java/org/apache/dubbo/monitor/support/MonitorFilter.java @Activate(group = {PROVIDER, CONSUMER}) public class MonitorFilter extends ListenableFilter { private static final Logger logger = LoggerFactory.getLogger(Mo ...

Posted on Fri, 01 Nov 2019 08:48:37 -0400 by FrobinRobin

[CentOS 7 architecture 8], domain name jump#

shallow A kind of ove Domain name jump As required, the domain name of 123.com will jump to www.123.com, and the configuration is as follows: <VirtulHost :80> DocumentRoot "/data/wwwroot/www.123.com ServerName www.123.com ServerAlias 123.com < ifmodule mod? Rewrite. C > requires mod? Rewrite Module Support RewriteEngine on? O ...

Posted on Fri, 01 Nov 2019 03:37:56 -0400 by Fly

Big data case - MapReduce's reduce end table consolidation (data skew)

Code download address: https://github.com/tazhigang/big-data-github.git I. demand: merge the data in the commodity information table into the order data table according to the commodity id II. Data preparation Data preparation: ==============================order.txt==================================== 1001 01 1 1002 02 2 1003 03 3 1001 0 ...

Posted on Thu, 31 Oct 2019 17:03:26 -0400 by mfallon

Internationalization of struts 2

Internationalization: internationalization (I18n) The page can be switched between Chinese and English Step 1: create two new profiles first To switch the configuration of Chinese To switch English configuration _EN us.properties, which is the specification, must be written in this way, xx custo ...

Posted on Thu, 31 Oct 2019 14:47:55 -0400 by vicodin

SpringBoot take off series - Custom starter

I. Preface Up to now, we can see that if we want to use some functions, they are basically used by adding spring boot starter, because all kinds of functions are encapsulated as starters, and then the relevant services are injected into the container, then if we want to use some of our own functions, we need to write a custom starter, so Today ...

Posted on Thu, 31 Oct 2019 14:27:37 -0400 by despyz

Mavenmaven common build commands

Four build commands have been contacted in Maven (2), and there are still clean and install, with the emphasis on install. MVN - V view maven version MVN compile MVN test MVN package MVN clean delete target MVN install install jar package to local warehouse I. create classes and test classes package com.maven02.util; import c ...

Posted on Thu, 31 Oct 2019 10:33:29 -0400 by Genux

Spring cloud rapid building of registry

Article directory 1. Scene description 2. Solutions 2.1 introduction to springcloud 2.2 project construction 2.3 configuration file pom.xml 2.4 application startup class 2.5 application.yml file 2.6 start application 1. Scene description Spring cloud provides a set of feasible solutions to bui ...

Posted on Thu, 31 Oct 2019 00:36:47 -0400 by chalbing

typeHandlers of MyBatis

typeHandlers type processor To realize the conversion between java type and database type, you can use the type processor provided by the system, or you can customize the type processor. This paper introduces the implementation of the conversion between database type and java type by using the customi ...

Posted on Wed, 30 Oct 2019 12:27:19 -0400 by twilliamson

RocketMQ4.4 log (Find Filter Server Failed) FiltersrvStartup

RocketMQ supports the syntax specification of SQL92, but when message filter is used, messages cannot be filtered normally. //The signature method of DefaultMQPushConsumer uses MessageFilter to implement class filtering of messages public void subscribe(String topic, String fullClassName, String fil ...

Posted on Wed, 30 Oct 2019 12:08:03 -0400 by NoPHPPhD