Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Radioactivity for large projects:
http://drupal.org/project/redis
http://drupal.org/project/mongodb
Is it possible? What's needed to achieve this?
Thank you!
Comment | File | Size | Author |
---|---|---|---|
#17 | radioactivity-predis-support-1284228-17.patch | 8.8 KB | mvc |
#9 | add-apc-support-1284228-9.patch | 2.96 KB | wulff |
Comments
Comment #1
mstiI am also interested in this
Comment #2
PlayfulWolf CreditAttribution: 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 CreditAttribution: Fidelix commentedMaybe if the maintainers provided a pluggable system to store information?
I would develop the Redis plugin in that case.
Comment #4
tcmug CreditAttribution: 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 CreditAttribution: HyperGlide commentedCrossing linking with task #1738388: Experience Using with the BOA / Aegir Project.
Comment #6
PlayfulWolf CreditAttribution: PlayfulWolf commentedno news about redis/apc?
Comment #7
rodpal CreditAttribution: rodpal commentedThis would be a great feature
Comment #8
wulff CreditAttribution: 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 CreditAttribution: wulff commentedI've created a quick-and-dirty patch which shows a way to add APC support to the module.
Comment #10
tcmug CreditAttribution: tcmug commentedDev version now has support for Redis, I will review the APC next
Comment #11
jfrederick CreditAttribution: jfrederick commentedIn addition to supporting Redis via the PhpRedis library, could the Predis library also be supported?
Comment #12
ZeiP CreditAttribution: ZeiP at Avoltus Oy for City of Turku 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 CreditAttribution: alansaviolobo at Axelerant commentedupdated patch as a git diff.
Comment #15
mohit_aghera CreditAttribution: mohit_aghera as a volunteer and at Axelerant commentedChanging path of predis library in #14
sites/all/libraries/predis/lib/
tosites/all/libraries/predis/src/
Comment #16
SocialNicheGuru CreditAttribution: 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.