自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

原创 openrestry的安装和lua使用

openrestry的安装和lua使用安装lua的运用安装wget https://openresty.org/download/openresty-1.15.8.3.tar.gztar xvf openresty-1.15.8.3.tar.gzcd openresty-1.15.8.3/./configure --prefix=/usr/local/openrestymake && make installlua的运用学习一下:http://www.ttlsa.com/

2020-06-11 15:57:17 548 1

原创 服务器运维常规检查

服务器运维常规检查内存统计进程共占用内存百分比docker容器检查内存统计进程共占用内存百分比ps -aux | grep -E "/bin/celery" | grep -v grep | awk '{total+=$4};END {print total}'注意检查服务器一些历史依赖进程,如遗弃的install/build操作。node和flutter。僵尸进程gradle守护进程工作容器: android-work无工作时的正常资源占用:出现差时异常占用,建议检查

2020-06-10 15:20:17 897

原创 golang镜像开发基础配置操作

golang镜像开发基础配置操作使用alpine基础镜像切阿里源sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories;apk add --no-cache ...挂golang代理go env -w GO111MODULE=ongo env -w GOPROXY=https://goproxy.io,direct...

2020-06-08 14:50:36 505

原创 Mac好用的shell管理软件

Mac好用的shell管理软件FinalShell效果展示windows可以使用xshell方便管理终端mac可以使用该款工具管理终端,对运维工程师及为推荐FinalShell官网网址: http://www.hostbuf.com/下载介绍:http://www.hostbuf.com/t/988.htmlmac版下载地址:http://www.hostbuf.com/downloads/finalshell_install.pkg(点击链接直接下载)效果展示...

2020-06-03 11:47:55 3303

原创 golang和pypy效率测试

golang和pypy效率测试测试代码对比结果测试代码python# -*-coding:utf-8 -*-import timet = time.time()for i in range(10**8): continueprint("循环耗费时间:{}".format(time.time() - t))golangpackage mainimport ( "fmt" "math" "time")func main() { start := ti

2020-06-03 10:48:23 545 1

原创 docker部署npm私有仓库verdaccio

docker部署npm私有仓库verdaccio使用私有仓库缓存效率对比标记版本使用Docker运行VerdaccioDocker自定义端口配置Docker中使用HTTPSDockerCompose部署Verdaccio集成ldap官方文档: http://verdaccio.org/docs/en/docker.htmlgit地址:https://github.com/verdaccio/verdacciohub地址:https://hub.docker.com/r/verdaccio/verda

2020-06-03 10:43:30 1638

原创 RabbitMQ相关操作及监控指标

RabbitMQ相关操作及监控指标运维操作监控指标[Cluster-wide Metrics](https://www.rabbitmq.com/monitoring.html#cluster-wide-metrics)[Node Metrics](https://www.rabbitmq.com/monitoring.html#node-metrics)[Individual Queue Metrics](https://www.rabbitmq.com/monitoring.html#queue-met

2020-06-03 10:27:47 3219

原创 django+gunicorn部署web及性能测试

django+gunicorn部署web及性能测试部署性能测试runserver 方式压测结果gunicorn + gevent (4个worker)gunicorn + gthread (4个worker, --threads=50)gunicorn + gthread + CONN_MAX_AGE(4个worker, --threads=50)gunicorn+gevent+CONN_MAX_AGE(4个worker)部署pip换国内源mkdir ~/.pip && touch

2020-06-03 10:04:36 562 1

原创 gradle打包android注意事项

gradle打包android注意事项生成签名gradle切国内源Dockerfiledocker-compose打包命令GradleDaemon(守护进程)生成签名keytool -genkey -alias duanyiwen -keyalg RSA -validity 20000 -keystore duanyiwen.jks密码相关:dyiwen组织相关:dyiwen配置文件:./app/build.gradleandroid { compileSdkVersion 26

2020-06-03 09:46:05 347

原创 json序列化效率对比

json序列化效率对比测试代码结果测试代码python#encoding:utf-8import ujsonimport jsonimport timedef cost_time(func): def inner(*args, **kwargs): start_time = time.time() result = func(*args, **kwargs) stop_time = time.time() pri

2020-06-03 09:29:27 1164

原创 jenkins集成pytest-allure统计测试用例

jenkins集成pytest-allure统计测试用例安装allure2命令行工具安装pytest,python-allure本地测试jenkins集成allure官方github:https://github.com/allure-framework/allure2release下载地址:https://github.com/allure-framework/allure2/releases安装allure2命令行工具#下载wget https://github.com/allure-fr

2020-06-02 15:39:46 1100

nginx镜像配置包

nginx,docker快速部署包

2019-02-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除