用户工具

站点工具


This document is valid for Version 0.7 of Cobub Razor.

Enable Redis in Cobub Razor

Installation

Download, extract and compile latest stable Redis with:

$ wget http://redis.googlecode.com/files/redis-2.4.17.tar.gz

$ tar xzf redis-2.4.14.tar.gz

$ cd redis-2.4.14

$ make

The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server

You can interact with Redis using the built-in client:

$ src/redis-cli

redis> set foo bar

OK

redis> get foo

"bar"

More Info : http://redis.io/

Enable Redis in Cobub Razor

1. Redis server configuration

Configure Redis server info under /application/config/redis.php

2. Enable Redis in Cobub Razor

Set redis variable to 1 to enable Redis in Razor under application/config/config.php

3. Set Redis Que Processing Interval

Razor use Redis to queue the data posted by client. You can set process queue interval under /application/config/config.php

Basic Architecture

en/razor/enable-redis-in-cobub-razor.txt · 最后更改: 2017/07/14 11:18 (外部编辑)