当前位置:网站首页>18-GuliMall 压力测试与性能监控
18-GuliMall 压力测试与性能监控
2022-08-09 21:54:00 【鸣鼓ming】
1.压力测试软件JMeter 安装
https://jmeter.apache.org/download_jmeter.cgi
下载图中蓝色选中区域对应的压缩包
解压运行 jmeter.bat 即可
2.JMeter 压测示例
1.添加线程组
2.添加 HTTP 请求
3.添加监听器
4.启动压测
5.查看分析结果
3.性能监控
1.jvm 内存模型
2.堆
3.jconsole 与 jvisualvm
Jdk 的两个小工具 jconsole、jvisualvm(推荐用它, 是升级版的 jconsole);通过命令行启动,可监控本地和 远程应用。远程应用需要配置
4.启动jvisualvm
1.启动jvisualvm
windows的命令行中输入命令
jvisualvm
2.安装插件方便查看 gc
如果 503 错误解决:
打开网址 https://visualvm.github.io/pluginscenters.html
cmd 输入java -version查看自己的 jdk 版本,找到对应的
我的java版本是1.8.0_45
点击对应链接, 复制如下图中的url
https://visualvm.github.io/archive/uc/8u40/updates.xml.gz
粘贴到配置中
这样就可以正常安装插件了
5.查看监控信息
4.监控指标
1.中间件指标
2.数据库指标
3.调优项
官方文档:https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BGBCIEFC
边栏推荐
- Shanghai Konan SmartRocket series product introduction (3): SmartRocket iVerifier computer interlocking system verification tool
- The kvm virtual machine cannot be started, NOT available, and the PV is larger than the partition
- “稚晖君”为2022昇腾AI创新大赛打call 期待广大开发者加入
- Leetcode 93 IP addresses
- Basic JSON usage
- Flask入门学习教程
- Synchronization lock synchronized traces the source
- STC8H开发(十五): GPIO驱动Ci24R1无线模块
- 你真的了解乐观锁和悲观锁吗?
- Domestic mobile phone manufacturers once fought for it, but now it is the first to collapse...
猜你喜欢
聊天尬死名场面,你遇到过吗?教你一键获取斗图表情包,晋升聊天达人
Presto Event Listener开发
Basic JSON usage
腾讯继续挥舞降本增效“大刀”,外包员工免费餐饮福利被砍了
STC8H Development (15): GPIO Drives Ci24R1 Wireless Module
十步以内,用小程序快速生成App!
《强化学习周刊》第57期:DL-DRL、FedDRL & Deep VULMAN
论文解读(DropEdge)《DropEdge: Towards Deep Graph Convolutional Networks on Node Classification》
任务流执行器是如何工作的?
Js fifteen interview questions (with answers)
随机推荐
PHP 2D array sorted by a field
“稚晖君”为2022昇腾AI创新大赛打call 期待广大开发者加入
TF generates uniformly distributed tensor
SecureCRT sets the timeout period for automatic disconnection
【EF】数据表全部字段更新与部分字段更新
【测试】语句覆盖,判定覆盖,条件覆盖,路径覆盖
STC8H开发(十五): GPIO驱动Ci24R1无线模块
String hashing (2014 SERC J question)
在“企业通讯录”的盲区,融云的边界与分寸
The round functions in the np, ceil function and floor function
深度剖析 Apache EventMesh 云原生分布式事件驱动架构
【stack】【queue】【priority_queue】【deque】Detailed explanation
Leetcode 93 复原IP地址
Blender程序化建模简明教程【PCG】
openGauss数据库基本操作(超详细)
宝塔实测-搭建LightPicture开源图床系统
STC8H开发(十五): GPIO驱动Ci24R1无线模块
Shanghai Konan SmartRocket series product introduction (3): SmartRocket iVerifier computer interlocking system verification tool
Deceptive Dice
In programming languages, the difference between remainder and modulo