如果想在 V2EX 获得更好的推广效果,欢迎了解 PRO 会员机制:
https://www.v2ex.com/pro/about

如果你经常使用铜币置顶主题,持有 V2EX Solana Token 会在每日签到时获得额外铜币:
https://www.v2ex.com/solana
aliyun123
V2EX  ›  推广

256MB 高性能阿里云 Redis 加速 Discuz 论坛

  •  
  •   aliyun123 · May 16, 2017 · 3861 views
    This topic created in 3293 days ago, the information mentioned may be changed or developed.

    介绍 Discuz 是一个常见的论坛,支持使用 Redis 来 ji 论坛的加速访问,对于访问量比较大的论坛能够取到很好的作用,本文介绍如何使用阿里云高性价比 256MBRedis 来加速该论坛。

    阿里云 Redis 介绍 对于阿里云 256MBRedis 的介绍及应用首先可以看下这篇文章。目前活动期间用户可以享受购买一次 99 元 256MB 包年的 Redis 服务。

    Discuz 加速 配置 config_global.php 如下

    $_config['memory']['redis']['server'] = '实例 ID.rds.aliyuncs.com'; $_config['memory']['redis']['port'] = 6379; $_config['memory']['redis']['pconnect'] = 1; $_config['memory']['redis']['timeout'] = '0'; $_config['memory']['redis']['requirepass'] = 'PASSWORD'; $_config['memory']['redis']['serializer'] = 1; 配置完成之后可以在 Disuz 看到是否加速成功

    总结 云数据库 Redis 提供了方便的 Redis 云服务,通过主备来保证实例的高可用,并提供了弹性的扩展能力,用户可以按需购买使用,同时阿里云 Redis 可以作为 Disuz 进行论坛 ji 加速,为用户的高访问量保驾护航。

    4 replies    2017-05-22 21:17:49 +08:00
    aliyun123
        1
    aliyun123  
    OP
       May 16, 2017
    云数据库 Redis 版 99 元 /年首发: https://promotion.aliyun.com/ntms/act/redis256.html
    bazingaterry
        2
    bazingaterry  
       May 16, 2017
    gouchaoer
        3
    gouchaoer  
       May 16, 2017
    不错,很划算
    pxw2002
        4
    pxw2002  
       May 22, 2017
    Discuz 默认用的 myisam
    现在 rds 强制转换 rds 到 innodb
    根本没法用啊 只能 rds 迁移回 ecs 自建数据库
    我的 rds 一年的费用拜拜浪费了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:29 · PVG 03:29 · LAX 12:29 · JFK 15:29
    ♥ Do have faith in what you're doing.