iOS uses scripting to automate target replication

When some projects are mature, there will be a need to automate configuration to generate a completely new project, no need for developers to manually modify the project files, and transfer the configuration work directly to operations and maintenance or the configuration team In fact, it is common practice to just change the target duplicate ...

Posted on Wed, 01 Jul 2020 12:17:15 -0400 by phpjaco

Super detailed construction of Redis cluster under Linux (centos7)

This blog is based on the single node installation of redis. If you have not installed a single node small partner, please refer to this blog: https://blog.csdn.net/weixin_44422604/article/details/106876756 1, Building a redis cluster (cache cluster) 1. The redis on node1 has been installed. Now, stop ...

Posted on Thu, 25 Jun 2020 01:52:30 -0400 by Spaceman-Spiff

Site building tutorial from 0

Write in front I planned to write a website building tutorial a long time ago. As the end of the term has been delayed until now, the memory of website building has also been blurred because of the test points. However, I try to build a website step by step from 0 and solve the problems. Final results ...

Posted on Tue, 23 Jun 2020 00:47:33 -0400 by FredAt

Detailed explanation of Dubbo SPI mechanism

From the principle of java spi in the previous article, we can see that java spi mechanism has the following disadvantages: You can only traverse all implementations and instantiate them all. The configuration file simply lists all the extension implementations without naming them. It makes it di ...

Posted on Wed, 17 Jun 2020 01:21:18 -0400 by Rineru

2. redis cluster configuration

2. redis cluster configuration reference resources: The construction and practice of Redis Cluster Redis cluster construction and simple use 2.1 environment configuration The redis installation package contains redis-trib.rb, which is used to create a cluster and copy the script to / usr/local/bin /. In this way, you can call this comman ...

Posted on Thu, 30 Apr 2020 11:07:20 -0400 by bagsobrands

Sleuth link tracking of Spring Cloud series

This article is a series of articles. For those who haven't read the previous episodes, please jab here: Sleuth link tracking of Spring Cloud series (1) Sleuth link tracking of Spring Cloud series (2) This article explains how Sleuth uses elastic search, Logstash, and Kibana to analyze tracking data.    Use ELK to analyze tracking data    ...

Posted on Tue, 28 Apr 2020 22:04:34 -0400 by Static Cling

Several methods to judge whether a number is a prime number

Method 1: exhaustively judge whether a number is a prime number Given a number n, starting from 2, we can automatically increase x to determine whether n is divided by X. x can be increased to the square root of N at most, because if there is a value greater than n that can be divided by N, then its quotient must be the value less than the squa ...

Posted on Sun, 05 Apr 2020 01:58:49 -0400 by johncrook

Profile Yaml

Yaml I. Introduction (1) YAML language (pronunciation / ˈ j æ m ə l /) is designed to facilitate human reading and writing. It is essentially a general data serialization format. (2) Basic rules Case sensitive Use indents to represent hierarchy Tab is not allowed when indenting, only spaces are allowed. ...

Posted on Thu, 02 Apr 2020 02:46:40 -0400 by frog_

Python dictionary notes

I. dictionary 1. The function is the same as the list function 2. Use in or not in to determine whether the index exists birthdays = {'Alice': 'Apr 1', 'Bob': 'Dec 12'} 'Alice' in birthdays # True 'Jack' in birthdays # False 3. Use values() to get all values spam = {'color': 'red', 'age': 42} spam # {'red', 42}, you can use for loop travers ...

Posted on Tue, 31 Mar 2020 04:41:28 -0400 by adamjblakey

redis cluster: manual and automatic

Manual creation: Environment description: A machine starts up six nodes, three master nodes and three slave nodes.Installation:tar -zxvf redis-3.2.10.tar.gzmv redis-3.2.10 /usr/local/redisyum install gcc* tcl -ymake && make testModify profile:vi /usr/local/redis/redis.conf **Where to change** daemonize yes port 7000 cluster-enabled yes ...

Posted on Sun, 15 Mar 2020 15:24:32 -0400 by leafface