How to build Redis cluster?

Article directory Preface I. environment 1.1: Environment 1.2: purpose of the experiment 2: Experimental process 2.1: deployment of Redis from master-slave server 2.2: master-slave server configuration file modification 2.3: install rvm and RUBY control cluster software on the main server 2.4: th ...

Posted by minou on Fri, 07 Feb 2020 23:20:53 -0800

Redis details - cluster

Redis details (7) - cluster Before version 3.0 of redis, high availability (HA) can be achieved through Redis Sentinel. After version 3.0, Redis Cluster was officially launched. Its main purpose is to achieve data sharding, but it can also achieve ha, which is currently recommended by the government. In the Redis Sentinel mode, each node needs ...

Posted by gardnc on Mon, 03 Feb 2020 06:59:45 -0800

while loop of python learning notes

python learning notes (8) while loop 1. while cycle In the previous blog, we have learned about the for loop. Here we introduce another loop, while. The syntax of while is very simple. According to its English definition "when...", as long as the following conditional statements of while are ...

Posted by SheepWoolie on Thu, 30 Jan 2020 03:29:17 -0800

Java programming idea enumeration type

Java programming idea enumeration type Basic enum characteristics Call the values() method of enum to traverse the Enum instance. The values method returns the Enum instance array, and the elements in the array are strictly kept in the order when they are declared in enum public enum Shrubbery { ...

Posted by orionblue on Sun, 12 Jan 2020 07:10:41 -0800

Install Grok Debugger locally

1.Ruby installation. Note: do not use the latest 2.2 or 2.3 version of ruby. Some components may not be installed yum -y install openssl-devel gcc wget https://ruby.taobao.org/mirrors/ruby/2.1/ruby-2.1.7.tar.gz tar zxf ruby-2.1.7.tar.gz cd ruby-2.1.7 ./configure --prefix=/usr/local/ruby2.1.7 make && make install echo ...

Posted by minifairy on Sat, 04 Jan 2020 09:06:08 -0800

react short book project

Header For fear of style conflicts among components, install the following for management npm install styled-components First, change index.css to style.js. If you want to set global variables, such as reset, then import {injectGlobal} from 'styled-components'; injectGlobal` html, body, div, span, applet, object, ...

Posted by comicrage on Sat, 04 Jan 2020 02:42:24 -0800

redis cluster configuration under Windows

Copy 6 copies of redis and modify each configuration file (redis.windows.conf) cluster1 To configure bind 192.168.1.223 port 6111 loglevel notice logfile "D:/develop/redisClusterMS/Redis -clu -1/redis6111_log.txt" appendonly yes appendfilename "appendonly.6111.aof" cluster-enabled yes ...

Posted by ac1dsp3ctrum on Fri, 03 Jan 2020 00:09:40 -0800

Redis cluster deployment

Experimental environmentSimulate 6 servers with 2 servers (add network card) Primary server Redis1:ens33: 192.168.52.150ens36: 192.168.52.153ens37: 192.168.52.154From server Redis2:ens33: 192.168.52.148ens36: 192.168.52.155ens37: 192.168.52.156 Install Redis on both servers [root@localhost ~]# yum install gcc gcc-c++ make -y ##Install envir ...

Posted by nostradamus on Mon, 30 Dec 2019 06:33:27 -0800

Write Visual Studio Code syntax highlighting plug-in for new language on December 24, 2017

Source library of this article: program-in-chinese/quan4-highlighter Syntax highlighting is a basic function of a development environment. This paper attempts to use the previous "circle 4" language (see details The implementation of "cycle 4" by Antlr4+JavaScript in programming language experiment )Write a highlighted plug- ...

Posted by shae marks on Sun, 24 Nov 2019 09:45:47 -0800

Take you to set up your own virtual machine and Redis cluster environment, which is worth collecting!

Preface: We've seen a lot of articles analyzing the use or principles of Redis, but the introduction to a complete set of independent redis cluster environments is not much or not detailed enough. Then, this paper will take you hand to set up a Redis cluster environment, Redis cluster in the company's internal production environment, mostly bu ...

Posted by methodman on Tue, 19 Nov 2019 18:23:55 -0800