-
Notifications
You must be signed in to change notification settings - Fork 0
Develop #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #130
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -61,7 +61,7 @@ export const options = { | |||||
| }; | ||||||
|
|
||||||
| const CATEGORIES = ['KOREAN', 'JAPANESE', 'CHINESE', 'WESTERN', 'CAFE']; | ||||||
| const DISTRICTS = ['κ°λ¨κ΅¬', 'λ§ν¬κ΅¬', 'μ’ λ‘ꡬ', 'μ©μ°κ΅¬', 'μ±λꡬ']; | ||||||
| const DISTRICTS = ['GANGNAM', 'MAPO', 'JONGNO', 'YONGSAN', 'SEONGDONG']; | ||||||
|
|
||||||
| export default function () { | ||||||
| const isSpike = exec.scenario.name === 'event_spike'; | ||||||
|
|
@@ -87,6 +87,7 @@ export default function () { | |||||
| 'λͺ©λ‘ μ‘°ν 200': (r) => r.status === 200, | ||||||
| 'μλ΅ body μ‘΄μ¬': (r) => r.body && r.body.length > 0, | ||||||
| }); | ||||||
| if (!ok) console.log(`[ERROR] status=${res.status} url=${url} body=${res.body?.substring(0, 200)}`); | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. λΆν ν
μ€νΈ(νΉν 50 VU μ΄μμ Spike ν
μ€νΈ) μ€μ μ€ν¨ν λͺ¨λ μμ²μ λν΄
Suggested change
|
||||||
| errorRate.add(!ok); | ||||||
| }); | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νμ¬
appμλΉμ€μ λ©λͺ¨λ¦¬ μ νμ΄1000Mλ‘ μν₯λμκ³ ,prometheus(800M),kafka(600M) λ± λ€λ₯Έ μλΉμ€λ€μ λ©λͺ¨λ¦¬ μ νλ ν¨κ» ν¬κ² μ¦κ°νμ¬ μ 체 μλΉμ€μ λ©λͺ¨λ¦¬ μ ν ν©κ³κ° μ½ 3.5GBμ λ¬ν©λλ€.\n\nνμ§λ§ νμΌμ 10λ²μ§Έ λΌμΈ μ£Όμμλ μ¬μ νt3.smallμΈμ€ν΄μ€(λ©λͺ¨λ¦¬ 2GB)λ₯Ό κΈ°μ€μΌλ‘ ν μ€μ μ΄λΌκ³ λͺ μλμ΄ μμ΅λλ€. λ§μ½ μ€μ μ΄μ νκ²½μ΄ μ¬μ νt3.smallμΈμ€ν΄μ€μμ μ€ν μ€μ΄λΌλ©΄, 물리 λ©λͺ¨λ¦¬ λΆμ‘±μΌλ‘ μΈν΄ OOM(Out-Of-Memory) λ°μ λ° μ»¨ν μ΄λ κ°μ μ’ λ£κ° μΌμ΄λ μνμ΄ λ§€μ° λμ΅λλ€.\n\nμ΄μ μλ²μ μΈμ€ν΄μ€ μ€νμ΄ μ κ·Έλ μ΄λλμλ€λ©΄ 10λ²μ§Έ λΌμΈμ μ£Όμμ μ΅μ μ€νμ λ§κ² μμ ν΄ μ£Όμκ³ , κ·Έλ μ§ μλ€λ©΄ μ 체μ μΈ λ©λͺ¨λ¦¬ μ ν μ€μ μ λ€μ κ²ν ν΄ μ£ΌμΈμ.