Role application of Ansible automatic operation and maintenance playbook (deploying apache and zabbix)

I. Preface About roles Roles can be automatically installed in variable files, tasks, handlers, etc. according to the hierarchical structure. To use roles, you only need to use the include instruction in the playbook. In short, roles is a mechanism that can easily include variables, files, tasks, t ...

Posted by qistoph on Sun, 19 Jan 2020 03:24:48 -0800

Talk about handleRegularMessage of artemis ClientConsumer

order This paper mainly studies handleRegularMessage of artemis ClientConsumer handleRegularMessage activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java public final class ClientConsumerImpl implements ClientConsumerInternal { //...... private final PriorityLinked ...

Posted by wafawj on Sat, 18 Jan 2020 07:50:51 -0800

Spring cloud Alibaba 4. Using Nacos as the distributed configuration center

1, Description of Nacos distributed configuration center 1. What are the mainstream configuration centers? 1. Spring cloud config. It comes with spring cloud. It is not friendly. There is no background management. You can directly use git/svn to manage files 2. Apollo: too heavy, difficult to deploy ...

Posted by mrodrigues on Sat, 18 Jan 2020 05:31:38 -0800

Sharding sphere version 4.0.0-rc1 is divided into annual tables (later optimization)

1. Sharding sphere version 4.0.0-rc1 is divided into annual tables (to be optimized later) 1.1. overview As for the tables of LogShardingAlgorithm in the previous article, I used to initialize them when I called for the first time. Although this can realize the function, I would use this if judgment every time I called. Although the performance ...

Posted by nubby on Fri, 17 Jan 2020 22:01:28 -0800

sed stream editor: a powerful tool of Shell script

One of the core ideas of Linux is that everything is a file. Among these files, the text file plays an important role. All the changes of system settings, the adjustment of software parameters, and the most basic command-line operation are the operation of "text". To manipulate text, you can't ...

Posted by DeGauss on Fri, 17 Jan 2020 21:15:47 -0800

The trap of Broadcast Join in SparkSql 2.x (hint does not work)

Problem description Use hint to specify the broadcast table, but cannot perform the specified broadcast; preparation in advance hive> select * from test.tmp_demo_small; OK tmp_demo_small.pas_phone tmp_demo_small.age 156 20 157 22 158 15 hive> analyze table test.tmp_demo_small compute statis ...

Posted by cbullock on Fri, 17 Jan 2020 06:02:22 -0800

Flink of big data learning

Catalog   1: Introduction 2: Why Flink 3: What industries need 4: Features of Flink 5: The difference with sparkStreaming 6: Preliminary development 7: Flink configuration description Eight: Environment 9: Running components 1: Introduction Flink is a framework and distributed com ...

Posted by stodge on Fri, 17 Jan 2020 01:18:24 -0800

Complete Debian 7 configuration LAMP (Apache/MySQL/PHP) environment and building station - 2015

Learn from this In this article, I will share my other favorite DEBIAN system environment. It may be preferred by novices One click installation package , but this step installation is more clear about what you need to install, and it can save resources. Some components do not need to be installed, ...

Posted by l3asturd on Thu, 16 Jan 2020 09:27:57 -0800

Feign call error: failed and no fallback available

timed-out and no fallback This error basically occurs in the Hystrix fuse. The function of the fuse is to determine whether the service can be connected. If it is connected, it doesn't matter. If the call exceeds the time limit within the specified time, it will return an error through the fuse. Generally, you can set one of the following confi ...

Posted by Simbachips on Thu, 16 Jan 2020 07:41:32 -0800

Tomcat Server Varnish Proxy Server

Tomcat Server Overview Introduction to Java Java is a cross-platform, object-oriented programming language. Java technology has excellent versatility, efficiency, platform portability and securitysystem Java SE (Standard Edition) Java EE (Enterprise Edition) Introduction to JDK JDK(Java Devel ...

Posted by L0j1k on Wed, 15 Jan 2020 17:40:27 -0800