~~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 ======
===== 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
{{: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}}