Source code analysis of redis

Http://blog.csdn.net/yanghehong/article/details/6074472 Comprehensive but not detailed analysis: redis: under the hood   Redis string implementation: http://code.google.com/p/redis/wiki/HackingStrings   Redis event Library:

Redis sorting [reprinted]

This articleArticleRedis supports sorting list, set, and sorted set elements. The complete command format of the sort command is as follows:Sort key [by pattern] [limit start count] [get pattern] [ASC | DESC] [Alpha] [store dstkey]The following

Redis configuration details

Configure redis You can run the redis-server command to directly start the service without any configuration information. All configurations use the default settings. To enable the configuration file, you can append the absolute path of the

Redis Practice Notes

I recently practiced redis In the project. I have encountered and solved several problems in the process and recorded them.      Why redisOur project is an improvement to the original cache system. The application scenarios are Forum posts,

Performance testing: redis performance testing of tens of millions of data volumes

Performance testing of tens of millions of redis data volumesWe can guess that there will also be a redis 2.2.1 test, the same test environment, 1 K data volume, using servicestack. the redis client performs the following test: 1) set operation 2)

Redis sorted set source code analysis

Sorted set in t_zset.c file. Insert operation: Zaddcommand -----> detail {zzlfind {detail {zzlinsert -------- {ziplist: http://blog.nosqlfan.com/html/3919.html -------- {zzlgetscore -------- {zzlinsertat detail {ziplistpush detail {ziplistinsert

Case: redis is used to store attention relationships)

RedisApsaradb for redis provides a wide range of data types. Compared with relational databases or simple key-value storage (such as memcached), apsaradb for redis data models are more similar to actual data models. For exampleFriend relationshipThe

Redis capacity and usage Plan)

ArticleDirectory 1. Schema 2. capacity and bandwidth Planning 3. Performance planning (QPS) 4. scalability Summary The author of this article is timyang from Sina Weibo.RedisI have done some tests and research. This is a

8. Master-slave replication of redis Study Notes

Redis master-slave replication is easy to configure and use. Master-slave replication allows multiple slave servers to have the same database copies as the master server. The following are some features of redis master-slave replication: 1. The

V. redis Pipeline

Redis is a CS-mode TCP server that uses a request response protocol similar to HTTP. A client can initiate multiple request commands through a socket connection. After each request command is sent, the client usually blocks and waits for the redis

1. Set up the redis Environment

1. introduction redis is an open-source key-value database. It is often considered a Data Structure server. Because its value includes not only the basic string type but also the list, set, sorted set and hash types. Of course, all the elements

Redis data types and operations

This article by larrylgq prepared, reproduced please note the Source: http://blog.csdn.net/larrylgq/article/details/7399769 Author: Lu guiqiang Email: larry.lv.word@gmail.com Strings type The string type is binary secure. Redis strings can contain

Full integration of redis and spring

From: http://www.cfanz.cn /? C = article & A = read & id = 32677 Reference http://www.open-open.com/lib/view/open1351324403395.html Spring http://www.open-open.com/lib/list/354Data redis implements a subscription/Release System Spring

Why use redis and its product positioning [reprinted]

Problems with traditional MySQL + memcached Architecture MySQL is suitable for storing massive data. Many companies have used this architecture to load hotspot data to the cache through memcached to accelerate access. However, as the business data

Redis info parameter description

Redis_version: 2.4.16 # redis versionRedis_git_sha1: 00000000Redis_git_dirty: 0Arch_bits: 64Multiplexing_api: epollGcc_version: 4.1.2 # GCC versionProcess_id: 10629 # ID of the current redis server processUptime_in_seconds: 145830 # running time

Install and use redis in Windows

The downloaded Windows version is a redis-2.0.2, decompress it to drive D: D: \ redis-2.0.2 The directory contains the following files: Redis-server.exe: Service Program Redis-check-dump.exe: Local database check Redis-check-aof.exe: Update log

Explanation of the redis configuration file

Reprinted from: http://www.cnblogs.com/daizhj/articles/1956681.html to some configuration options made some instructions I have read the configuration item from top to bottom. I have a general understanding of it. For now, I still cannot use some

Implementation of redis Snapshot

Redis Snapshot In the previous article, we learned how to implement redis Aof. In this article, we will learn another persistence method of redis: snapshot ).Like in the previous article, we will first introduce the relevant parameters, and then

Learning redis source code [hash dictionary]

Introduction Redis hash dictionary uses the key value to find the corresponding value. Note how the redis dictionary performs rehash.Source code dict. h dict. c Data Structure As shown in, the hash dictionary is represented by a dict struct, which

Learning Redis source code [network communication framework]

Introduction The first two articles mainly introduce the epoll and socket encapsulation of redis. This article will introduce in detail the specific implementation of redis network communication. Simply put, redis's network communication mainly

Total Pages: 315 1 .... 196 197 198 199 200 .... 315 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.