码迷,mamicode.com
首页 > 其他好文 > 详细

JMeter一台机器可以支持多大的并发量

时间:2019-11-15 12:00:24      阅读:1426      评论:0      收藏:0      [点我收藏+]

标签:actor   stp   ring   lin   user   assert   asa   auth   backend   

Support for concurrent thread is basically depends on many factors like OS, free RAM and connections.

This is based on my experience If we follow the best practices as follow then we can achieve 350 ~ 500 concurrent users (web based application) and 900~1100 concurrent users (backend API) provided 8 GB RAM with 64-bit OS.

  • Use latest version of JMeter
  • Use correct number of Threads
  • Use script parameterization & correlations
  • Use CLI mode, disable/remove listeners, CSV out over XML, less assertions
  • Use variable sharing between threads & thread groups
  • Placement of Cookies, Authorization Manager
  • Don’t use functional mode
  • Don‘t modify jmeter.properties instead modify user.properties file
  • Don’t use Deprecated elements

 Note: If you observe CPU is crossing 80% then that’s not a good indication. You should minimize the concurrent users count and rerun the script.

JMeter一台机器可以支持多大的并发量

标签:actor   stp   ring   lin   user   assert   asa   auth   backend   

原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/11865250.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!