当前位置:网站首页>[mlflow Series 5] one stop open source testing platform metersphere

[mlflow Series 5] one stop open source testing platform metersphere

2020-11-10 18:26:22 Hongnai River bird

background

Due to the deployment of our company mlflow The need for service , And before mlflow And some of them are online , I did it myself , although mlflow Algorithm service is open source, perfect deployment ,
But here it comes to mlflow Service performance issues , That is, the service can support the largest QPS, Because I was busy before , So just use jmeter Do the pressure test , Of course, it can meet the requirements ,
But it's more difficult to operate :

  1. Download the corresponding jmeter tgz package , Unzip it to the target machine
  2. start-up bin/jmeter service , In the pop-up jconsole Set a series of parameters
  3. Upload generated jmx Test files to linux The server
  4. Because in general linux There's no graphical interface , So you have to turn it on CLI Mode to test
  5. You have to manually analyze the test report

This series of operations is very cumbersome , Because I have time recently , So we found an open source one-stop testing platform on the Internet MeterSphere

install

MeterSphere Is installed in Official website It's clear that , The documentation is clear, too
Let's analyze the key points : You have to install Docker and docker-compose

Use

Use in Official document Also very detailed
Let's analyze the key points :

 Insert picture description here
The maximum concurrency here is , You can adjust , The default is 50, Otherwise, it will affect the later use :

 Insert picture description here

If not adjusted , Set more than 50 when , You're going to report a mistake
The number of concurrent users here / Duration of pressure measurement Will be covered xml In file ThreadGroup.num_threads/ThreadGroup.ramp_time Value
there RPS The upper limit is set for pressure measurement rps ceiling
The following screenshot shows the following test report :
 Insert picture description here
 Insert picture description here
 Insert picture description here  Insert picture description here

Of course, you can also report the test With pdf Form export for display ,
Use it here , As a developer, I , I think it's good

版权声明
本文为[Hongnai River bird]所创,转载请带上原文链接,感谢