Discussion on the applicability of Hadoop, Spark, HBase and Redis (full text)
2014-06-15 11:22:03
url:http://datainsight.blog.51cto.com/8987355/1426538
Recently on the web, I saw a discussion about the applicability of Hadoop [1]. Think of this
Experimental analysis of experimental data experimental results
1 Experimental data
Redis takes a tool called Redis-benchmark to simulate N clients and send m requests at the same time. The experiment was carried out as the following comparison test:
pressure measurement Business process: to obtain the country-wide regional information, the first access to information from MySQL, access to information after Hset to Redis, after the acquisition of information are gone Redis get and return
As a key-value (Key-value) database with superior performance, Redis supports a variety of data structures. There are several strings–list–set–sorts Set–hash. It is necessary to understand common operations. Strings
Strings: Strings are binary safe,
Redis Publications and subscriptions (pub/sub)
This document is translated from: Http://redis.io/topics/pubsub.
The SUBSCRIBE, unsubscribe, and PUBLISH three commands implement the publish and subscribe information generics (publish/subscribe
First, the question
The amount of data per query is enormous and requires the server to respond to user requests more quickly.
Second, the solution
1. Cache database data via the high-speed server cache
2. In-Memory database
Third, mainstream cache
A Installation and startup of Redis (for example, Linux's Ubuntu version of the operating system)
1. Redis Download: $ wget http://download.redis.io/releases/redis-2.8.3.tar.gz
2. Unzip the file under the Redis folder: $ make3. Start Redis Service: $
NoSQL Introduction to NoSQL: A new type of database (not only SQL)
A non-relational database
SQL syntax not supported
The storage structure is completely different from the relational table in the traditional relational database,
The connection between Docker containers can be a lot of convenience, and the following records how the Redis container connected to it is connected through environment variables within its own container.Start with a Redis docker container named
Redis Purge DataOne of the places where Redis is better than memcache is that if memcache, I'm afraid I have to turn off the reboot. 1 Use CLIFLUSHDB to clear a database, Flushall erase the entire redis data. 2 using shell redis-cli keys "*" |
In the previous article we wrote the Redis task queue.In addition to implementing the task queue, Redis also provides a set of commands that enable developers to implement the Publish/subscribe (publish/subscribe) mode . The "Publish/subscribe" mode
First, Redis Sentinel is a Redis-enabled cluster management tool with the main features· Monitoring (Monitoring): Redis Sentinel monitors the primary server and the running state from the server in real time.· Reminder (Notification): When a problem
Windows command line launches Redis client
1. Use the default IP address and port to connect to the Redis database (IP address: 127.0.0.1, port number 6379)Redis-cli2. Connect to the Redis database using the specified IP address and
Min Qifeng
Email: [email protected]
Blog: http://blog.csdn.net/qifengzou
Date: 2014.10.11
Reprinted, please indicate the csdn blog from "Qi Feng"
1. Overview
The string data type is the simplest and most basic data type in redis.
Redis shutdown command
/Usr/local/redis-cli-H 127.0.0.1-P 6379 shutdown to shut down the redis server. Be sure to specify the IP address and port of the redis server to be shut down.
The following references the original author's document original
There is also a background service concept in the redis system. The background service and background thread mainly act as background I/O service in redis. With the support of background threads, the execution efficiency of the system will
This is the keys list of the redis official documentation.
(1) set key value -- set a key to a value
(2) Get key -- get the set value
(3) DEL key -- delete the set key
(4) expire key seconds -- set the time when the key value exists
(5) expireat
Labels: software uses Gen to improve highlights and improve implementation of many large websites that do not execute
1. What is redis?
Redis is a memory-based high-speed cache database developed by Salvatore sanfilippo (Network Name: antirez.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service