用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
en:razor:enable-redis-in-cobub-razor [2015/03/19 15:25]
cobub created
en:razor:enable-redis-in-cobub-razor [2017/07/14 11:18] (当前版本)
行 1: 行 1:
 +~~Title:​Cobub Razor Enable Redis in Cobub Razor - Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~
 +{{description>​Cobub Razor is an Open Source Mobile Analytics. Download, extract and compile latest stable Redis with:.}}
 +{{keywords>​Cobub Razor,open source mobile analytics,​mobile analytics,​mobile app analytics, redis}}
 +
 ====== Enable Redis in Cobub Razor ====== ====== Enable Redis in Cobub Razor ======
 ===== Installation ===== ===== Installation =====
 +Download, extract and compile latest stable Redis with:
 +<​code>​$ 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</​code>​
 +The binaries that are now compiled are available in the src directory. Run Redis with:
 +<​code>​$ src/​redis-server</​code>​
 +You can interact with Redis using the built-in client:
 +<​code>​$ src/​redis-cli
 +
 +redis> set foo bar
 +
 +OK
 +
 +redis> get foo
 +
 +"​bar"</​code>​
 +More Info :  http://​redis.io/​
 ===== Enable Redis in Cobub Razor ===== ===== Enable Redis in Cobub Razor =====
 +1. Redis server configuration
  
-===== Basic Architecture =====+Configure Redis server info under /​application/​config/​redis.php 
 +{{:​en:​razor:​20150319-074355.png}}
  
 +2. Enable Redis in Cobub Razor
 +
 +Set redis variable to 1 to enable Redis in Razor under application/​config/​config.php
 +{{:​en:​razor:​20150319-074409.png}}
 +
 +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
 +{{:​en:​razor:​20150319-074423.png}}
 +===== Basic Architecture =====
 +{{:​en:​razor:​20150319-074549.png}}
en/razor/enable-redis-in-cobub-razor.1426749956.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)