定制 riesenia/cakephp-rediscluster 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

riesenia/cakephp-rediscluster

最新稳定版本:v1.0.2

Composer 安装命令:

composer require riesenia/cakephp-rediscluster

包简介

CakePHP 3.x cache engine for Redis Cluster

README 文档

README

Latest Version Total Downloads Software License

PHP library providing basic shopping cart functionality.

Installation

Install the latest version using composer require riesenia/cakephp-rediscluster

Or add to your composer.json file as a requirement:

{
    "require": {
        "riesenia/cakephp-rediscluster": "~1.0"
    }
}

Usage

Use as cache engine. For more information see CakePHP Caching.

Example configuration:

Cache::config('redis', [
    'className' => 'Riesenia/RedisCluster.RedisCluster',
    'server' => ['10.10.10.10:6379', '10.10.10.20:6379', '10.10.10.30:6379']
]);

Slave failover / distribution

Slave failover / distibution can be configured by failover configuration key. See related chapter in phpredis cluster readme.

Possible values are:

  • none (default)
  • error
  • distribute
  • slaves

统计信息

  • 总下载量: 33.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-08