Stack Matrix Hub (8)
Redis Object Cache & wp_options Autoload Hygiene
Keep autoloaded wp_options under 800 KB and offload vendor commission transients into local Redis 7.
-74% MariaDB reads · <800 KB autoload · 512 MB Redis
Eliminating Autoload Bloat in Multi-Plugin Marketplaces
Multi-vendor sites commonly stack 35 to 55 WooCommerce plugins (shipping tables, tax connectors, Stripe Connect, SEO). Left unchecked, wp_options autoload size exceeds 4 MB and gets copied into every single PHP worker on every request.
Redis Prefixing & Eviction Policy
Set maxmemory-policy allkeys-lru in Redis and define WP_REDIS_PREFIX plus WP_REDIS_MAXTTL = 86400 inside wp-config.php so stale seller analytics transients expire automatically without starving cart sessions.
Measured Thresholds & Configuration
| Store Scale | Autoload Ceiling | Redis maxmemory | Serializer |
|---|---|---|---|
| 10-60 Sellers | < 600 KB | 256 MB | php / igbinary |
| 120-400 Sellers | < 800 KB | 512 MB - 1 GB | igbinary + zstd |
| 650-1,000 Sellers | < 1 MB | 2 GB | igbinary + zstd |