Redis缓存由Xon提供

Redis缓存由Xon提供 2.18.9

免费下载需要注册或登录
XF 兼容性
  1. 2.3.x
  2. 2.2.x
摘要
提升你的应用程序性能,使用我们的附加模块,该模块集成了Credis和自定义的Redis缓存提供者。安装phpRedis扩展以获得最佳结果。在src/config.php中启用会话配置,设置Redis服务器详情,并避免由于延迟问题而影响性能。为了实现高可用性,请使用Redis Sentinel支持。
这个插件需要Standard Library by Xon这个插件使用了Credis使用自定义缓存提供者Redis基于Cm_Cache_Backend_Redis为了最佳性能,请安装php扩展:phpredis安装
编辑 src/config.php
添加:
PHP:
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = [
    'server' => '127.0.0.1',
    'port' => 6379,
];
故障排查
请注意,Redis 在虚拟环境中对延迟非常敏感。如果遇到反复的连接失败或协议错误,请禁用任何Redis Persistence选项。读:ScalingWith the $config[]'缓存'][]'配置'][]'load_from_slave']选项,读取可以推迟到单一的从属实例。它包含了所有'配置'(除了从属配置)的选择。参见FAQ以获取配置示例。高可用性Zend 组件支持 Redis Sentinel,但不支持 Redis 的多主集群。
  • []*]此外,这个附加组件在论坛中实现了线程计数的缓存。[]*]Redis Sentinel支持高可用性(请参阅FAQ以获取详情)。
redis-options.webp

redis-stats.webp

作者
newimage
浏览
1,724
扩展类型
zip
文件大小
80.6 KB
首次发布
上次更新
评分 5.00 星 2 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

最新更新

  1. 2.18.9 - change log
    Fix XF2.3 compatibility where "Call to undefined method Symfony\Component\Cache\Adapter\RedisAdapter::getRedis()" could occur depending on exact...
  2. 2.18.8 - change log
    Fix showing an empty "maxmemory" redis info section in admincp
  3. 2.18.7 - change log
    Fix incorrect order of applying TLS options for a connection and using redis password authentication when not using phpredis extension Fix...

最新评论

  • 匿名
  • 5.00 星
  • 版本: 2.10.7 - Bugfix & Maintenance update
wonderful
  • 匿名
  • 5.00 星
  • 版本: 2.10.7 - Bugfix & Maintenance update
Xon has some of the most useful addons and this is one of them. He also has unrivaled support. Literally fixing bugs within a day.

来自 newimage 的更多资源

J-BusinessDirectory N
它是最先进的一级目录扩展插件for Joomla!
安全专业 - 全面模块 N
包含防火墙(WAF)、抗DDoS、两因素认证、暴力破解防护、抗垃圾邮件
返回
顶部