2020年4月12日

Linux (Ubuntu/CentOS) 安装 lua5.3

摘要: https://blog.csdn.net/wwchao2012/article/details/79589569 Linux (Ubuntu/CentOS) 安装 lua5.3 1 下载lua包并解压 wget -c http://www.lua.org/ftp/lua-5.3.0.tar.g t 阅读全文

posted @ 2020-04-12 14:13 jerry1111 阅读(673) 评论(0) 推荐(1) 编辑

nginx如何实现灰度

摘要: 从这个组网可以看到 https://www.cnblogs.com/takemetoyourheart/p/12684018.html , 我们需要在nginx上通过灰度策略, 使得部分测试用户可以访问到机房B,也就是灰度机房。 1、在nginx的vhost文件中 location = /rever 阅读全文

posted @ 2020-04-12 11:24 jerry1111 阅读(750) 评论(0) 推荐(0) 编辑

某系统双机房架构

摘要: 某系统双机房架构 阅读全文

posted @ 2020-04-12 10:33 jerry1111 阅读(245) 评论(0) 推荐(0) 编辑

varnish命中率统计

摘要: varnish作为一款优秀的缓存中间件,在电商网站上大量使用,可以大大加快静态页面的访问速度 那么,如何统计varnish的缓存命中率呢 1、首先必须确保日志中记录了hit or miss 需要调整启动脚本中的日志格式 ${path_varnish}/bin/varnishncsa -D -n na 阅读全文

posted @ 2020-04-12 09:39 jerry1111 阅读(213) 评论(0) 推荐(0) 编辑

mongodb小版本升级

摘要: 1、数据全量备份$sourcepath/mongodump --host $host --port $port --oplog --gzip --out ${targetpath}/${nowtime}/mg_data/mongodb-3.6.6/bin/mongodump -uroot -ppas 阅读全文

posted @ 2020-04-12 09:26 jerry1111 阅读(462) 评论(0) 推荐(0) 编辑

导航