Install

Works with Drupal: ^10.3 || ^11.4

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 122 KB
MD5: a10eb4d31ad78347bcba2c3d059d101e
SHA-1: bb20a6dc351f42daf6670ab4e8166fa209c42ae6
SHA-256: b2986d5ae77122d9416d5f6e4b4f42c77f9f726f16ee4e1a760b28e5fa40f967
Download zip 162.5 KB
MD5: e0d148bd7a2fa0fb46b365493d58e7fa
SHA-1: f838565a9f8aaade95d21fb8e238eafd98901886
SHA-256: 1109c771452cbf99d48075793d85b4cab7c097ded8c8a9c28ea462c780f2dd90

Release notes

First release of Redis RTT optimizer. It cuts the number of times a Drupal request waits for Redis, for deployments where the cache is a network hop away: reads Drupal issues one at a time are gathered into pipelines, compare-and-set protocols move into Lua, and render cache redirect chains are fetched in one go once their shape is known. Nothing is deferred: every write, delete and invalidation reaches Redis at the point the stock backend sends it.

Measured on warm, authenticated pages against the stock redis backend, on the code tagged here: a content listing goes from 166 round trips to 85-91, the node edit form from 61 to 31, a node view from 25 to 13. The saving is waiting on the network, so it grows with what a round trip costs; if your cache is on localhost, this module is not for you.

Requirements

  • Drupal 10.3 or later, or 11.4 or later.
  • Redis 2.x. A dependency's stability flag is not inherited, so ask for both: composer require "drupal/redis:^2.0@alpha" "drupal/redis_rtt:^1.0@beta".
  • The phpredis extension, 5.3 or newer, for the PhpRedisRtt client. The redis module's Predis client works without it, minus the two savings that depend on Lua.
  • APCu, strongly recommended.

Known limitations

  • Beta. Everything is configured in settings.php, and the settings may still change before a stable release.
  • It depends on redis 2.x, which has no stable release yet.
  • Drupal 11.0 to 11.3 are not claimed. Core 11.2 added a cache tag preload of its own that collided with this module's until the module was changed to keep out of its way, and that fix was verified on 11.4.6.
  • Drupal 12 is outside the declared range, and the test suite does not run on it yet.
  • Not covered by Drupal's security advisory policy.

Installation, configuration, a staged rollout with measurement, and the way back out are in the README.

Created by: thebrokenbrain
Created on: 17 Sep 2026 at 14:18 UTC
Last updated: 17 Sep 2026 at 14:18 UTC
New features

Other releases