很是好的redis主從高可用方案

<?php namespace think\cache\driver; use think\Cache; use think\Exception; use think\Log; /** 配置參數: 'cache' => [ 'type' => 'Redisd' 'host' => 'A:6379,B:6379', //redis服務器ip,多臺用逗號隔開;讀寫分離開啓時,默認寫A,當A主掛時,
相關文章
相關標籤/搜索