2020年12月31日

k6 负载测试工具

摘要: k6 是基于golang 开发的,支持基于js 的负载脚本编写,同时支持har 转化为压测脚本,同时 包含了比较方便的压测metrics 可以方便grafana 的集成以及metrics 分析(基于influxdb)当然 k6 也提供了云端的模式可以使用,官方还有一张比较有意思的图(拳打jmeter 阅读全文

posted @ 2020-12-31 17:36 荣锋亮 阅读(1615) 评论(0) 推荐(0) 编辑

Production best practices: performance and reliability

摘要: 转自: https://expressjs.com/en/advanced/best-practice-performance.html Overview This article discusses performance and reliability best practices for Ex 阅读全文

posted @ 2020-12-31 17:34 荣锋亮 阅读(102) 评论(0) 推荐(0) 编辑

使用throng 运行express 应用

摘要: 参考了heroku的一个demo,同时集成了perf 环境准备 package.json { "name": "nodejs-throng", "version": "1.0.0", "main": "index.js", "license": "MIT", "dependencies": { "c 阅读全文

posted @ 2020-12-31 17:32 荣锋亮 阅读(145) 评论(0) 推荐(0) 编辑

使用throng 运行express 应用

摘要: 参考了heroku的一个demo,同时集成了perf 环境准备 package.json { "name": "nodejs-throng", "version": "1.0.0", "main": "index.js", "license": "MIT", "dependencies": { "c 阅读全文

posted @ 2020-12-31 13:27 荣锋亮 阅读(135) 评论(0) 推荐(0) 编辑

使用throng 加速nodejs 应用的并行执行能力

摘要: 使用throng 可以简化nodejs 的多cpu任务执行处理,代码简洁 基于worker_threads 也是一个不错的选择 参考使用 const throng = require('throng') throng(id => console.log(`Started worker ${id}`) 阅读全文

posted @ 2020-12-31 11:43 荣锋亮 阅读(240) 评论(0) 推荐(0) 编辑

导航