A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.


what is Redis

Redis is a key-value storage system. Similar to Memcached, it supports storing relatively many value types, including string, list, set, and zset. These data types support push / pop, add / remove, and intersection and union and difference sets and richer operations, all of which are atomic. On this basis, Redis supports […]

Setting up redis on aws EC2 instance

Setting up redis on aws EC2 instance

Launch an EC2 instance of type Amazon Linux AMI from your aws console.

SSH into your ec2 instance ssh -i ec2-user@my_ec2_ip

Update the instance sudo yum update -y

Install the developer tools to compile the redis source sudo yum groupinstall -y “Development Tools”

Install tcl sudo […]

redis 3

CentOS Redis 3 and 6.8 installed on the startup script, strong Redis is not to say, and directly see the following article explain.

Step 1: Download, compile and install

cd /opt wget

tar zxvf redis-3.2.5.tar.gz

cd redis-3.2.5

yum install -y gcc* yum install -y tcl make MALLOC=libc make make test

cd deps make […]


Centos 6.8

cd /opt wget tar zxvf redis-3.0.5.tar.gz cd redis-3.0.5 make && make install

mkdir /etc/redis mkdir /var/log/redis mkdir -p /data/redis cd /opt/redis-3.0.5 cp redis.conf /etc/redis/7963.conf vi /etc/redis/7963.conf

daemonize no port 6379 logfile “” pidfile /var/run/ # requirepass foobared dir ./ ?? daemonize yes port 7963 logfile “/var/log/redis/7963.log” pidfile /var/run/ requirepass 9k3NgZq%gO!W7x-0y=LI dir […]

How To Configure a Redis Cluster on CentOS 7

yum install gcc make cd ~ mkdir init wget tar -zxvf redis-3.2.3.tar.gz cd redis-3.2.3 make make install #cd utils #./ cd src/ cp redis-server redis-cli /usr/local/bin cp redis-sentinel redis-benchmark redis-check-aof redis-check-dump /usr/local/bin mkdir /etc/redis mkdir -p /var/lib/redis/6379

Set the vm.overcommit_memory to 1, which means always, this will avoid data to be truncated, take a […]

CentOS 7.0 Redis

1. Introduction to the redis

Redis cluster at the time of the start automatically in a number of nodes between the good film. While providing the availability between slices: when a part of the redis node failure or network interruption, the cluster can continue to work. However, when a large area of ??node failure or […]

Redis is a shallow introductory tutorial

Redis is a shallow introductory tutorial

1. Introduction to Redis

Redis is an open source using ANSI C language-based, memory-based Key-Value database.

It supports storing more value types, including string, list, set, zset (sorted collection), and hash (hash type).

Redis supports master-slave synchronization, and data can be synchronized from the master server to any number […]

HaProxy high availability cluster configuration Redis notes

HaProxy high availability cluster configuration Redis notes

Goal is to make a high-availability cluster for redis sensu use. redis cluster using Sentinel + Redis three-node configuration. Blog post before configuring details

Sentinel can be done when the master hang up automatically elect a new master, then it is not a proxy. Therefore, we need a […]