-
Notifications
You must be signed in to change notification settings - Fork 0
20250117결과저장
yanggwangseong edited this page Jan 19, 2025
·
5 revisions
게시글 500 ~ 550 참여자 600 ~ 650 회원가입 400 ~ 420 AWS SDK 이미지 업로드
- 응답 시간이 너무 느리다.
- CPU 이용률이 너무 높다.
scenarios: {
ramping_requests: {
executor: "ramping-arrival-rate",
timeUnit: "1s",
stages: [
{ duration: "1m", target: 1000 },
{ duration: "1m", target: 0 },
],
preAllocatedVUs: 100, // 초기 VU
maxVUs: 230, // 필요에 따라 동적으로 추가
},
},
✓ articles status is 200
checks.........................: 100.00% 40603 out of 40603
data_received..................: 342 MB 2.8 MB/s
data_received_size.............: avg=7.84s min=7.75s med=7.85s max=7.92s p(90)=7.92s p(95)=7.92s
data_sent......................: 15 MB 127 kB/s
dropped_iterations.............: 19397 161.447112/s
http_req_blocked...............: avg=87.01µs min=1.2µs med=4.25µs max=54.92ms p(90)=15.83µs p(95)=30.16µs
http_req_connecting............: avg=70.72µs min=0s med=0s max=35.75ms p(90)=0s p(95)=0s
http_req_duration..............: avg=335.62ms min=19.62ms med=294.86ms max=13.31s p(90)=559.29ms p(95)=618.15ms
{ expected_response:true }...: avg=335.62ms min=19.62ms med=294.86ms max=13.31s p(90)=559.29ms p(95)=618.15ms
http_req_failed................: 0.00% 0 out of 40603
http_req_receiving.............: avg=1.53ms min=12.04µs med=135.58µs max=538.15ms p(90)=2.06ms p(95)=3.78ms
http_req_sending...............: avg=83.7µs min=3.08µs med=20.58µs max=79.23ms p(90)=77.37µs p(95)=150.82µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=334ms min=18.89ms med=293.83ms max=13.31s p(90)=557.35ms p(95)=615.8ms
http_reqs......................: 40603 337.95108/s
iteration_duration.............: avg=347.6ms min=30.84ms med=306.84ms max=13.32s p(90)=571.09ms p(95)=630.34ms
iterations.....................: 40603 337.95108/s
vus............................: 0 min=0 max=230
vus_max........................: 230 min=100 max=230
running (2m00.1s), 000/230 VUs, 40603 complete and 0 interrupted iterations
export const options = {
//discardResponseBodies: true, // 응답 본문을 무시 할 수 있는 옵션으로 `data_received` 크기가 너무 커서 아웃 바운드 요금 초과 방지
scenarios: {
ramping_requests: {
executor: "ramping-arrival-rate",
timeUnit: "1s",
stages: [
{ duration: "1m", target: 1000 },
{ duration: "1m", target: 0 },
],
preAllocatedVUs: 100, // 초기 VU
maxVUs: 250, // 필요에 따라 동적으로 추가
},
},
tags: {
testName: "prod-spike-participations-35",
testType: "spike",
component: "participations",
version: "1.0",
},
};
✓ participations status is 200
checks.........................: 100.00% 51652 out of 51652
data_received..................: 78 MB 649 kB/s
data_received_size.............: avg=1.19s min=514ms med=1.19s max=2.41s p(90)=2.33s p(95)=2.41s
data_sent......................: 21 MB 170 kB/s
dropped_iterations.............: 8347 69.55188/s
http_req_blocked...............: avg=69.07µs min=916ns med=4.25µs max=29.68ms p(90)=13.79µs p(95)=19.33µs
http_req_connecting............: avg=58.98µs min=0s med=0s max=29.56ms p(90)=0s p(95)=0s
http_req_duration..............: avg=188.7ms min=13.19ms med=145.54ms max=5.03s p(90)=435.32ms p(95)=513.32ms
{ expected_response:true }...: avg=188.7ms min=13.19ms med=145.54ms max=5.03s p(90)=435.32ms p(95)=513.32ms
http_req_failed................: 0.00% 0 out of 51652
http_req_receiving.............: avg=98.36µs min=9.12µs med=40.7µs max=222.17ms p(90)=124.08µs p(95)=186.06µs
http_req_sending...............: avg=40.68µs min=3.04µs med=18.7µs max=69.23ms p(90)=48.32µs p(95)=75.04µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=188.57ms min=13.08ms med=145.41ms max=5.03s p(90)=435.12ms p(95)=513.19ms
http_reqs......................: 51652 430.393398/s
iteration_duration.............: avg=200.07ms min=23.64ms med=156.73ms max=5.07s p(90)=446.95ms p(95)=524.74ms
iterations.....................: 51652 430.393398/s
vus............................: 0 min=0 max=250
vus_max........................: 250 min=100 max=250
running (2m00.0s), 000/250 VUs, 51652 complete and 0 interrupted iterations
export const options = {
//discardResponseBodies: true, // 응답 본문을 무시 할 수 있는 옵션으로 `data_received` 크기가 너무 커서 아웃 바운드 요금 초과 방지
scenarios: {
ramping_requests: {
executor: "ramping-arrival-rate",
timeUnit: "1s",
stages: [
{ duration: "1m", target: 1000 },
{ duration: "1m", target: 0 },
],
preAllocatedVUs: 100, // 초기 VU
maxVUs: 250, // 필요에 따라 동적으로 추가
},
},
tags: {
testName: "prod-spike-signup-51",
testType: "spike",
component: "signup",
version: "1.0",
},
};
✓ signup status is 201
checks.........................: 100.00% 38107 out of 38107
data_received..................: 14 MB 119 kB/s
data_received_size.............: avg=62.74ms min=60ms med=63ms max=65ms p(90)=63ms p(95)=63ms
data_sent......................: 9.8 MB 82 kB/s
dropped_iterations.............: 21892 182.431116/s
http_req_blocked...............: avg=82.16µs min=1.04µs med=4.66µs max=39ms p(90)=13.25µs p(95)=17.33µs
http_req_connecting............: avg=71.93µs min=0s med=0s max=38.85ms p(90)=0s p(95)=0s
http_req_duration..............: avg=447.79ms min=27.5ms med=538.06ms max=2.61s p(90)=710.26ms p(95)=761.93ms
{ expected_response:true }...: avg=447.79ms min=27.5ms med=538.06ms max=2.61s p(90)=710.26ms p(95)=761.93ms
http_req_failed................: 0.00% 0 out of 38107
http_req_receiving.............: avg=71.82µs min=7.91µs med=37.79µs max=60.19ms p(90)=121.65µs p(95)=183.83µs
http_req_sending...............: avg=56.65µs min=3.25µs med=22.33µs max=87.74ms p(90)=54.7µs p(95)=83.6µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=447.66ms min=27.33ms med=537.99ms max=2.61s p(90)=710.14ms p(95)=761.84ms
http_reqs......................: 38107 317.554474/s
iteration_duration.............: avg=459.49ms min=39.69ms med=549.62ms max=2.64s p(90)=722.17ms p(95)=774.12ms
iterations.....................: 38107 317.554474/s
vus............................: 0 min=0 max=250
vus_max........................: 250 min=100 max=250
running (2m00.0s), 000/250 VUs, 38107 complete and 0 interrupted iterations
ramping_requests ✓ [======================================] 000/250 VUs 2m0s 0002.89 iters/s
아래는 프로젝트 데이터베이스 설계 ERD입니다: