This bundle offers a tool to analyze your Redis instance for SPI cache in Ibexa DXP-based projects. It provides basic information about Redis instance, suggestions, or even warns about wrong configuration (maxmemory-policy). In addition, memory used by non-evictable keys can be calculated, which helps to determine if the maxmemory setting is correctly set.
Currently, a single command is available
php bin/console ibexa:redis-check
with additional options:
--calculateMemory -mwill calculate non-evictable memory. Keep in mind it can take several minutes on big databases.--format -fallowed values:text,json. Determines how the command output is formatted.
This bundle requires Ibexa DXP v3.3+
Edit config/bundles.php, and add
MateuszBieniek\IbexaDxpRedisToolsBundle\IbexaDxpRedisToolsBundle::class => ['all' => true],
at the end of the array
composer require mateuszbieniek/ibexa-dxp-redis-tools