1. 搭建测试环境安装 1.1 下载并启动docker-compose容器 # 该 Docker Compose 中包含的容器有: # DataGen:数据生成器。容器启动后会自动开始生成用户行为数据,并发送到 Kafka 集群中。默认每秒生成 1000 条数据,持续生成约 3 小时。也可以更改 d ...
分类:
数据库 时间:
2021-04-28 11:43:18
阅读次数:
0
在打包时使用了UglifyJs压缩JS,但是UglifyJs无法解析ES6,才出现了上述问题。网上查询解决方案,这个方案是:打开build/webpack.base.config.js 文件,resolve部分加入该报错文件 { test: /\.js$/, loader: 'babel-loade ...
分类:
其他好文 时间:
2021-04-27 15:24:39
阅读次数:
0
性能测试的结果统计时我们一定会关注TPS,TPS代表的是每秒事务数,每个事务对应的是我们的请求。虽然JMeter能够帮我们把每个请求统计成一个事务,但有时候我们希望把多个操作统计成一个事务,JMeter也考虑到了这种需求,我们可以用个逻辑控制器中的事务控制器来完成。 一、添加事务控制器 二、事务控制 ...
分类:
其他好文 时间:
2021-04-27 15:03:19
阅读次数:
0
标记线可在图标随意位置绘制一条刻度,方便对数据进行参照对比。 默认情况下,横轴为 category 纵轴为连续的数值。所以标记线即为纵轴上对应某个值的横线。 如下来自 Echarts 官网文档中的示例展示了简单的标记线用法: option = { xAxis: { type: "category", ...
分类:
其他好文 时间:
2021-04-27 14:58:20
阅读次数:
0
Date ()是一个专门用来创建时间对象的,是一个复杂数据类型,具有读写属性 语法: var time = new Date() 返回值:当前终端的时间 // 1.创建当前时间对象 var time = new Date() // 2.创建指定日期的时间对象,至少传递两个参数,分别是:年,月,日,时 ...
分类:
Web程序 时间:
2021-04-27 14:57:46
阅读次数:
0
配置lvs-dr环境 master配置文件 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_conne ...
分类:
其他好文 时间:
2021-04-27 14:56:45
阅读次数:
0
TX2芯片为arm架构,因此在该架构下,ubuntu18.04系统需要更换arm架构的源。 # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic m ...
分类:
系统相关 时间:
2021-04-27 14:42:17
阅读次数:
0
select a.id,a.userid,c.openid from ko_answer_score a left join (select userid from ko_answer_log where answer_time > '2018-02-24 00:00:00' and answer_ ...
分类:
其他好文 时间:
2021-04-27 14:38:46
阅读次数:
0
/////////////////////////// 代码如下 <template> <div class="report-forms-page"> <div class="report-forms-main"> <div class="bottomForm"> <div style="margi ...
分类:
其他好文 时间:
2021-04-27 14:31:54
阅读次数:
0
using System; namespace EventDelegation { /// <summary> /// 事件参数类 /// </summary> public class EventDate : EventArgs { public int eventID; public int a ...