iamabear09 / __STUDY__prometheus-grafana

Promethous & Grafana Tool Study
0 stars 0 forks source link

nGrinder Study #8

Open iamabear09 opened 7 months ago

iamabear09 commented 7 months ago

nGrinder Component

Controller

Agent

Install

Docker Image https://hub.docker.com/r/ngrinder/controller

Controller

docker run -d 
-v ~/ngrinder-controller:/opt/ngrinder-controller \
--name controller \
-p 80:80 -p 16001:16001 \
-p 12000-12009:12000-12009 \
ngrinder/controller

a data folder

In order to keep the data persistently,

ports

Agent

we strongly recommend

other reason

나는 컴퓨터가 한 대 인데, 어떻게 다른 장치에서 agent container를 실행하라는 얘기지...?

iamabear09 commented 7 months ago

Virtual-User

Virtual Users


vuser limit



Process-and-Thread

processes and threads


Processes size


Thread size


Max Vuser setting we have some experiment how many vusers a agent can handle



thread-ramp-up

차근차근 부하를 올려가면서 테스트를 진행한다. 따라서 어느 시점부터 나의 Server가 견디지 못하는지 파악할 수 있다. 만약 Vuser가 계속 증가했는데, TPS는 증가하지 못하는 지점이 나오면 그 지점이 Server 견디지 못하는 지점이다.

iamabear09 commented 7 months ago

Groovy-Script

Groovy Script가 좋으니 이거 써라... 이런 말이다.



Groovy-Script-Structure

Groovy Script Structure


Create Goorvy Maven Project