Drupal is a registered trademark of Dries Buytaert

Radioactivity Redis provides a Redis-based incident storage backend for the Radioactivity module. It includes a lightweight PHP endpoint that bypasses Drupal bootstrap entirely and stores incidents in Redis, significantly reducing server load on high-traffic sites.

Radioactivity's default storage bootstraps Drupal on every page view just to record an incident. The built-in REST storage avoids bootstrap but cannot accept incidents from PHP code (addIncident() throws an exception). Redis storage combines the best of both: a fast no-bootstrap endpoint with PHP addIncident() support, allowing modules to add incident energy to entities in custom code for actions other than views.

Features

  • Lightweight endpoint that skips Drupal bootstrap
  • Supports both PhpRedis extension and Predis library
  • Incidents from both JS and PHP are stored in the same Redis list and processed together during cron
  • Full addIncident() support from PHP (unlike REST file storage)

Storage Comparison

  • Default (DB) - Full Drupal bootstrap, supports PHP addIncident(), stores in database table
  • REST (file) - No bootstrap, but addIncident() throws an exception, stores in JSON file
  • Redis - No bootstrap, supports PHP addIncident(), stores in Redis list

Requirements

Installation

There are a few extra steps to get this running than a typical module. See the README for configuration steps including Redis connection settings and .htaccess setup.

Activity

Total releases
1
First release
Feb 2026
Latest release
2 weeks ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Feb 14, 2026