Needs review
Project:
Radioactivity
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2011 at 18:59 UTC
Updated:
19 Dec 2016 at 15:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mstiI am also interested in this
Comment #2
playfulwolf commentedMee too, as I am using BOA Aegir, which has Redis installed and enabled by default.
Also, with (my personal) history of memcached beeing much less stable than APC - Radioactivity could have more than 1 backend to store data: APC, memcached, redis, mongo...
Comment #3
Fidelix commentedMaybe if the maintainers provided a pluggable system to store information?
I would develop the Redis plugin in that case.
Comment #4
tcmug commentedActually the memcache storage class should serve as an example how to write a Redis/Whatnot storage.
It shouldn't be actually too hard to implement.
Comment #5
hyperglide commentedCrossing linking with task #1738388: Experience Using with the BOA / Aegir Project.
Comment #6
playfulwolf commentedno news about redis/apc?
Comment #7
rodpal commentedThis would be a great feature
Comment #8
wulff commentedAFAICT, Redis support is available in the latest development version of the module.
As mentioned above, adding APC-support should be fairly simple by using the included Memcache class as a template.
Comment #9
wulff commentedI've created a quick-and-dirty patch which shows a way to add APC support to the module.
Comment #10
tcmug commentedDev version now has support for Redis, I will review the APC next
Comment #11
jfrederick commentedIn addition to supporting Redis via the PhpRedis library, could the Predis library also be supported?
Comment #12
zeip commentedAttached is a patch to support both PhpRedis and Predis libraries for Redis access.
The patch also takes the Redis module settings as defaults for Radioactivity admin settings form and adds password authentication support for the connection with both libraries.
Comment #13
mvcI've updated the above patch to set the Drupal root (since that was giving me watchdog errors in setPredisAutoload()) and to bootstrap the redis settings a little better. Works for us using PhpRedis.
Comment #14
alansaviolobo commentedupdated patch as a git diff.
Comment #15
mohit_aghera commentedChanging path of predis library in #14
sites/all/libraries/predis/lib/tosites/all/libraries/predis/src/Comment #16
socialnicheguru commentedpatch -p1 < radioactivity-predis-support-1284228-15.patch
patching file includes/RadioactivityRedisIncidentStorage.inc
patching file radioactivity-admin-ui.inc
Hunk #1 succeeded at 144 (offset 11 lines).
Hunk #2 succeeded at 152 (offset 11 lines).
Hunk #3 succeeded at 175 (offset 11 lines).
Hunk #4 succeeded at 263 with fuzz 1 (offset 12 lines).
patching file radioactivity-bootstrap.inc
patch: **** malformed patch at line 168: @@ -53,6 +58,11 @@ function _radioactivity_light_initialization() {
Comment #17
mvcCleaned up patch from #15; now works with git apply.