上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: 一、RDB快照 1、概念 默认的持久化方案。 在指定时间间隔内,执行指定次数的写操作,则会将内存中的数据写入到磁盘中。 在指定目录下生成一个dump.rdb文件。 重启会通过加载dump.rdp文件恢复数据。 2、对应配置参数 save <seconds> <changes> eg: save 90 阅读全文
posted @ 2020-02-17 15:24 wukong1688 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 一、概念 1)事务的本质是一组命令的集合。 事务支持一次执行多个命令,一个事务中所有命令都会被序列化。 Reis事务是一次性、顺序性、排他性的执行一个队列中的一系列命令。 阅读全文
posted @ 2020-02-17 15:04 wukong1688 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 一、键 是否存在exists 删除del 设置过期时间expire expireat pexpire pexpireat 设置永不过期persist 重命名rename renamenx 查询过期时间ttl 查询类型type 序列化dump 反序列化restore 排序sort 二、字符串Strin 阅读全文
posted @ 2020-02-17 14:49 wukong1688 阅读(79) 评论(0) 推荐(0) 编辑
摘要: thinkphp5 单入口多个模块绑定和路由开关 index.php 入口代码如下: // 定义应用目录 define('APP_PATH', __DIR__ . '/../app/'); require __DIR__ . '/../thinkphp/base.php';// 加载框架基础文件 / 阅读全文
posted @ 2020-02-14 20:21 wukong1688 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 幂等性、最终一致性 消息队列(性能、可靠性、可扩展性): Kafka(8W/s,不可靠、集群)、 rabbitMQ(4W/s,可靠、集群)、 redis(8W/s,不可靠、集群)、 beanstalkd(8W/s,可靠、需要手动构建集群,轻量级)、 阅读全文
posted @ 2019-12-20 23:08 wukong1688 阅读(686) 评论(0) 推荐(0) 编辑
摘要: [高并发]Beanstalkd消息中间件使用 阅读全文
posted @ 2019-12-20 22:39 wukong1688 阅读(196) 评论(0) 推荐(0) 编辑
摘要: [高并发]Redis 集群搭建步骤 阅读全文
posted @ 2019-12-20 22:29 wukong1688 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1、nginx 配置 server { listen 80; server_name laravel5-test.d.com; charset utf-8; location / { root D:/***/www/test/laravel55-test/public; index index.ph 阅读全文
posted @ 2019-12-19 11:12 wukong1688 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 可能解决方法如下:1、Nginx在配置文件中添加location / { try_files $uri $uri/ /index.php?$query_string; }2、app/storage的写入权限chmod -R 777 app/storage 3、在根目录使用php artisan en 阅读全文
posted @ 2019-08-06 21:10 wukong1688 阅读(306) 评论(0) 推荐(0) 编辑
摘要: dGhpcyBpcyBhIGV4YW1wbGUKYmIxMjMxMjNACgoxNjMKCmFhMzA2MzA2 阅读全文
posted @ 2019-07-29 15:00 wukong1688 阅读(99) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页